SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: ape6evm: Fix LAN9220 VDDVARIO voltage
@ 2014-12-16 23:17 Laurent Pinchart
  2014-12-17  0:26 ` Simon Horman
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Laurent Pinchart @ 2014-12-16 23:17 UTC (permalink / raw)
  To: linux-sh

The LAN9220 VDDVARIO supply is powered by a 1.8V source, not 3.3V. Fix
it in the device tree.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm/boot/dts/r8a73a4-ape6evm.dts | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

This patch is based on top of Ulrich's "[PATCH v2 0/7] ARM: shmobile: ape6evm:
multiplatform support" series, but it could easily be rebased to apply without
that dependency.

diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
index 6b7bc1fb842e..0d50bef01234 100644
--- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
+++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
@@ -55,8 +55,16 @@
 		enable-active-high;
 	};
 
-	/* Common 3.3V rail, used by several devices on APE6EVM */
-	ape6evm_fixed_3v3: regulator@2 {
+	/* Common 1.8V and 3.3V rails, used by several devices on APE6EVM */
+	ape6evm_fixed_1v8: regulator@2 {
+		compatible = "regulator-fixed";
+		regulator-name = "1V8";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-always-on;
+	};
+
+	ape6evm_fixed_3v3: regulator@3 {
 		compatible = "regulator-fixed";
 		regulator-name = "3V3";
 		regulator-min-microvolt = <3300000>;
@@ -80,7 +88,7 @@
 			smsc,irq-active-high;
 			smsc,irq-push-pull;
 			vdd33a-supply = <&ape6evm_fixed_3v3>;
-			vddvario-supply = <&ape6evm_fixed_3v3>;
+			vddvario-supply = <&ape6evm_fixed_1v8>;
 		};
 	};
 
-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2014-12-19  0:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-16 23:17 [PATCH] ARM: shmobile: ape6evm: Fix LAN9220 VDDVARIO voltage Laurent Pinchart
2014-12-17  0:26 ` Simon Horman
2014-12-17  0:30 ` Laurent Pinchart
2014-12-18  0:43 ` Simon Horman
2014-12-18  2:30 ` Laurent Pinchart
2014-12-19  0:11 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox