From patchwork Tue Jan 3 07:57:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaechul Lee X-Patchwork-Id: 9494579 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 20AFC606A9 for ; Tue, 3 Jan 2017 07:59:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 145252015F for ; Tue, 3 Jan 2017 07:59:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 08FA5223A6; Tue, 3 Jan 2017 07:59:23 +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 AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 847452015F for ; Tue, 3 Jan 2017 07:59:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cOJyy-0002wm-9D; Tue, 03 Jan 2017 07:58:08 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cOJym-0002rW-Pp for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2017 07:57:57 +0000 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJ702G7123YP730@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2017 16:57:34 +0900 (KST) Received: from epsmges5p5.samsung.com (unknown [182.195.40.66]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20170103075734epcas1p25b10762128d269791484397f88665f71~WM-T0MM8U2640326403epcas1p20; Tue, 3 Jan 2017 07:57:34 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p5.samsung.com (EPCPMTA) with SMTP id 5F.5F.12277.E695B685; Tue, 3 Jan 2017 16:57:34 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20170103075733epcas5p47dff8d21854938b2439c9843d91bc301~WM-S4FgbL2886428864epcas5p4F; Tue, 3 Jan 2017 07:57:33 +0000 (GMT) X-AuditID: b6c32a59-f79486d000002ff5-18-586b596eccf4 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id DF.86.28332.D695B685; Tue, 3 Jan 2017 16:57:33 +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 <0OJ700K0423HBR30@mmp2.samsung.com>; Tue, 03 Jan 2017 16:57:32 +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 1/4] input: Add support for the tm2 touchkey device driver Date: Tue, 03 Jan 2017 16:57:14 +0900 Message-id: <1483430237-26823-2-git-send-email-jcsing.lee@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1483430237-26823-1-git-send-email-jcsing.lee@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmk+LIzCtJLcpLzFFi42LZdlhTXTcvMjvCYGG/uMX2I89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ZZnJYDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHIsWRmVeSWpSXmKPExsVy+t9jQd3cyOwIg9ZecYvtR56xWpz+tI3d 4v2yHkaL61+es1rMP3KO1eLwoheMFsdXzmK2ePN2DZPF2/3dzBb9j18zW5w/v4HdYtPja6wW Nz99Y7W4vGsOm8WM8/uYLJZev8hk0br3CLvFy48nWByEPNbMW8PosXPWXXaPTas62Tw2L6n3 2NIP5PVtWcXo8XmTXAB7lJtNRmpiSmqRQmpecn5KZl66rVJoiJuuhZJCXmJuqq1ShK5vSJCS QlliTimQZ2SABhycA9yDlfTtEtwyFi99xFLwl6vi5ZUe9gbG+ZxdjBwcEgImEkfvhnQxcgKZ YhIX7q1n62Lk4hASmMUo8fPLPnYI5zujxM6bi1hAqtgEtCT6l/SAVYkIHGWSuPR0LzOIwyxw nEni3u8prCBVwgJeEove7WAEsVkEVCV2rrgK1s0r4Cax8Oo1doh9chI3z3Uyg9icAu4Sc14+ BLOFgGomHHjBPIGRdwEjwypGidSC5ILipPRco7zUcr3ixNzi0rx0veT83E2M4Lh6Jr2D8fAu 90OMAhyMSjy8CRLZEUKsiWXFlbmHGCU4mJVEeEtDgEK8KYmVValF+fFFpTmpxYcYTYEOm8gs JZqcD4z5vJJ4QxNzE3NjAwtzS0sTIyVx3sbZz8KFBNITS1KzU1MLUotg+pg4OKUaGCct7U9v FZtgLxUocpXXdOO7lk+v0z9FTtSdmPvdJ5En8Rq/yn+2Oer+q9MXnf2eY5u1x0Gmbea6KY9n HDmddaUxUNvyWn/lI5mMax8XRLfkT3gmPvmm6WPrFhstrQm/1C7slxLZ//R81SMJU9P+9Jff 7xz8crhYXeivsF5GkGThwhUTG/R2BCuxFGckGmoxFxUnAgB+IL+LwQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170103075733epcas5p47dff8d21854938b2439c9843d91bc301 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 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: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170103075733epcas5p47dff8d21854938b2439c9843d91bc301 X-RootMTR: 20170103075733epcas5p47dff8d21854938b2439c9843d91bc301 References: <1483430237-26823-1-git-send-email-jcsing.lee@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170102_235757_049350_C736215D X-CRM114-Status: GOOD ( 15.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 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 Acked-by: Rob Herring --- .../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 0000000..4de1af0 --- /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>; + }; + };