From patchwork Mon Jan 9 07:22:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaechul Lee X-Patchwork-Id: 9504135 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 5E44460762 for ; Mon, 9 Jan 2017 07:22:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CAE324560 for ; Mon, 9 Jan 2017 07:22:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 419A128416; Mon, 9 Jan 2017 07:22:45 +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 45E1328403 for ; Mon, 9 Jan 2017 07:22:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760460AbdAIHW1 (ORCPT ); Mon, 9 Jan 2017 02:22:27 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:55267 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756446AbdAIHWW (ORCPT ); Mon, 9 Jan 2017 02:22:22 -0500 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OJI01AVK4H7O370@mailout2.samsung.com>; Mon, 09 Jan 2017 16:22:19 +0900 (KST) Received: from epsmges5p2.samsung.com (unknown [182.195.40.69]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170109072219epcas1p3f9531f6d8e10a9c9b7a0c0c90d814a8e~YCYPwNjXx1505115051epcas1p3X; Mon, 9 Jan 2017 07:22:19 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p2.samsung.com (EPCPMTA) with SMTP id 86.2F.13221.B2A33785; Mon, 9 Jan 2017 16:22:19 +0900 (KST) Received: from epcpsbgm2new.samsung.com (u27.gpu120.samsung.co.kr [203.254.230.27]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20170109072219epcas5p2b1dd8d38c4ae6bd5727e68c4ecaf7f24~YCYPh-pLf2928029280epcas5p2C; Mon, 9 Jan 2017 07:22:19 +0000 (GMT) X-AuditID: b6c32a2d-f79316d0000033a5-8e-58733a2bb63e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 25.36.26370.A2A33785; Mon, 9 Jan 2017 16:22:19 +0900 (KST) Received: from localhost.localdomain ([10.113.76.93]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OJI00MXA4H3XR50@mmp1.samsung.com>; Mon, 09 Jan 2017 16:22:18 +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 v6 3/3] arm64: dts: exynos: Add tm2 touchkey node Date: Mon, 09 Jan 2017 16:22:15 +0900 Message-id: <1483946535-4703-4-git-send-email-jcsing.lee@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1483946535-4703-1-git-send-email-jcsing.lee@samsung.com> X-Brightm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f7f24 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: 20170109072219epcas5p2b1dd8d38c4ae6bd5727e68c4ecaf7f24 X-RootMTR: 20170109072219epcas5p2b1dd8d38c4ae6bd5727e68c4ecaf7f24 References: <1483946535-4703-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 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 Tested-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 2449266..ddba2f8 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 = "cypress,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>;