From patchwork Wed Nov 30 04:48:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Seung-Woo Kim X-Patchwork-Id: 9453579 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 1FEB16071E for ; Wed, 30 Nov 2016 04:52:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0778C2837F for ; Wed, 30 Nov 2016 04:52:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE70628429; Wed, 30 Nov 2016 04:52:15 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8D7C82837F for ; Wed, 30 Nov 2016 04:52:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBwq2-00044o-FJ; Wed, 30 Nov 2016 04:49:46 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBwpw-0003rd-UI for linux-arm-kernel@lists.infradead.org; Wed, 30 Nov 2016 04:49:42 +0000 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OHF02RROUPQEYC0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 30 Nov 2016 13:49:06 +0900 (KST) X-AuditID: cbfee61b-f796f6d000004092-41-583e5a42c1d2 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id C8.3D.16530.24A5E385; Wed, 30 Nov 2016 13:49:06 +0900 (KST) Received: from localhost.localdomain ([10.113.62.209]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OHF006SKUPSDA20@mmp2.samsung.com>; Wed, 30 Nov 2016 13:49:06 +0900 (KST) From: Seung-Woo Kim To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board Date: Wed, 30 Nov 2016 13:48:57 +0900 Message-id: <1480481337-3941-1-git-send-email-sw0312.kim@samsung.com> X-Mailer: git-send-email 1.7.4.1 In-reply-to: <1480480062-3472-1-git-send-email-sw0312.kim@samsung.com> References: <1480480062-3472-1-git-send-email-sw0312.kim@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprMIsWRmVeSWpSXmKPExsVy+t9jQV2nKLsIg0/7RSzeL+thtLj+5Tmr xfwj51gtdtz8wmbx5u0aJov+x6+ZLc6f38BusenxNVaLy7vmsFnMOL+PyWLp9YtMFq17j7Bb zJj8ks3i5ccTLA58HmvmrWH02LSqk81j85J6jy39d9k9+rasYvT4vEkugC3KzSYjNTEltUgh NS85PyUzL91WKTTETddCSSEvMTfVVilC1zckSEmhLDGnFMgzMkADDs4B7sFK+nYJbhmLnjez FrzhqGja3snWwLiYvYuRk0NCwERi4twJjBC2mMSFe+vZuhi5OIQEZjFKvJ6ynAkkISTwg1Hi +70kEJtNQEdi/5LfrCC2iICqxOe2BewgDcwC55gkDvc+BJrEwSEs4C1x834JSA0LUM2xmzOY QWxeAVeJ953noJYpSCy495YNxOYUcJP49msRC8QuV4kza/6xT2DkXcDIsIpRIrUguaA4KT3X KC+1XK84Mbe4NC9dLzk/dxMjOEKeSe9gPLzL/RCjAAejEg/vgjm2EUKsiWXFlbmHGCU4mJVE eLUi7CKEeFMSK6tSi/Lji0pzUosPMZoCHTaRWUo0OR8YvXkl8YYm5ibmxgYW5paWJkZK4ryN s5+FCwmkJ5akZqemFqQWwfQxcXBKNTD27rVW+//4wC9hPbENHi8/Ore53l6ZvKXCX+N93fSS KUck9neExIbLqKkImVk+rdkn1SLJfc73wMnQy91H5+rGHrXjOaG+b5XvFvbIRQFZry79NvaZ e9ueV+/XvGPSmwvu120z15u/6/fk5csqNxQ85OuZEFh/Kt/xAHPwvRyBdWs7DohqBH1XYinO SDTUYi4qTgQAXkVvJKYCAAA= X-MTR: 20000000000000000@CPGS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161129_204941_208985_B7D71DF6 X-CRM114-Status: GOOD ( 11.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, cw00.choi@samsung.com, sw0312.kim@samsung.com, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, krzk@kernel.org, javier@osg.samsung.com, robh+dt@kernel.org, kgene@kernel.org, Ingi Kim , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ingi Kim This patch adds Kinetic ktd2692 flash led device node for TM2 board. Signed-off-by: Ingi Kim Signed-off-by: Seung-Woo Kim --- Change from v1: - gpio active value is set with defined macro instead of value. --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index f21bdc2..0d454aa 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -58,6 +58,19 @@ reg = <0x0 0x20000000 0x0 0xc0000000>; }; + camera-flash { + compatible = "kinetic,ktd2692"; + ctrl-gpios = <&gpc0 1 GPIO_ACTIVE_HIGH>; + aux-gpios = <&gpc0 2 GPIO_ACTIVE_HIGH>; + + flash-led { + label = "ktd2692-flash"; + led-max-microamp = <300000>; + flash-max-microamp = <1500000>; + flash-max-timeout-us = <1835000>; + }; + }; + gpio-keys { compatible = "gpio-keys";