From patchwork Wed Aug 20 13:44:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacek Anaszewski X-Patchwork-Id: 4751771 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9B78E9F344 for ; Wed, 20 Aug 2014 13:51:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C96F20103 for ; Wed, 20 Aug 2014 13:51:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C0BB72015A for ; Wed, 20 Aug 2014 13:51:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753287AbaHTNpf (ORCPT ); Wed, 20 Aug 2014 09:45:35 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:40326 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902AbaHTNpS (ORCPT ); Wed, 20 Aug 2014 09:45:18 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NAL003HFY7H5C00@mailout2.samsung.com>; Wed, 20 Aug 2014 22:45:17 +0900 (KST) X-AuditID: cbfee61b-f79f86d00000144c-e2-53f4a66c502a Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 6A.71.05196.C66A4F35; Wed, 20 Aug 2014 22:45:17 +0900 (KST) Received: from AMDC2362.DIGITAL.local ([106.120.53.23]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NAL00DKXY5XUY30@mmp1.samsung.com>; Wed, 20 Aug 2014 22:45:16 +0900 (KST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kyungmin.park@samsung.com, b.zolnierkie@samsung.com, Jacek Anaszewski , Kukjin Kim Subject: [PATCH/RFC v5 10/10] ARM: dts: add aat1290 current regulator device node Date: Wed, 20 Aug 2014 15:44:19 +0200 Message-id: <1408542259-415-11-git-send-email-j.anaszewski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1408542259-415-1-git-send-email-j.anaszewski@samsung.com> References: <1408542259-415-1-git-send-email-j.anaszewski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgluLIzCtJLcpLzFFi42I5/e+xgG7usi/BBv/zLDbOWM9qMf/IOVaL 3qvPGS16F1xlszjb9Ibd4vKuOWwWW9+sY7To2bCV1YHDo2/LKkaPz5vkApiiuGxSUnMyy1KL 9O0SuDIeHrrKVrCKq+JL0xemBsY1HF2MnBwSAiYSV+b8YYewxSQu3FvP1sXIxSEksIhRYse3 /4wQTjuTxIdDDWBVbAKGEj9fvGYCsUUEyiV63j8D62AW6GKUmPP3HSNIQlggWGJx026wBhYB VYlvE1cxg9i8Au4SW7+cYO1i5ABapyAxZ5INiMkJFN7yXgWkQkjATeL0u9ksExh5FzAyrGIU TS1ILihOSs810itOzC0uzUvXS87P3cQIDp9n0jsYVzVYHGIU4GBU4uG9sehLsBBrYllxZe4h RgkOZiUR3vZOoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeg63WgUIC6YklqdmpqQWpRTBZJg5O qQbGWOeTb9aZqOwL0OvsEqgzqQso2Vbz+sOMeb4Ga6NcMxVTxPcU/l2zP77p+XEd5omcqvm/ 2o3W3kl9HHT2TvrTJfO1H13hE8us1z+47+3Jm4cWzhBcLCUeueUB2zT3q1zeNxq3e72qfvDF uvT+mWcO6s8SH2ucDEyVZOJdLZPZaeOywj7Vj3+xEktxRqKhFnNRcSIASpUgbhsCAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add device node for AAT1290 1.5A Step-Up Current Regulator for Flash LEDs along with flash_muxes node containing information about a multiplexer that is used for switching between software and external strobe signal source. Signed-off-by: Jacek Anaszewski Signed-off-by: Kyungmin Park Cc: Kukjin Kim --- arch/arm/boot/dts/exynos4412-trats2.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 5e066cd..2106a1d 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts @@ -781,4 +781,28 @@ pulldown-ohm = <100000>; /* 100K */ io-channels = <&adc 2>; /* Battery temperature */ }; + + flash_muxes { + flash_mux1: mux1 { + gpios = <&gpj1 0 0>; + }; + }; + + aat1290: aat1290 { + compatible = "skyworks,aat1290"; + gpios = <&gpj1 1 0>, <&gpj1 2 0>; + flash-timeout = <1940000>; + status = "okay"; + + gate-software-strobe { + mux = <&flash_mux1>; + mux-line-id = <0>; + }; + + gate-external-strobe { + strobe-provider = <&s5c73m3_spi>; + mux = <&flash_mux1>; + mux-line-id = <1>; + }; + }; };