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: 9453569 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 0995A6071C for ; Wed, 30 Nov 2016 04:31:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC37B28428 for ; Wed, 30 Nov 2016 04:31:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0BF22842C; Wed, 30 Nov 2016 04:31:49 +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 7586C28428 for ; Wed, 30 Nov 2016 04:31:48 +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 1cBwWT-0000No-3F; Wed, 30 Nov 2016 04:29:33 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBwWN-0000CT-7P for linux-arm-kernel@lists.infradead.org; Wed, 30 Nov 2016 04:29:29 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161129_202927_512394_AC34D3E7 X-CRM114-Status: GOOD ( 10.47 ) 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 --- 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";