From patchwork Fri Jan 6 13:43:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9501007 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 434BF606E0 for ; Fri, 6 Jan 2017 13:47:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A6C5284AE for ; Fri, 6 Jan 2017 13:47:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C7DB284C4; Fri, 6 Jan 2017 13:47:32 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5546284AE for ; Fri, 6 Jan 2017 13:47:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753104AbdAFNrA (ORCPT ); Fri, 6 Jan 2017 08:47:00 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:52886 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753633AbdAFNqW (ORCPT ); Fri, 6 Jan 2017 08:46:22 -0500 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJD02DXN25A2D90@mailout2.samsung.com>; Fri, 06 Jan 2017 22:43:58 +0900 (KST) Received: from epsmges1p1.samsung.com (unknown [182.195.40.67]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20170106134357epcas1p2c30c2720b68960c69778a2331f6d53a7~XMpmUV-FI1123811238epcas1p2g; Fri, 6 Jan 2017 13:43:57 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id D5.75.05883.D1F9F685; Fri, 6 Jan 2017 22:43:57 +0900 (KST) Received: from epcpsbgm1new.samsung.com (u26.gpu120.samsung.co.kr [203.254.230.26]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20170106134356epcas1p1758fadaa2b12ad29d90e2da525456a28~XMplPCTgF1163011630epcas1p1O; Fri, 6 Jan 2017 13:43:56 +0000 (GMT) X-AuditID: b6c32a35-f799b6d0000016fb-75-586f9f1d3666 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 35.11.28252.B1F9F685; Fri, 6 Jan 2017 22:43:56 +0900 (KST) Received: from gangnam.samsung ([10.113.62.47]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJD003BE25576C0@mmp2.samsung.com>; Fri, 06 Jan 2017 22:43:55 +0900 (KST) From: Andi Shyti To: Dmitry Torokhov , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , Chanwoo Choi , Beomho Seo Cc: linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Jaechul Lee , Andi Shyti , Andi Shyti , Jaechul Lee Subject: [PATCH v5 3/5] input: Add support for the tm2 touchkey device driver Date: Fri, 06 Jan 2017 22:43:48 +0900 Message-id: <20170106134350.32428-4-andi.shyti@samsung.com> X-Mailer: git-send-email 2.11.0 In-reply-to: <20170106134350.32428-1-andi.shyti@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzWSeUwTQ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0v/XL8u6p33NhOhpaIOTwzBzeL/H8gDHgengMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsVy+t9jQV2Z+fkRBp+38FlsP/KM1WLxj+dM Fqc/bWO3eL+sh9Hi+pfnrBbzj5xjtTi86AWjxfGVs5gt3rxdw2Txdn83s0X/49fMFufPb2C3 2PT4GqvFzU/fWC0u75rDZjHj/D4mi6XXLzJZtO49wm7x8uMJFgdhjzXz1jB6XF/yidlj56y7 7B6bVnWyeWxeUu+xpR/I69uyitHj8ya5AI4oN5uM1MSU1CKF1Lzk/JTMvHRbpdAQN10LJYW8 xNxUW6UIXd+QICWFssScUiDPyAANODgHuAcr6dsluGXMO/CEpWAbb8XuSx9YGxi3c3cxcnJI CJhILPm1nR3CFpO4cG89G4gtJDCLUWL5BtsuRi4g+yOjxNstt5hBEmwCmhJNt3+wgSREBCYx SzRf7mUESTALbGOS6HiuBWILC/hKvHl+FKiIg4NFQFWif7sMSJhXwFpiV/cRZohl8hK72i6y gpRwCthIHL6WDLHXWuLiw+OMExh5FzAyrGKUSC1ILihOSs81zEst1ytOzC0uzUvXS87P3cQI jrJnUjsYD+5yP8QowMGoxMP7IDw/Qog1say4MvcQowQHs5II75w5QCHelMTKqtSi/Pii0pzU 4kOMpkBnTWSWEk3OByaAvJJ4QxNzE3NjAwtzS0sTIyVx3sbZz8KFBNITS1KzU1MLUotg+pg4 OKUaGAtO7V60du/WrPclvH/jDqifCvVMnNS5/0CYzOzDRl6za0pd+ROrVZ36pc6c2lFbcMrG yNcpz0k2NGx9xqkXqdtaRO7EcT5fteV4TpJARvWNSU1ZHxuz1QMf/lgndCJtnuXCJV8OLJP6 ZsFx3vqlf7XlI5UPa5SPVTKwWE0zijnr1VL8YUW8mxJLcUaioRZzUXEiAP3xDh/IAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170106134356epcas1p1758fadaa2b12ad29d90e2da525456a28 X-Msg-Generator: CA X-Sender-IP: 203.254.230.26 X-Local-Sender: =?UTF-8?B?7JWI65SUG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLzthLAp?= =?UTF-8?B?G+yCvOyEseyghOyekBvssYXsnoQ=?= X-Global-Sender: =?UTF-8?B?QW5kaSBTaHl0aRtUaXplbiBQbGF0Zm9ybSBMYWIuG1NhbXN1?= =?UTF-8?B?bmcgRWxlY3Ryb25pY3MbU2VuaW9yIEVuZ2luZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG1NUQUYbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170106134356epcas1p1758fadaa2b12ad29d90e2da525456a28 X-RootMTR: 20170106134356epcas1p1758fadaa2b12ad29d90e2da525456a28 References: <20170106134350.32428-1-andi.shyti@samsung.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jaechul Lee 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 Acked-by: Rob Herring Acked-by: Krzysztof Kozlowski Signed-off-by: Andi Shyti Reviewed-by: Chanwoo Choi --- .../bindings/input/samsung,tm2-touchkey.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt diff --git a/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt b/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt new file mode 100644 index 000000000000..4de1af0f0a37 --- /dev/null +++ b/Documentation/devicetree/bindings/input/samsung,tm2-touchkey.txt @@ -0,0 +1,27 @@ +Samsung tm2-touchkey + +Required properties: +- compatible: must be "samsung,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 = "samsung,tm2-touchkey"; + reg = <0x20>; + interrupt-parent = <&gpa3>; + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; + vcc-supply=<&ldo32_reg>; + vdd-supply=<&ldo33_reg>; + }; + };