From patchwork Fri Jan 6 11:41:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9500813 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 D3E3D606E1 for ; Fri, 6 Jan 2017 11:46:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C06C4283F9 for ; Fri, 6 Jan 2017 11:46:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4D4428413; Fri, 6 Jan 2017 11:46:14 +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 6A5E2283F9 for ; Fri, 6 Jan 2017 11:46:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932543AbdAFLmC (ORCPT ); Fri, 6 Jan 2017 06:42:02 -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 S1755185AbdAFLlY (ORCPT ); Fri, 6 Jan 2017 06:41:24 -0500 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJC008XNWGX7H50@mailout3.samsung.com>; Fri, 06 Jan 2017 20:41:21 +0900 (KST) Received: from epsmges5p4.samsung.com (unknown [182.195.40.64]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20170106114121epcas1p1514b056d42bc4e8c550981408dde387f~XK_jsH7xU3196431964epcas1p1C; Fri, 6 Jan 2017 11:41:21 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p4.samsung.com (EPCPMTA) with SMTP id 98.DB.06849.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 20170106114121epcas5p26862de873ae8efb2102701c6ac452a6e~XK_jNP9JQ2545825458epcas5p2l; Fri, 6 Jan 2017 11:41:21 +0000 (GMT) X-AuditID: b6c32a58-f79726d000001ac1-72-586f8261ae4f Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 72.BE.28332.0628F685; Fri, 6 Jan 2017 20:41:21 +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 5/5] arm64: dts: exynos: Add tm2 touchkey node Date: Fri, 06 Jan 2017 20:41:14 +0900 Message-id: <20170106114114.19321-6-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+NgFuphk+LIz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fSMi3vgw4u/d5jolluKMREMt5qLiRACN+gDRnwMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOIsWRmVeSWpSXmKPExsVy+t9jQd3EpvwIgzf/mC22H3nGarH4x3Mm i9OftrFbvF/Ww2hx/ctzVov5R86xWhxe9ILR4vjKWcwWb96uYbJ4u7+b2aL/8Wtmi/PnN7Bb bHp8jdXi5qdvrBaXd81hs5hxfh+TxdLrF5ksWvceYbd4+fEEi4Owx5p5axg9ri/5xOyxc9Zd do9NqzrZPDYvqffY0g/k9W1ZxejxeZNcAEeUm01GamJKapFCal5yfkpmXrqtUmiIm66FkkJe Ym6qrVKErm9IkJJCWWJOKZBnZIAGHJwD3IOV9O0S3DJa//eyFNznqPix6SFrA+MW9i5GTg4J AROJO0sOMkLYYhIX7q1nA7GFBGYxSkyf49DFyAVkf2SUWNXwgAkkwSagKdF0+wcbSEJEYBKz RPPlXrBuZoFtTBIdz7VAbGEBR4lr966CbWARUJV4v2kdmM0rYC3R3fSfBWKbvMSutousIDan gI3E22X9TBCbrSWWPdrJOoGRdwEjwypGidSC5ILipPRco7zUcr3ixNzi0rx0veT83E2M4Eh7 Jr2D8fAu90OMAhyMSjy8EV55EUKsiWXFlbmHGCU4mJVEeJMa8iOEeFMSK6tSi/Lji0pzUosP MZoCHTaRWUo0OR+YBPJK4g1NzE3MjQ0szC0tTYyUxHkbZz8LFxJITyxJzU5NLUgtgulj4uCU amBsXHKrq9dn4/mF24zUCnmPtOVy6LJ93JS1bLUh+2n7TcxJh6Xd/t6M56t8duMNq4KVrfFx 5m6GtJnvvc5zOpT+yPj3UWLGKa11z3xT5ov9e/K4TFQ5Z4py5Cl2w3qF/rNS3E9lFtXPrp47 p56D96hB4qMpRlrnK4M0mbZZLZqb2cPk93e//D8lluKMREMt5qLiRABwmoVDygIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170106114121epcas5p26862de873ae8efb2102701c6ac452a6e 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: 20170106114121epcas5p26862de873ae8efb2102701c6ac452a6e X-RootMTR: 20170106114121epcas5p26862de873ae8efb2102701c6ac452a6e 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 Add DT node support for TM2 touchkey device. Signed-off-by: Beomho Seo Signed-off-by: Jaechul Lee Signed-off-by: Andi Shyti Reviewed-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index d30b45a9c0d4..15bdc2e9f2a3 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -18,6 +18,19 @@ compatible = "samsung,tm2e", "samsung,exynos5433"; }; +&hsi2c_9 { + status = "okay"; + + 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>; + }; +}; + ®ulators { ldo31_reg: LDO31 { regulator-name = "TSP_VDD_1.85V_AP";