From patchwork Fri Jan 6 11:41:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9500807 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 336F6606E1 for ; Fri, 6 Jan 2017 11:45:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20475283F4 for ; Fri, 6 Jan 2017 11:45:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14F5228413; Fri, 6 Jan 2017 11:45:56 +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 B8E0E283F9 for ; Fri, 6 Jan 2017 11:45:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935321AbdAFLmD (ORCPT ); Fri, 6 Jan 2017 06:42:03 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:48202 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932198AbdAFLl3 (ORCPT ); Fri, 6 Jan 2017 06:41:29 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJC00IXPWGY3S30@mailout3.samsung.com>; Fri, 06 Jan 2017 20:41:22 +0900 (KST) Received: from epsmges5p1.samsung.com (unknown [182.195.40.68]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20170106114121epcas1p44d06972efd63f91dc40cd9dad24f9b4d~XK_j0C6RI0923709237epcas1p4N; Fri, 6 Jan 2017 11:41:21 +0000 (GMT) Received: from epcas5p4.samsung.com ( [182.195.41.42]) by epsmges5p1.samsung.com (EPCPMTA) with SMTP id 68.E6.31243.1628F685; Fri, 6 Jan 2017 20:41:21 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20170106114120epcas5p299b63311b3c55738537a40486f1462d8~XK_i_ZszX2546225462epcas5p2j; Fri, 6 Jan 2017 11:41:20 +0000 (GMT) X-AuditID: b6c32a2c-f79ad6d000007a0b-f5-586f8261ebb1 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 01.BE.28332.0628F685; Fri, 6 Jan 2017 20:41:20 +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 <0OJC009W6WGS7Y30@mmp2.samsung.com>; Fri, 06 Jan 2017 20:41:20 +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 v4 3/5] input: Add support for the tm2 touchkey device driver Date: Fri, 06 Jan 2017 20:41:12 +0900 Message-id: <20170106114114.19321-4-andi.shyti@samsung.com> X-Mailer: git-send-email 2.11.0 In-reply-to: <20170106114114.19321-1-andi.shyti@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplk+LIz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/XRHsL6o2KV7tYNag2pD8/dU6JpTgj0VCLuag4EQDXRD1HoAMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOIsWRmVeSWpSXmKPExsVy+t9jQd2EpvwIg+NbjSy2H3nGarH4x3Mm i9OftrFbvF/Ww2hx/ctzVov5R86xWhxe9ILR4vjKWcwWb96uYbJ4u7+b2aL/8Wtmi/PnN7Bb bHp8jdXi5qdvrBaXd81hs5hxfh+TxdLrF5ksWvceYbd4+fEEi4Owx5p5axg9ri/5xOyxc9Zd do9NqzrZPDYvqffY0g/k9W1ZxejxeZNcAEeUm01GamJKapFCal5yfkpmXrqtUmiIm66FkkJe Ym6qrVKErm9IkJJCWWJOKZBnZIAGHJwD3IOV9O0S3DIavq5jL2jlrTg8eRJTA2M3dxcjJ4eE gInE7hXLWCFsMYkL99azgdhCArMYJRY9VO1i5AKyPzJKrGp4wASSYBPQlGi6/YMNJCEiMIlZ ovlyLyNIgllgG5NEx3MtEFtYwFfi9u5JYFNZBFQlrnY/YAaxeQWsJfrv7GSH2CYvsavtIlgN p4CNxNtl/UwQm60llj3ayTqBkXcBI8MqRonUguSC4qT0XKO81HK94sTc4tK8dL3k/NxNjOBI eya9g/HwLvdDjAIcjEo8vBFeeRFCrIllxZW5hxglOJiVRHiTGvIjhHhTEiurUovy44tKc1KL DzGaAh02kVlKNDkfmATySuINTcxNzI0NLMwtLU2MlMR5G2c/CxcSSE8sSc1OTS1ILYLpY+Lg lGpg1F3JP0d77eq6H65tk/03memtKLLZKnSxpvnWJNt0ZR1uq+Dzu6SsZme8PVS0tkvnrMSf Wo6YByfNjxTYR/ZeTX1rGPBPrbDQe0LA8djpbhKGLPxNX1Zmsq5nMK30v3A85i+72bwLWa/2 K9knvHS5e151ao2l0xqjK26bzzz5sov1KVP1gjv8SizFGYmGWsxFxYkAeJ1eR8oCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170106114120epcas5p299b63311b3c55738537a40486f1462d8 X-Msg-Generator: CA X-Sender-IP: 203.254.230.27 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: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-HopCount: 7 X-CMS-RootMailID: 20170106114120epcas5p299b63311b3c55738537a40486f1462d8 X-RootMTR: 20170106114120epcas5p299b63311b3c55738537a40486f1462d8 References: <20170106114114.19321-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 Signed-off-by: Andi Shyti Acked-by: Krzysztof Kozlowski --- .../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>; + }; + };