From patchwork Thu Apr 13 13:32:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Smirnov X-Patchwork-Id: 9679395 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 8681F60326 for ; Thu, 13 Apr 2017 13:33:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A11B28659 for ; Thu, 13 Apr 2017 13:33:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6DEE22865B; Thu, 13 Apr 2017 13:33:42 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6956E28659 for ; Thu, 13 Apr 2017 13:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=mN0UUnUX/mMESs0pSNAa6GbEe1OVldgrUQ2v+UIvGRU=; b=RAVVKqcgjyqAlogkMp+DsMJaHM J/C34K5ehV8eAJWGyrVjVtYrs1CKLoOWMz9ERtML6/xrKd1RE42tdiykkyWO6hQID6mqp2IkBjY7d EoFOPFvMANgF/tIf4F6p/AoL5R2rTFAGqyf6XxYgIfveTCsY6XaPIz2pDEIGaPJ3Zu0jFFrrPPUua vkWo2+2OqQFxiuQZl7n8T1gH8swAebnYqloQkFPCNwF575yK2DNZ3YamApoRfyNBi8MHhI6FmNgwY iH7xB3scEdofcW0QOw1wtSAeL/J/R164EYOukP/tcjufb08noZ+0OsFgWOXUj46JhGoYFYe9fBWmv cbt0rtlA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cyesT-0001bL-M3; Thu, 13 Apr 2017 13:33:37 +0000 Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cyesG-0001LI-Lo for linux-arm-kernel@lists.infradead.org; Thu, 13 Apr 2017 13:33:26 +0000 Received: by mail-pg0-x241.google.com with SMTP id g2so11533122pge.2 for ; Thu, 13 Apr 2017 06:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MasB3JEKSxSA7EAPxuq4VjPRQrl9aKc/EnTJX4sn3ok=; b=A+tE7uN6G+hlbIDpWZ7N/g2Lx4ykhG56gyMmZ4PSrvUqyDXHWRAQQxcNR44/DEGOOI f6tFccM1AZmByK0jvWeeRuIcOzV+IwhQjsEEDGzB0y0iyVGyOI5DyaPUyFUhybbzFR6I b+0eH2mkJ0WCqqCDdKGI9nfIMJg+QZBqAC64hMFmCT3dhLMSW7DgaTQADRDGL6K5ItjX PftQxc6QrdfQt/0ighT9dqMRKLNRKDXDOdr+OZqVRjJ9cCnlbGS05SUeScPFke2wME2v Pw214a/B3ApIpxoibzrIIRgdJV2ISN7H7mO9blep7YgO4plyK/PL+FszSwIIjC3uF5u5 0FAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MasB3JEKSxSA7EAPxuq4VjPRQrl9aKc/EnTJX4sn3ok=; b=Lkxmtew531ExwYEz8WpZtQNlpHbE5B6vG+zSyNw0Brxaz/mwxGn8tFZ8CaBYMXb2Ob uE/U3kTep4MHOgZqyR6N0/WC1XPiO/SkqRsaazUy5sQb/ZrZ1Cu4ANkH3HCTRzzN0mZr P3MZptkAXbL4aUV8X+tDY62+Kjc8QUCAJPqiEk7WfTfef6rT0O66E7uhpVHYTGBQpQxg SObRv9fZjjGToWoXip5ogaNkfEEDoZn3/YZ06eHFETdWoDbJ4rOFwSo6na9HZAxL1qHT 2m21FQf7MtvSyrKr7ibqmnhgiEkBhw7WSl7yfH42RdPTWwrNtt8p82TRgopX8jXUWziM NdTQ== X-Gm-Message-State: AN3rC/6dySuhQeArJtZ8WrZWywEcIDMnVvRYNifYfmablCnQ0bCdBVl8 XFUxlWPkH4pVYg== X-Received: by 10.98.155.20 with SMTP id r20mr3331475pfd.198.1492090384853; Thu, 13 Apr 2017 06:33:04 -0700 (PDT) Received: from squirtle.lan (c-73-19-0-61.hsd1.wa.comcast.net. [73.19.0.61]) by smtp.gmail.com with ESMTPSA id y6sm42944437pgc.40.2017.04.13.06.33.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Apr 2017 06:33:04 -0700 (PDT) From: Andrey Smirnov To: Shawn Guo Subject: [PATCH 2/8] ARM: dts: imx6: Specify 'anatop-enable-bit' where appropriate Date: Thu, 13 Apr 2017 06:32:36 -0700 Message-Id: <20170413133242.5068-3-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170413133242.5068-1-andrew.smirnov@gmail.com> References: <20170413133242.5068-1-andrew.smirnov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170413_063324_764516_6F650850 X-CRM114-Status: GOOD ( 11.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Andrey Smirnov , Russell King , linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Fabio Estevam , linux-arm-kernel@lists.infradead.org, yurovsky@gmail.com 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 ENABLE_LINREG bit is implemented by 3P0, 1P1 and 2P5 regulators on i.MX6. This property is present in similar code in Fresscale BSP and made its way upstream in imx6ul.dtsi, so this patch adds this property to the rest of i.MX6 family for completness. Cc: yurovsky@gmail.com Cc: Sascha Hauer Cc: Fabio Estevam Cc: Rob Herring Cc: Mark Rutland Cc: Russell King Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Andrey Smirnov --- arch/arm/boot/dts/imx6qdl.dtsi | 3 +++ arch/arm/boot/dts/imx6sl.dtsi | 3 +++ arch/arm/boot/dts/imx6sx.dtsi | 3 +++ 3 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e426faa..0576ef6 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -644,6 +644,7 @@ anatop-min-bit-val = <4>; anatop-min-voltage = <800000>; anatop-max-voltage = <1375000>; + anatop-enable-bit = <0>; }; regulator-3p0 { @@ -658,6 +659,7 @@ anatop-min-bit-val = <0>; anatop-min-voltage = <2625000>; anatop-max-voltage = <3400000>; + anatop-enable-bit = <0>; }; regulator-2p5 { @@ -672,6 +674,7 @@ anatop-min-bit-val = <0>; anatop-min-voltage = <2100000>; anatop-max-voltage = <2875000>; + anatop-enable-bit = <0>; }; reg_arm: regulator-vddcore { diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index cc9572e..3243af4 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -530,6 +530,7 @@ anatop-min-bit-val = <4>; anatop-min-voltage = <800000>; anatop-max-voltage = <1375000>; + anatop-enable-bit = <0>; }; regulator-3p0 { @@ -544,6 +545,7 @@ anatop-min-bit-val = <0>; anatop-min-voltage = <2625000>; anatop-max-voltage = <3400000>; + anatop-enable-bit = <0>; }; regulator-2p5 { @@ -558,6 +560,7 @@ anatop-min-bit-val = <0>; anatop-min-voltage = <2100000>; anatop-max-voltage = <2850000>; + anatop-enable-bit = <0>; }; reg_arm: regulator-vddcore { diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 3f1416b..f16b9df 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -587,6 +587,7 @@ anatop-min-bit-val = <4>; anatop-min-voltage = <800000>; anatop-max-voltage = <1375000>; + anatop-enable-bit = <0>; }; regulator-3p0 { @@ -601,6 +602,7 @@ anatop-min-bit-val = <0>; anatop-min-voltage = <2625000>; anatop-max-voltage = <3400000>; + anatop-enable-bit = <0>; }; regulator-2p5 { @@ -615,6 +617,7 @@ anatop-min-bit-val = <0>; anatop-min-voltage = <2100000>; anatop-max-voltage = <2875000>; + anatop-enable-bit = <0>; }; reg_arm: regulator-vddcore {