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: 9453575 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 CDF4B6071E for ; Wed, 30 Nov 2016 04:50:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B5EDC2837F for ; Wed, 30 Nov 2016 04:50:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A80282842B; Wed, 30 Nov 2016 04:50:20 +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 038852837F for ; Wed, 30 Nov 2016 04:50:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753834AbcK3EuI (ORCPT ); Tue, 29 Nov 2016 23:50:08 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:54619 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751952AbcK3EuH (ORCPT ); Tue, 29 Nov 2016 23:50:07 -0500 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>; 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, kgene@kernel.org, krzk@kernel.org, javier@osg.samsung.com, sw0312.kim@samsung.com, cw00.choi@samsung.com, Ingi Kim 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 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: 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";