From patchwork Fri Dec 7 10:58:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 1009354 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jz2VwsMB"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43B8bw600Xz9s7T for ; Fri, 7 Dec 2018 21:59:08 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725994AbeLGK7H (ORCPT ); Fri, 7 Dec 2018 05:59:07 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:38285 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725997AbeLGK6Y (ORCPT ); Fri, 7 Dec 2018 05:58:24 -0500 Received: by mail-lj1-f193.google.com with SMTP id c19-v6so3180838lja.5; Fri, 07 Dec 2018 02:58:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5fLoiTVe1PGD4LFoFRq2Qv/NjAagyuB4tnQwb7zM8mU=; b=jz2VwsMBWb5hlNiLzcPHyV0V3ZkNOQfTivPsceawtsb77KnNBPmTdgK9ypS+JwZCs8 pC5Enzfcg5bCmBWn9SmZ0JttUtLO5f64B4Hbge1jGrKZJUVePZUWVDJQhTbZoT6T6bhy twxhf2xfZvDsykOeaP0MQybTwgaCj51syHibQ8ngcK85s5YRJKS3mPS9ciLhUoPS8UQU aI3Y6g+ZrEB7d/qkJ2bn0j2kpdr2SIGgwAmjIEjz/h0FS3sRpLy7vfytBS6re9KY3h1z gSMwNY3w85ZLNYnKWYhe8IrxopWGkt569JvTh/MPxAAD5EKjmD9Ll9GjZw2J+aLn0ESm kCIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5fLoiTVe1PGD4LFoFRq2Qv/NjAagyuB4tnQwb7zM8mU=; b=MeRBqVskgLULx3thZ9cRKRMCAQi5OHmp54UFnfl6kxEDUiae9dv5WEHcfiOMu2lGpI k2dvBimj+Oc/2VDmWjqMBSS3FhtpP6mn8ypP/umrREXKXwW4YfHEfK7wfuk0EveiJg5T RJQ4ZIfKpaRJ5T3QedfZsoH70Fp54oPNfc0L8DGby4JYmKueJnie/vDpTINvw5EX7V/C gwQNfl7aWryio6kBuQaFa/ioPhi0loPhXNeUzFW6WMQFY37Hk/BsEUtrWqgdmEQatMYZ rPY06Q6E2F1FP/ZjGCgEMPTiNdoj+WuSrk0wnQg7OcdYKviTlvffxYvpl8rHnUwXk78X 3++g== X-Gm-Message-State: AA+aEWaXEWtHrju8Q1xyoOwW22ddQE/FBBGc4l0hQUGk3Rlkdhs9JFaf 20yg7CBIs0If6srDuCT/f4s= X-Google-Smtp-Source: AFSGD/Wp3twNS6KmHvKQqanoVkO+Bpca1OYp/kk4YFerTEt8UoDLUwDydymm1lkloM1/tEKjA8nXQw== X-Received: by 2002:a2e:b04f:: with SMTP id d15-v6mr1163887ljl.3.1544180302504; Fri, 07 Dec 2018 02:58:22 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:74d5:51ba:2673:f3f4]) by smtp.googlemail.com with ESMTPSA id a20-v6sm523362ljf.28.2018.12.07.02.58.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 02:58:21 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, simon@lineageos.org Subject: [PATCH 2/8] Input: dt-bindings: tm2-touchkey: Add support for midas touchkey Date: Fri, 7 Dec 2018 11:58:05 +0100 Message-Id: <20181207105811.1831-3-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> References: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Simon Shields Document compatible for midas touchkey. Signed-off-by: Simon Shields Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- .../devicetree/bindings/input/cypress,tm2-touchkey.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt index 0c252d9306da..dfb3b9f0ee40 100644 --- a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt +++ b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt @@ -1,7 +1,9 @@ Samsung tm2-touchkey Required properties: -- compatible: must be "cypress,tm2-touchkey" +- compatible: + * "cypress,tm2-touchkey" - for the touchkey found on the tm2 board + * "cypress,midas-touchkey" - for the touchkey found on midas boards - reg: I2C address of the chip. - interrupts: interrupt to which the chip is connected (see interrupt binding[0]). From patchwork Fri Dec 7 10:58:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 1009353 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ERfc6a36"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43B8bd6hfQz9s47 for ; Fri, 7 Dec 2018 21:58:53 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726121AbeLGK6b (ORCPT ); Fri, 7 Dec 2018 05:58:31 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:39161 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726100AbeLGK6a (ORCPT ); Fri, 7 Dec 2018 05:58:30 -0500 Received: by mail-lf1-f66.google.com with SMTP id n18so2703234lfh.6; Fri, 07 Dec 2018 02:58:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hU25609CTMwaZL7M276wpeBmUwTI5685ZpsMHwHFloA=; b=ERfc6a36IX4ymThyajYuTYb4IV4AKP8KDgn+DMNKhc91iBDztnwLGKiXpd3oITtezP CH5Nk+U92gsdRjmthkAvwCtg3T7kiynGW8pdrqrQyfNsFON+adr55J87JNl8etKGt1Vp QQ4ObIX1MbtekNlaRZsD5lctaaj9Vx6kVvjZ5vJTg2/T7U3qRvYNhS8ktCN8D2W0FWKy 03O2wlyWhfIDf4JcNnQH6WKMvkwUIT5b8HraK49VCho1nlOX9qydGaySeTb7+HwLKHD2 L2M8OM7qtSMll+EUMciFAN0+SsnBuaIzd+dSZf2l+eVfomNOOK/6XcryRumnhdA9bFrU AN8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hU25609CTMwaZL7M276wpeBmUwTI5685ZpsMHwHFloA=; b=klTkexfs6T5vayOOx11pFYMb6Jz2BYynFYeatYUN0MISfzlvAxHhD49+IV2uYe/Ore D+4AEtRMKVoNoZW3IKQNHfKX6D/01JAROW6uHN0mM+/wEfg4dXa4q5a9khFSnUpCCih7 Iv+wLFl0fRvYVk+Tx4FupWtMCU+2jiV/7eF2Xf6v9cr4d8HN2xDJFnpv2rJAumCLmqgH YKfAVoU+6DKkOsmZA/vSxxYfmWNpZvZcTrikTrOrvEiAxDYDFSYxIM7jdl9acj7TtChG jl3BsiOfZWV5B9yHMGo4xrBIyeopFeGjE0i6Op/57Bp8hfeXPdhrlMxLrSDweYlFeV9d /4nw== X-Gm-Message-State: AA+aEWbSdRvObAfQ/CO1cV2rLE3OPVDKmNgGVmDIZxHOLi78LGWq5x9f mwSKDlIvQdeQfxeOqNg3HKQ= X-Google-Smtp-Source: AFSGD/W80DoRSLcZ4id9JccYo5RbZOQgrClq+v+O8EbzS1VIL/NAbYAq5NKSIOJ4VmOrM4wr8Ib59A== X-Received: by 2002:ac2:4116:: with SMTP id b22mr1080137lfi.19.1544180308024; Fri, 07 Dec 2018 02:58:28 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:74d5:51ba:2673:f3f4]) by smtp.googlemail.com with ESMTPSA id a20-v6sm523362ljf.28.2018.12.07.02.58.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 02:58:27 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, simon@lineageos.org Subject: [PATCH 6/8] Input: dt-bindings: tm2-touchkey: Document new keycodes property Date: Fri, 7 Dec 2018 11:58:09 +0100 Message-Id: <20181207105811.1831-7-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> References: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jonathan Bakker Document new optional property for setting custom keycodes. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- .../devicetree/bindings/input/cypress,tm2-touchkey.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt index dfb3b9f0ee40..3b54d997b8de 100644 --- a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt +++ b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt @@ -10,6 +10,9 @@ Required properties: - vcc-supply : internal regulator output. 1.8V - vdd-supply : power supply for IC 3.3V +Optional properties: +- keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK + [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt Example: @@ -23,5 +26,6 @@ Example: interrupts = <2 IRQ_TYPE_EDGE_FALLING>; vcc-supply=<&ldo32_reg>; vdd-supply=<&ldo33_reg>; + keycodes = /bits/ 8 ; }; }; From patchwork Fri Dec 7 10:58:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pawe=C5=82_Chmiel?= X-Patchwork-Id: 1009352 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="edA8xuaB"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43B8bY67Pmz9s47 for ; Fri, 7 Dec 2018 21:58:49 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726141AbeLGK6e (ORCPT ); Fri, 7 Dec 2018 05:58:34 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:40413 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726126AbeLGK6d (ORCPT ); Fri, 7 Dec 2018 05:58:33 -0500 Received: by mail-lj1-f193.google.com with SMTP id n18-v6so3170581lji.7; Fri, 07 Dec 2018 02:58:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YPVI7ddGXHL/sI3LM7P/pieE7PZRuOllK+/qgFw2o3c=; b=edA8xuaBfJ7ZjqT6mf607UJU6PslZiLYY94/NRu4lJykOjbjR0Vjpx8VZmniSLwJFH e3QL6gTdR2n0mWP7fWbCJvrmZynofHOLWogzsUrlD/J+azJ2UDbYSpbI3SeO7fs+WEfJ 1k8n0y/6soev/AFRKMsVghr3gbhW64LND1+xA+wQRQAqn7aH6O8ILtrCtCHqMgE+K5yR yUgnXjrcFyEFQLCA/LUISRkKZvKbGoIj3U0aGNA4JRYXajwCsGzXc9cy0VmxY5wyC3d8 3aEEGv6AdttyMadg7JZCOjhnSEID7r3T9H/0l8GgAJMmqBiR3tYlarhasMEy4eIkb0a0 Q1sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YPVI7ddGXHL/sI3LM7P/pieE7PZRuOllK+/qgFw2o3c=; b=Y6heh3JhVV1NdDEk7UdUpt+jW4/qNYE1LQMSoinpKqvPAkAkqv6cuadrtlawcld6Ip gLQmasOY26dhJlcd62fLPEQEiniyFE3nkt6WVpYbD/591woIawZNjFmH6llNe9Ceb/n2 9F7vKrMFTkRQ/OMDvUMPKLt804zQLPK0tAjto7xrDmgEtjJptYMMWZl3E0822UeucQqK 4blhmaDLhBJEeD/tGNXrl/lPOdCeaXcate24EmV9iVNejmqcr7eH4KXECOK8SVAQrpse GLBwJSS3KZ0Khp1IJFMnVnC36rsY5mfi0Bd2FOpebUucnxb+69HQILcfaXaMtEEsB4eT LybQ== X-Gm-Message-State: AA+aEWaNHQ2nLX6Y+qTt499g8MlGfrC1bglUy2npr6OgSPSrsQ+qgtCk OUWKzNSUa8qMTjwCfojPmes= X-Google-Smtp-Source: AFSGD/Vqf5bmnnG/s/gAGo+cvOvunecLn0S1Vx0OD2bMUQby6DWb9CWFXzTsdJw93oSdG2oKwIjqQA== X-Received: by 2002:a2e:458b:: with SMTP id s133-v6mr1027901lja.170.1544180310849; Fri, 07 Dec 2018 02:58:30 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:74d5:51ba:2673:f3f4]) by smtp.googlemail.com with ESMTPSA id a20-v6sm523362ljf.28.2018.12.07.02.58.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 02:58:30 -0800 (PST) From: =?utf-8?q?Pawe=C5=82_Chmiel?= To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, pawel.mikolaj.chmiel@gmail.com, xc-racer2@live.ca, simon@lineageos.org Subject: [PATCH 8/8] Input: dt-bindings: tm2-touchkey: Add support for aries touchkey Date: Fri, 7 Dec 2018 11:58:11 +0100 Message-Id: <20181207105811.1831-9-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> References: <20181207105811.1831-1-pawel.mikolaj.chmiel@gmail.com> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jonathan Bakker Document compatible for aries touchkey. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt index 3b54d997b8de..c518125d16f5 100644 --- a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt +++ b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt @@ -4,6 +4,7 @@ Required properties: - compatible: * "cypress,tm2-touchkey" - for the touchkey found on the tm2 board * "cypress,midas-touchkey" - for the touchkey found on midas boards + * "cypress,aries-touchkey" - for the touchkey found on aries boards - reg: I2C address of the chip. - interrupts: interrupt to which the chip is connected (see interrupt binding[0]).