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: 9494565 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 121FB606A9 for ; Tue, 3 Jan 2017 07:58:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05EAA2015F for ; Tue, 3 Jan 2017 07:58:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EEA6F26B39; Tue, 3 Jan 2017 07:58:36 +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 6ED032015F for ; Tue, 3 Jan 2017 07:58:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751959AbdACH5z (ORCPT ); Tue, 3 Jan 2017 02:57:55 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:41894 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754787AbdACH5g (ORCPT ); Tue, 3 Jan 2017 02:57:36 -0500 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>; 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 Cc: Jaechul Lee , Andi Shyti , Chanwoo Choi , beomho.seo@samsung.com, galaxyra@gmail.com, 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 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+LIzCtJLc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1uZRMYvj2IV1NSYinOSDTUYi4qTgQA7HZZnJYDAAA= 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> 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 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>; + }; + };