From patchwork Fri Jan 6 13:43:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Shyti X-Patchwork-Id: 9501017 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 A2D61606E0 for ; Fri, 6 Jan 2017 13:48:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D472284C0 for ; Fri, 6 Jan 2017 13:48:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7164E284C5; Fri, 6 Jan 2017 13:48: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 1D3EC284B8 for ; Fri, 6 Jan 2017 13:48:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031214AbdAFNsb (ORCPT ); Fri, 6 Jan 2017 08:48:31 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:38614 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760568AbdAFNqT (ORCPT ); Fri, 6 Jan 2017 08:46:19 -0500 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJD02ER425A6S90@mailout2.samsung.com>; Fri, 06 Jan 2017 22:43:58 +0900 (KST) Received: from epsmges1p5.samsung.com (unknown [182.195.40.67]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20170106134357epcas1p254e2e2b8cf0c832aced023b9bfbaac99~XMpmbVq6d0540505405epcas1p2s; Fri, 6 Jan 2017 13:43:57 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id B2.53.06773.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 20170106134356epcas1p1aee9f715c58b50f6056bf0b43b849497~XMplrimkp1218412184epcas1p19; Fri, 6 Jan 2017 13:43:56 +0000 (GMT) X-AuditID: b6c32a39-f79256d000001a75-87-586f9f1d9fc0 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id B7.11.28252.C1F9F685; 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:56 +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 5/5] arm64: dts: exynos: Add tm2 touchkey node Date: Fri, 06 Jan 2017 22:43:50 +0900 Message-id: <20170106134350.32428-6-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: H4sIAAAAAAAAAzVSW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e/vSezTxiSHPEGx5RDnQsafO7rVzbXFKYYGxmZqOfZRNwm8v8AtfShnZ8DAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOIsWRmVeSWpSXmKPExsVy+t9jQV2Z+fkRBu9vaFtsP/KM1WLxj+dM Fqc/bWO3eL+sh9Hi+pfnrBbzj5xjtTi86AWjxfGVs5gt3rxdw2Txdn83s0X/49fMFufPb2C3 2PT4GqvFzU/fWC0u75rDZjHj/D4mi6XXLzJZtO49wm7x8uMJFgdhjzXz1jB6XF/yidlj56y7 7B6bVnWyeWxeUu+xpR/I69uyitHj8ya5AI4oN5uM1MSU1CKF1Lzk/JTMvHRbpdAQN10LJYW8 xNxUW6UIXd+QICWFssScUiDPyAANODgHuAcr6dsluGV8vL+fueAdR8XxnoOsDYxH2LsYOTkk BEwkbl5eDWWLSVy4t56ti5GLQ0hgFqPEpvZNjBDOR0aJ92tOsIFUsQloSjTd/gFWJSIwiVmi +XIvI0iCWWAbk0THcy0QW1jAUaLj8AywBhYBVYnVvzqZQWxeAWuJ1ysnM0Gsk5fY1XaRtYuR g4NTwEbi8LVkkLAQUMnFh8cZJzDyLmBkWMUokVqQXFCclJ5rmJdarlecmFtcmpeul5yfu4kR HGnPpHYwHtzlfohRgINRiYf3QXh+hBBrYllxZe4hRgkOZiUR3jlzgEK8KYmVValF+fFFpTmp xYcYTYHumsgsJZqcD0wCeSXxhibmJubGBhbmlpYmRkrivI2zn4ULCaQnlqRmp6YWpBbB9DFx cEo1MLqmPW06zcHRwaxyOrZib+EXKZOXcR1TzgW+WSU6I/WRs0PCxIlLNsZ8vDi90+VIouXE kNOfl/9f8+h85f4/xx8/uy55nbXYmumt25eEumsXHpdzCf2cre1jusZC/6tceeLqU5P+5u1/ Jb585hn5+giRvdvbb6163yOkubP9+W+5jMD9jFx/pByVWIozEg21mIuKEwEmz+itygIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170106134356epcas1p1aee9f715c58b50f6056bf0b43b849497 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: 20170106134356epcas1p1aee9f715c58b50f6056bf0b43b849497 X-RootMTR: 20170106134356epcas1p1aee9f715c58b50f6056bf0b43b849497 References: <20170106134350.32428-1-andi.shyti@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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 Reviewed-by: Chanwoo Choi --- 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 2449266b268f..92fcc4ec8319 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,tm2", "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>; + }; +}; + &ldo31_reg { regulator-name = "TSP_VDD_1.85V_AP"; regulator-min-microvolt = <1850000>;