summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-06 23:02:52 +0100
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-07 09:16:57 +0100
commitf2a95131685e48bdc05c0abded74ae09701c29d7 (patch)
tree4da501d6b046b4ef5d737dea07ef9f029721612f /arch
parentdf1e6212f957627731daf9844efe960ca8a549df (diff)
downloadu-boot-f2a95131685e48bdc05c0abded74ae09701c29d7.tar.gz
rockchip: dts: rk3399-puma: update usbhub_enable regulator
To correctly model the usbhub_enable regulator for U-Boot, we need to change the settings to: * the GPIO polarity is GPIO_ACTIVE_LOW * should be set to inactive (enable-active-low) when boot-on settings are applied * it can be changed at runtime (i.e. remove the always-on) Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/rk3399-puma.dtsi3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi
index c4da26956a..c517fd3627 100644
--- a/arch/arm/dts/rk3399-puma.dtsi
+++ b/arch/arm/dts/rk3399-puma.dtsi
@@ -94,8 +94,7 @@
compatible = "regulator-fixed";
regulator-name = "usbhub_enable";
enable-active-low;
- gpio = <&gpio4 3 GPIO_ACTIVE_HIGH>;
- regulator-always-on;
+ gpio = <&gpio4 3 GPIO_ACTIVE_LOW>;
regulator-boot-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;