From patchwork Tue Jan 17 05:54:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaechul Lee X-Patchwork-Id: 9519995 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9EE6560244 for ; Tue, 17 Jan 2017 05:55:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F4CB2846C for ; Tue, 17 Jan 2017 05:55:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 840912849B; Tue, 17 Jan 2017 05:55:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 402752846C for ; Tue, 17 Jan 2017 05:55:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cTMjv-0005qc-2H; Tue, 17 Jan 2017 05:55:27 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cTMjg-0004N7-9M for linux-arm-kernel@lists.infradead.org; Tue, 17 Jan 2017 05:55:14 +0000 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJW009MGTR89R00@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 17 Jan 2017 14:54:45 +0900 (KST) Received: from epsmges1p5.samsung.com (unknown [182.195.40.68]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20170117055444epcas1p4736635ce9262ca9f2b5b63b5b5f0d4ca~aeWEBgpbM2252022520epcas1p4Z; Tue, 17 Jan 2017 05:54:44 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id E5.22.04055.4A1BD785; Tue, 17 Jan 2017 14:54:44 +0900 (KST) Received: from epcpsbgm1new.samsung.com (u26.gpu120.samsung.co.kr [203.254.230.26]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20170117055444epcas1p4942aeca8896c9b81512d383cbbca4dbf~aeWDmiY0k2252022520epcas1p4Y; Tue, 17 Jan 2017 05:54:44 +0000 (GMT) X-AuditID: b6c32a39-f793d6d000000fd7-73-587db1a4e8bb Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id B2.0F.08931.3A1BD785; Tue, 17 Jan 2017 14:54:44 +0900 (KST) Received: from localhost.localdomain ([10.113.76.93]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJW00EYHTR30720@mmp2.samsung.com>; Tue, 17 Jan 2017 14:54:43 +0900 (KST) From: Jaechul Lee To: Dmitry Torokhov , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas Subject: [PATCH v7 1/3] input: Add support for the tm2 touchkey device driver Date: Tue, 17 Jan 2017 14:54:37 +0900 Message-id: <1484632479-3111-2-git-send-email-jcsing.lee@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1484632479-3111-1-git-send-email-jcsing.lee@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSa0wTQRSFnd1ud1ELm6o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x+FE7aJjzTrrVu+18KuMRDBybAxuFbh/zopcIpQDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrLIsWRmVeSWpSXmKPExsVy+t9jQd0lG2sjDPov8FpsP/KM1eL0p23s Fu+X9TBaXP/ynNVi/pFzrBaHF71gtDi+chazxZu3a5gs3u7vZrbof/ya2eL8+Q3sFpseX2O1 uPnpG6vF5V1z2CxmnN/HZLH0+kUmi9a9R9gtXn48weIg5LFm3hpGj52z7rJ7bFrVyeaxeUm9 x5Z+IK9vyypGj8+b5ALYo9xsMlITU1KLFFLzkvNTMvPSbZVCQ9x0LZQU8hJzU22VInR9Q4KU FMoSc0qBPCMDNODgHOAerKRvl+CW0fRCs+APT8WqvfPYGhhbuLsYOTkkBEwkbq5tZoawxSQu 3FvP1sXIxSEkMItRonn6UlYI5zujxO93H5lAqtgEtCT6l/SAVYkIHGWSuPR0LzOIwyxwnEni 3u8prCBVwgK+Eu9fnmMEsVkEVCWm/94J1MHBwSvgKtF3ih9inZzEzXOdYKs5Bdwkvlx6wgZi CwGVLJl8inkCI+8CRoZVjBKpBckFxUnpuYZ5qeV6xYm5xaV56XrJ+bmbGMFR9UxqB+PBXe6H GAU4GJV4eAsCaiOEWBPLiitzDzFKcDArifByrgQK8aYkVlalFuXHF5XmpBYfYjQFumsis5Ro cj4w4vNK4g1NzE3MjQ0szC0tTYyUxHkbZz8LFxJITyxJzU5NLUgtgulj4uCUamBs+rrvwjIF z5zZ7Zt/hdt+s5m/6+9BK7b7zzNNtlvUCTp5TLzY/3rv/79ZhwtWzrkWLvpBs/Pa67RgtWfM 76fpv6ljWmMQtWE9u+/nUrfqhoiocrY9TaUShQGO93oOrpLUDxZJiPL6EV0xNylpT9E1e/20 NUvvf1l5hEG1vqZRarb8lCwO1nNKLMUZiYZazEXFiQDplB/xwAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170117055444epcas1p4942aeca8896c9b81512d383cbbca4dbf X-Msg-Generator: CA X-Sender-IP: 203.254.230.26 X-Local-Sender: =?UTF-8?B?7J207J6s7LKgG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbUzUo7LGF7J6EKS/ssYXsnoQ=?= X-Global-Sender: =?UTF-8?B?SmFlQ2h1bCBMZWUbVGl6ZW4gUGxhdGZvcm0gTGFiLhtTYW1z?= =?UTF-8?B?dW5nIEVsZWN0cm9uaWNzG1NlbmlvciBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170117055444epcas1p4942aeca8896c9b81512d383cbbca4dbf X-RootMTR: 20170117055444epcas1p4942aeca8896c9b81512d383cbbca4dbf References: <1484632479-3111-1-git-send-email-jcsing.lee@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170116_215512_474243_34B68BA6 X-CRM114-Status: GOOD ( 15.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Jaechul Lee , linux-kernel@vger.kernel.org, Andi Shyti , Chanwoo Choi , beomho.seo@samsung.com, linux-input@vger.kernel.org, galaxyra@gmail.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the binding description of the tm2 touchkey device driver. Signed-off-by: Jaechul Lee Reviewed-by: Javier Martinez Canillas Reviewed-by: Andi Shyti Reviewed-by: Chanwoo Choi Acked-by: Rob Herring Acked-by: Krzysztof Kozlowski --- .../bindings/input/cypress,tm2-touchkey.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt diff --git a/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt new file mode 100644 index 0000000..635f62c --- /dev/null +++ b/Documentation/devicetree/bindings/input/cypress,tm2-touchkey.txt @@ -0,0 +1,27 @@ +Samsung tm2-touchkey + +Required properties: +- compatible: must be "cypress,tm2-touchkey" +- reg: I2C address of the chip. +- interrupt-parent: a phandle for the interrupt controller (see interrupt + binding[0]). +- interrupts: interrupt to which the chip is connected (see interrupt + binding[0]). +- vcc-supply : internal regulator output. 1.8V +- vdd-supply : power supply for IC 3.3V + +[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt + +Example: + &i2c0 { + /* ... */ + + touchkey@20 { + compatible = "cypress,tm2-touchkey"; + reg = <0x20>; + interrupt-parent = <&gpa3>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + vcc-supply=<&ldo32_reg>; + vdd-supply=<&ldo33_reg>; + }; + };