From patchwork Wed Nov 30 04:27:42 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: 9453563 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 C02FE6071C for ; Wed, 30 Nov 2016 04:29:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE2752818E for ; Wed, 30 Nov 2016 04:29:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2C4B28428; Wed, 30 Nov 2016 04:29:12 +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 9DF362818E for ; Wed, 30 Nov 2016 04:29:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753043AbcK3E3D (ORCPT ); Tue, 29 Nov 2016 23:29:03 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:35768 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752395AbcK3E3D (ORCPT ); Tue, 29 Nov 2016 23:29:03 -0500 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OHF005PHTSCWYA0@mailout3.samsung.com>; Wed, 30 Nov 2016 13:29:00 +0900 (KST) X-AuditID: cbfee61b-f796f6d000004092-03-583e558cca2d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id D0.0C.16530.C855E385; Wed, 30 Nov 2016 13:29:00 +0900 (KST) Received: from localhost.localdomain ([10.113.62.209]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OHF006CYTSAEE80@mmp1.samsung.com>; Wed, 30 Nov 2016 13:28:59 +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] arm64: dts: exynos: Add flash led dt node for TM2 board Date: Wed, 30 Nov 2016 13:27:42 +0900 Message-id: <1480480062-3472-1-git-send-email-sw0312.kim@samsung.com> X-Mailer: git-send-email 1.7.4.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLLMWRmVeSWpSXmKPExsVy+t9jAd2eULsIgz1X2C3eL+thtLj+5Tmr xfwj51gtdtz8wmbx5u0aJov+x6+ZLc6f38BusenxNVaLy7vmsFnMOL+PyWLp9YtMFq17j7Bb zJj8ks3i5ccTLA58HmvmrWH02LSqk81j85J6jy39d9k9+rasYvT4vEkugC3KzSYjNTEltUgh NS85PyUzL91WKTTETddCSSEvMTfVVilC1zckSEmhLDGnFMgzMkADDs4B7sFK+nYJbhlTju5g KvjOXvH58hT2BsaDbF2MnBwSAiYSH3/8ZYawxSQu3FsPFOfiEBJYyiix4OtBFgjnB6PEt72v WUCq2AR0JPYv+c0KYosIqEp8blvADlLELHCOSeJw70NGkISwgIfEmQdnwRpYgIpWnesEW8Er 4Crx/CpEjYSAgsSCe2/ZJjByL2BkWMUokVqQXFCclJ5rlJdarlecmFtcmpeul5yfu4kRHPTP pHcwHt7lfohRgINRiYd3wRzbCCHWxLLiytxDjBIczEoivKXBdhFCvCmJlVWpRfnxRaU5qcWH GE2BDpjILCWanA+MyLySeEMTcxNzYwMLc0tLEyMlcd7G2c/ChQTSE0tSs1NTC1KLYPqYODil GhiPZttUrVVz/tsz8ZQ1W01G0J7XH2Vuh585lL3I3PDKibolfPv8qzhznnz+bX7v54MzYVvb fwb+EdE9brnv5ltP1+sra+0d3nMIvMrivTbxk6lty5ll5+3PzlDVd3lx5My0eYvW8Yn/OpCn /2H6rQlvglWf59QemC4rdGNq7r2Pzj8+TPus4r3jhRJLcUaioRZzUXEiAG4nnBaQAgAA 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 --- 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..3ba305f 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 0>; + aux-gpios = <&gpc0 2 0>; + + flash-led { + label = "ktd2692-flash"; + led-max-microamp = <300000>; + flash-max-microamp = <1500000>; + flash-max-timeout-us = <1835000>; + }; + }; + gpio-keys { compatible = "gpio-keys";