From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753893AbbFDSIe (ORCPT ); Thu, 4 Jun 2015 14:08:34 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:36795 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753672AbbFDSIY (ORCPT ); Thu, 4 Jun 2015 14:08:24 -0400 From: Arun Bharadwaj To: =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Adam YH Lee , Ash Charles Subject: [PATCH 2/3] ARM: dts: configure regulators for Gumstix Pepper Date: Thu, 4 Jun 2015 11:08:18 -0700 Message-Id: <1433441299-18887-3-git-send-email-arun@gumstix.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1433441299-18887-1-git-send-email-arun@gumstix.com> References: <1433441299-18887-1-git-send-email-arun@gumstix.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adam YH Lee Boot process is halting in midway because some of the necessary voltage regulators are deemed unused and subsequently powered off, leading to a completely unresponsive system. Most of the device nodes had correct voltage regulator attachments. Yet these nodes had to set stricter enforcement on them through 'regulator-boot-on' and 'regulator-always-on' to function correctly. Signed-off-by: Ash Charles --- arch/arm/boot/dts/am335x-pepper.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts index 473d8ee..99f855d 100644 --- a/arch/arm/boot/dts/am335x-pepper.dts +++ b/arch/arm/boot/dts/am335x-pepper.dts @@ -415,6 +415,7 @@ &v3v3c_reg { regulator-name = "v3v3c_reg"; + regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vbat>; @@ -439,6 +440,8 @@ regulators { dcdc1_reg: regulator@0 { /* VDD_1V8 system supply */ + regulator-name = "vdds_dpr"; + regulator-always-on; }; dcdc2_reg: regulator@1 { @@ -447,6 +450,7 @@ regulator-min-microvolt = <925000>; regulator-max-microvolt = <1325000>; regulator-boot-on; + regulator-always-on; }; dcdc3_reg: regulator@2 { @@ -455,25 +459,34 @@ regulator-min-microvolt = <925000>; regulator-max-microvolt = <1150000>; regulator-boot-on; + regulator-always-on; }; ldo1_reg: regulator@3 { /* VRTC 1.8V always-on supply */ + regulator-name = "vrtc,vdds"; regulator-always-on; }; ldo2_reg: regulator@4 { /* 3.3V rail */ + regulator-name = "vdd_3v3aux"; + regulator-always-on; }; ldo3_reg: regulator@5 { /* VDD_3V3A 3.3V rail */ + regulator-name = "vdd_3v3a"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; }; ldo4_reg: regulator@6 { /* VDD_3V3B 3.3V rail */ + regulator-name = "vdd_3v3b"; + regulator-always-on; }; }; }; -- 2.1.4 From mboxrd@z Thu Jan 1 00:00:00 1970 From: arun@gumstix.com (Arun Bharadwaj) Date: Thu, 4 Jun 2015 11:08:18 -0700 Subject: [PATCH 2/3] ARM: dts: configure regulators for Gumstix Pepper In-Reply-To: <1433441299-18887-1-git-send-email-arun@gumstix.com> References: <1433441299-18887-1-git-send-email-arun@gumstix.com> Message-ID: <1433441299-18887-3-git-send-email-arun@gumstix.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Adam YH Lee Boot process is halting in midway because some of the necessary voltage regulators are deemed unused and subsequently powered off, leading to a completely unresponsive system. Most of the device nodes had correct voltage regulator attachments. Yet these nodes had to set stricter enforcement on them through 'regulator-boot-on' and 'regulator-always-on' to function correctly. Signed-off-by: Ash Charles --- arch/arm/boot/dts/am335x-pepper.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/am335x-pepper.dts b/arch/arm/boot/dts/am335x-pepper.dts index 473d8ee..99f855d 100644 --- a/arch/arm/boot/dts/am335x-pepper.dts +++ b/arch/arm/boot/dts/am335x-pepper.dts @@ -415,6 +415,7 @@ &v3v3c_reg { regulator-name = "v3v3c_reg"; + regulator-boot-on; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vbat>; @@ -439,6 +440,8 @@ regulators { dcdc1_reg: regulator at 0 { /* VDD_1V8 system supply */ + regulator-name = "vdds_dpr"; + regulator-always-on; }; dcdc2_reg: regulator at 1 { @@ -447,6 +450,7 @@ regulator-min-microvolt = <925000>; regulator-max-microvolt = <1325000>; regulator-boot-on; + regulator-always-on; }; dcdc3_reg: regulator at 2 { @@ -455,25 +459,34 @@ regulator-min-microvolt = <925000>; regulator-max-microvolt = <1150000>; regulator-boot-on; + regulator-always-on; }; ldo1_reg: regulator at 3 { /* VRTC 1.8V always-on supply */ + regulator-name = "vrtc,vdds"; regulator-always-on; }; ldo2_reg: regulator at 4 { /* 3.3V rail */ + regulator-name = "vdd_3v3aux"; + regulator-always-on; }; ldo3_reg: regulator at 5 { /* VDD_3V3A 3.3V rail */ + regulator-name = "vdd_3v3a"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; }; ldo4_reg: regulator at 6 { /* VDD_3V3B 3.3V rail */ + regulator-name = "vdd_3v3b"; + regulator-always-on; }; }; }; -- 2.1.4