All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: am335x-phycore-som: Fix mpu voltage
@ 2015-09-03 12:00 ` Teresa Remmet
  0 siblings, 0 replies; 9+ messages in thread
From: Teresa Remmet @ 2015-09-03 12:00 UTC (permalink / raw)
  To: linux-omap, devicetree, linux-arm-kernel, linux-kernel,
	Benoît Cousson, Tony Lindgren, Mark Rutland, Pawel Moll,
	Rob Herring

Fix the mpu voltage as it is set to low for the silicon
revision 2.1.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
---
 arch/arm/boot/dts/am335x-phycore-som.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi
index 4d28fc3..5dd084f 100644
--- a/arch/arm/boot/dts/am335x-phycore-som.dtsi
+++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi
@@ -252,10 +252,10 @@
 		};
 
 		vdd1_reg: regulator@2 {
-			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
+			/* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
 			regulator-name = "vdd_mpu";
 			regulator-min-microvolt = <912500>;
-			regulator-max-microvolt = <1312500>;
+			regulator-max-microvolt = <1378000>;
 			regulator-boot-on;
 			regulator-always-on;
 		};
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 1/2] ARM: dts: am335x-phycore-som: Fix mpu voltage
@ 2015-09-03 12:00 ` Teresa Remmet
  0 siblings, 0 replies; 9+ messages in thread
From: Teresa Remmet @ 2015-09-03 12:00 UTC (permalink / raw)
  To: linux-arm-kernel

Fix the mpu voltage as it is set to low for the silicon
revision 2.1.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
---
 arch/arm/boot/dts/am335x-phycore-som.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi
index 4d28fc3..5dd084f 100644
--- a/arch/arm/boot/dts/am335x-phycore-som.dtsi
+++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi
@@ -252,10 +252,10 @@
 		};
 
 		vdd1_reg: regulator at 2 {
-			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
+			/* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
 			regulator-name = "vdd_mpu";
 			regulator-min-microvolt = <912500>;
-			regulator-max-microvolt = <1312500>;
+			regulator-max-microvolt = <1378000>;
 			regulator-boot-on;
 			regulator-always-on;
 		};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] ARM: dts: am335x-wega: Clean up regulators
  2015-09-03 12:00 ` Teresa Remmet
@ 2015-09-03 12:00   ` Teresa Remmet
  -1 siblings, 0 replies; 9+ messages in thread
From: Teresa Remmet @ 2015-09-03 12:00 UTC (permalink / raw)
  To: linux-omap, devicetree, linux-arm-kernel, linux-kernel,
	Benoît Cousson, Tony Lindgren, Mark Rutland, Pawel Moll,
	Rob Herring

Cleaned up the regulators on the wega board. Created a simple bus,
renamed the regulators according to the schematics and added missing
regulator on wega.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
---
 arch/arm/boot/dts/am335x-phycore-som.dtsi | 36 ++++++++++++++++---------------
 arch/arm/boot/dts/am335x-wega.dtsi        | 13 ++++++++++-
 2 files changed, 31 insertions(+), 18 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi
index 5dd084f..2f43e45 100644
--- a/arch/arm/boot/dts/am335x-phycore-som.dtsi
+++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi
@@ -29,8 +29,17 @@
 		reg = <0x80000000 0x10000000>; /* 256 MB */
 	};
 
-	vbat: fixedregulator@0 {
-		compatible = "regulator-fixed";
+	regulators {
+		compatible = "simple-bus";
+
+		vcc5v: fixedregulator@0 {
+			compatible = "regulator-fixed";
+			regulator-name = "vcc5v";
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
 	};
 };
 
@@ -233,14 +242,14 @@
 #include "tps65910.dtsi"
 
 &tps {
-	vcc1-supply = <&vbat>;
-	vcc2-supply = <&vbat>;
-	vcc3-supply = <&vbat>;
-	vcc4-supply = <&vbat>;
-	vcc5-supply = <&vbat>;
-	vcc6-supply = <&vbat>;
-	vcc7-supply = <&vbat>;
-	vccio-supply = <&vbat>;
+	vcc1-supply = <&vcc5v>;
+	vcc2-supply = <&vcc5v>;
+	vcc3-supply = <&vcc5v>;
+	vcc4-supply = <&vcc5v>;
+	vcc5-supply = <&vcc5v>;
+	vcc6-supply = <&vcc5v>;
+	vcc7-supply = <&vcc5v>;
+	vccio-supply = <&vcc5v>;
 
 	regulators {
 		vrtc_reg: regulator@0 {
@@ -311,13 +320,6 @@
 	};
 };
 
-&vbat {
-	regulator-name = "vbat";
-	regulator-min-microvolt = <5000000>;
-	regulator-max-microvolt = <5000000>;
-	regulator-boot-on;
-};
-
 /* SPI Busses */
 &am33xx_pinmux {
 	spi0_pins: pinmux_spi0 {
diff --git a/arch/arm/boot/dts/am335x-wega.dtsi b/arch/arm/boot/dts/am335x-wega.dtsi
index 5e541bd..2cecb39 100644
--- a/arch/arm/boot/dts/am335x-wega.dtsi
+++ b/arch/arm/boot/dts/am335x-wega.dtsi
@@ -11,6 +11,17 @@
 	model = "Phytec AM335x phyBOARD-WEGA";
 	compatible = "phytec,am335x-wega", "phytec,am335x-phycore-som", "ti,am33xx";
 
+	regulators {
+		compatible = "simple-bus";
+
+		vcc3v3: fixedregulator@1 {
+			compatible = "regulator-fixed";
+			regulator-name = "vcc3v3";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-boot-on;
+		};
+	};
 };
 
 /* CAN Busses */
@@ -80,7 +91,7 @@
 };
 
 &mmc1 {
-	vmmc-supply = <&vmmc_reg>;
+	vmmc-supply = <&vcc3v3>;
 	bus-width = <4>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc1_pins>;
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] ARM: dts: am335x-wega: Clean up regulators
@ 2015-09-03 12:00   ` Teresa Remmet
  0 siblings, 0 replies; 9+ messages in thread
From: Teresa Remmet @ 2015-09-03 12:00 UTC (permalink / raw)
  To: linux-arm-kernel

Cleaned up the regulators on the wega board. Created a simple bus,
renamed the regulators according to the schematics and added missing
regulator on wega.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
---
 arch/arm/boot/dts/am335x-phycore-som.dtsi | 36 ++++++++++++++++---------------
 arch/arm/boot/dts/am335x-wega.dtsi        | 13 ++++++++++-
 2 files changed, 31 insertions(+), 18 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi
index 5dd084f..2f43e45 100644
--- a/arch/arm/boot/dts/am335x-phycore-som.dtsi
+++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi
@@ -29,8 +29,17 @@
 		reg = <0x80000000 0x10000000>; /* 256 MB */
 	};
 
-	vbat: fixedregulator at 0 {
-		compatible = "regulator-fixed";
+	regulators {
+		compatible = "simple-bus";
+
+		vcc5v: fixedregulator at 0 {
+			compatible = "regulator-fixed";
+			regulator-name = "vcc5v";
+			regulator-min-microvolt = <5000000>;
+			regulator-max-microvolt = <5000000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
 	};
 };
 
@@ -233,14 +242,14 @@
 #include "tps65910.dtsi"
 
 &tps {
-	vcc1-supply = <&vbat>;
-	vcc2-supply = <&vbat>;
-	vcc3-supply = <&vbat>;
-	vcc4-supply = <&vbat>;
-	vcc5-supply = <&vbat>;
-	vcc6-supply = <&vbat>;
-	vcc7-supply = <&vbat>;
-	vccio-supply = <&vbat>;
+	vcc1-supply = <&vcc5v>;
+	vcc2-supply = <&vcc5v>;
+	vcc3-supply = <&vcc5v>;
+	vcc4-supply = <&vcc5v>;
+	vcc5-supply = <&vcc5v>;
+	vcc6-supply = <&vcc5v>;
+	vcc7-supply = <&vcc5v>;
+	vccio-supply = <&vcc5v>;
 
 	regulators {
 		vrtc_reg: regulator at 0 {
@@ -311,13 +320,6 @@
 	};
 };
 
-&vbat {
-	regulator-name = "vbat";
-	regulator-min-microvolt = <5000000>;
-	regulator-max-microvolt = <5000000>;
-	regulator-boot-on;
-};
-
 /* SPI Busses */
 &am33xx_pinmux {
 	spi0_pins: pinmux_spi0 {
diff --git a/arch/arm/boot/dts/am335x-wega.dtsi b/arch/arm/boot/dts/am335x-wega.dtsi
index 5e541bd..2cecb39 100644
--- a/arch/arm/boot/dts/am335x-wega.dtsi
+++ b/arch/arm/boot/dts/am335x-wega.dtsi
@@ -11,6 +11,17 @@
 	model = "Phytec AM335x phyBOARD-WEGA";
 	compatible = "phytec,am335x-wega", "phytec,am335x-phycore-som", "ti,am33xx";
 
+	regulators {
+		compatible = "simple-bus";
+
+		vcc3v3: fixedregulator at 1 {
+			compatible = "regulator-fixed";
+			regulator-name = "vcc3v3";
+			regulator-min-microvolt = <3300000>;
+			regulator-max-microvolt = <3300000>;
+			regulator-boot-on;
+		};
+	};
 };
 
 /* CAN Busses */
@@ -80,7 +91,7 @@
 };
 
 &mmc1 {
-	vmmc-supply = <&vmmc_reg>;
+	vmmc-supply = <&vcc3v3>;
 	bus-width = <4>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc1_pins>;
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ARM: dts: am335x-phycore-som: Fix mpu voltage
  2015-09-03 12:00 ` Teresa Remmet
@ 2015-09-14 17:26   ` Tony Lindgren
  -1 siblings, 0 replies; 9+ messages in thread
From: Tony Lindgren @ 2015-09-14 17:26 UTC (permalink / raw)
  To: Teresa Remmet
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel,
	Benoît Cousson, Mark Rutland, Pawel Moll, Rob Herring

* Teresa Remmet <t.remmet@phytec.de> [150903 05:03]:
> Fix the mpu voltage as it is set to low for the silicon
> revision 2.1.
> 
> Signed-off-by: Teresa Remmet <t.remmet@phytec.de>

Applying this one into omap-for-v4.3/fixes thanks.

Tony

> ---
>  arch/arm/boot/dts/am335x-phycore-som.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi
> index 4d28fc3..5dd084f 100644
> --- a/arch/arm/boot/dts/am335x-phycore-som.dtsi
> +++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi
> @@ -252,10 +252,10 @@
>  		};
>  
>  		vdd1_reg: regulator@2 {
> -			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
> +			/* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
>  			regulator-name = "vdd_mpu";
>  			regulator-min-microvolt = <912500>;
> -			regulator-max-microvolt = <1312500>;
> +			regulator-max-microvolt = <1378000>;
>  			regulator-boot-on;
>  			regulator-always-on;
>  		};
> -- 
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/2] ARM: dts: am335x-phycore-som: Fix mpu voltage
@ 2015-09-14 17:26   ` Tony Lindgren
  0 siblings, 0 replies; 9+ messages in thread
From: Tony Lindgren @ 2015-09-14 17:26 UTC (permalink / raw)
  To: linux-arm-kernel

* Teresa Remmet <t.remmet@phytec.de> [150903 05:03]:
> Fix the mpu voltage as it is set to low for the silicon
> revision 2.1.
> 
> Signed-off-by: Teresa Remmet <t.remmet@phytec.de>

Applying this one into omap-for-v4.3/fixes thanks.

Tony

> ---
>  arch/arm/boot/dts/am335x-phycore-som.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi b/arch/arm/boot/dts/am335x-phycore-som.dtsi
> index 4d28fc3..5dd084f 100644
> --- a/arch/arm/boot/dts/am335x-phycore-som.dtsi
> +++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi
> @@ -252,10 +252,10 @@
>  		};
>  
>  		vdd1_reg: regulator at 2 {
> -			/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
> +			/* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
>  			regulator-name = "vdd_mpu";
>  			regulator-min-microvolt = <912500>;
> -			regulator-max-microvolt = <1312500>;
> +			regulator-max-microvolt = <1378000>;
>  			regulator-boot-on;
>  			regulator-always-on;
>  		};
> -- 
> 1.9.1
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] ARM: dts: am335x-wega: Clean up regulators
@ 2015-10-12 21:04     ` Tony Lindgren
  0 siblings, 0 replies; 9+ messages in thread
From: Tony Lindgren @ 2015-10-12 21:04 UTC (permalink / raw)
  To: Teresa Remmet
  Cc: linux-omap, devicetree, linux-arm-kernel, linux-kernel,
	Benoît Cousson, Mark Rutland, Pawel Moll, Rob Herring

* Teresa Remmet <t.remmet@phytec.de> [150903 05:03]:
> Cleaned up the regulators on the wega board. Created a simple bus,
> renamed the regulators according to the schematics and added missing
> regulator on wega.

Applying this one into omap-for-v4.4/dt thanks.

Tony

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] ARM: dts: am335x-wega: Clean up regulators
@ 2015-10-12 21:04     ` Tony Lindgren
  0 siblings, 0 replies; 9+ messages in thread
From: Tony Lindgren @ 2015-10-12 21:04 UTC (permalink / raw)
  To: Teresa Remmet
  Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Benoît Cousson,
	Mark Rutland, Pawel Moll, Rob Herring

* Teresa Remmet <t.remmet-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org> [150903 05:03]:
> Cleaned up the regulators on the wega board. Created a simple bus,
> renamed the regulators according to the schematics and added missing
> regulator on wega.

Applying this one into omap-for-v4.4/dt thanks.

Tony
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 2/2] ARM: dts: am335x-wega: Clean up regulators
@ 2015-10-12 21:04     ` Tony Lindgren
  0 siblings, 0 replies; 9+ messages in thread
From: Tony Lindgren @ 2015-10-12 21:04 UTC (permalink / raw)
  To: linux-arm-kernel

* Teresa Remmet <t.remmet@phytec.de> [150903 05:03]:
> Cleaned up the regulators on the wega board. Created a simple bus,
> renamed the regulators according to the schematics and added missing
> regulator on wega.

Applying this one into omap-for-v4.4/dt thanks.

Tony

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-10-12 21:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-03 12:00 [PATCH 1/2] ARM: dts: am335x-phycore-som: Fix mpu voltage Teresa Remmet
2015-09-03 12:00 ` Teresa Remmet
2015-09-03 12:00 ` [PATCH 2/2] ARM: dts: am335x-wega: Clean up regulators Teresa Remmet
2015-09-03 12:00   ` Teresa Remmet
2015-10-12 21:04   ` Tony Lindgren
2015-10-12 21:04     ` Tony Lindgren
2015-10-12 21:04     ` Tony Lindgren
2015-09-14 17:26 ` [PATCH 1/2] ARM: dts: am335x-phycore-som: Fix mpu voltage Tony Lindgren
2015-09-14 17:26   ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.