From patchwork Fri Apr 22 13:52:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Geyer X-Patchwork-Id: 8912211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F3497BF29F for ; Fri, 22 Apr 2016 14:03:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 424EF201F5 for ; Fri, 22 Apr 2016 14:03:09 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 74B8A2011B for ; Fri, 22 Apr 2016 14:03:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1atbeD-00052f-D9; Fri, 22 Apr 2016 14:01:29 +0000 Received: from h1.radempa.de ([176.9.142.194] helo=mail.cosmopool.net) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1atbeA-0004mC-B3 for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2016 14:01:26 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.cosmopool.net (Postfix) with ESMTP id E3A05901B45; Fri, 22 Apr 2016 15:53:11 +0200 (CEST) Received: from mail.cosmopool.net ([127.0.0.1]) by localhost (mail.your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MwLcEFEGWlpb; Fri, 22 Apr 2016 15:53:11 +0200 (CEST) Received: from huygens.ccbib.org (unknown [10.0.10.106]) by mail.cosmopool.net (Postfix) with SMTP id 670F6901977; Fri, 22 Apr 2016 15:53:10 +0200 (CEST) Received: by huygens.ccbib.org (sSMTP sendmail emulation); Fri, 22 Apr 2016 13:53:10 +0000 From: Harald Geyer To: Jonathan Cameron , devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Shawn Guo , Sascha Hauer Subject: [PATCH 3/3] ARM: dts: imx28: Provide regulators for the current sources of the LRADC Date: Fri, 22 Apr 2016 13:52:27 +0000 Message-Id: <1461333147-11873-4-git-send-email-harald@ccbib.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1461333147-11873-1-git-send-email-harald@ccbib.org> References: <1461333147-11873-1-git-send-email-harald@ccbib.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160422_070126_572492_A3B98D43 X-CRM114-Status: UNSURE ( 7.16 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) 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: Stefan Wahren , Marek Vasut , linux-arm-kernel@lists.infradead.org, Harald Geyer MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 This adds the devicetree nodes to make the mxs-lradc driver register regulator devices for the integrated current sources. Signed-off-by: Harald Geyer --- I couln't test this patch on actual HW, but it is a straight forward port from the imx23 case. With only a funny change in the node label, to match the naming convention of the IMX28 Reference Manual. arch/arm/boot/dts/imx28.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi index f637ec9..38f8675 100644 --- a/arch/arm/boot/dts/imx28.dtsi +++ b/arch/arm/boot/dts/imx28.dtsi @@ -1070,6 +1070,14 @@ status = "disabled"; clocks = <&clks 41>; #io-channel-cells = <1>; + + isrc_lradc0: ISRC0 { + regulator-max-microamp = <300>; + }; + + isrc_lradc6: ISRC1 { + regulator-max-microamp = <300>; + }; }; spdif: spdif@80054000 {