From patchwork Fri Apr 22 13:52:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Geyer X-Patchwork-Id: 8912201 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 54793BF29F for ; Fri, 22 Apr 2016 14:03:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 663BE201F5 for ; Fri, 22 Apr 2016 14:03:05 +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 412DD2011B for ; Fri, 22 Apr 2016 14:03:04 +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 1atbeT-0005DY-KE; Fri, 22 Apr 2016 14:01:45 +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-0004mB-B5 for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2016 14:01:27 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.cosmopool.net (Postfix) with ESMTP id E69CB901B1D; Fri, 22 Apr 2016 15:53:10 +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 Exx-imBez_Rt; Fri, 22 Apr 2016 15:53:10 +0200 (CEST) Received: from huygens.ccbib.org (unknown [10.0.10.106]) by mail.cosmopool.net (Postfix) with SMTP id 523E9901972; Fri, 22 Apr 2016 15:53:09 +0200 (CEST) Received: by huygens.ccbib.org (sSMTP sendmail emulation); Fri, 22 Apr 2016 13:53:09 +0000 From: Harald Geyer To: Jonathan Cameron , devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Shawn Guo , Sascha Hauer Subject: [PATCH 2/3] ARM: dts: imx23: Provide regulators for the current sources of the LRADC Date: Fri, 22 Apr 2016 13:52:26 +0000 Message-Id: <1461333147-11873-3-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_573633_D4497E5B X-CRM114-Status: UNSURE ( 6.78 ) 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. Tested on an imx23-olinuxino board. Signed-off-by: Harald Geyer --- Note: with this configuration the regulator devices will be present but disabled by default. arch/arm/boot/dts/imx23.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index 302d116..05ff6f1 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi @@ -471,6 +471,14 @@ status = "disabled"; clocks = <&clks 26>; #io-channel-cells = <1>; + + isrc_lradc0: ISRC0 { + regulator-max-microamp = <300>; + }; + + isrc_lradc1: ISRC1 { + regulator-max-microamp = <300>; + }; }; spdif@80054000 {