ARM: tegra: fix VBUS regulator GPIO polarity in DT
Subsystems (2)
PATCH 1/1 ARM: tegra: fix VBUS regulator GPIO polarity in DT
From: Stephen Warren <[email protected]>
Commit 4c94c8b "ARM: tegra: update device trees for USB binding rework" added regulator definitions for GPIO-controlled USB VBUS. However, none of these contained the essential DT property enable-active-high. Add this so that the regulator definitions are correct.
---
I'm sending this to arm-soc to be taken into v3.11-rc1. However, if it won't get in until -rc2, let me know; I'd be tempted not to fix it in 3.11 in that case, so I don't have to wait until v3.11-rc2 before applying patches that use these new regulators, since they rely on this fix going in first.
arch/arm/boot/dts/tegra20-seaboard.dts | 1 + arch/arm/boot/dts/tegra20-trimslice.dts | 1 + arch/arm/boot/dts/tegra20-whistler.dts | 2 ++ 3 files changed, 4 insertions(+)
arch/arm/boot/dts/tegra20-seaboard.dts +1 -0
@@ -814,6 +814,7 @@ regulator-name = "vdd_vbus_wup1"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + enable-active-high; gpio = <&gpio 24 0>; /* PD0 */ };
arch/arm/boot/dts/tegra20-trimslice.dts +1 -0
@@ -417,6 +417,7 @@ regulator-name = "usb1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + enable-active-high; gpio = <&gpio 170 0>; /* PV2 */ }; };
arch/arm/boot/dts/tegra20-whistler.dts +2 -0
@@ -584,6 +584,7 @@ regulator-name = "vbus1"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + enable-active-high; gpio = <&tca6416 0 0>; /* GPIO_PMU0 */ };
@@ -593,6 +594,7 @@ regulator-name = "vbus3"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + enable-active-high; gpio = <&tca6416 1 0>; /* GPIO_PMU1 */ }; };
Signature · 1 line
1.8.1.5
Arnd Bergmann
AppliedPATCH 1/1 ARM: tegra: fix VBUS regulator GPIO polarity in DT
Quoted 7 lines · Stephen Warren
From: Stephen Warren <[email protected]>
Commit 4c94c8b "ARM: tegra: update device trees for USB binding rework" added regulator definitions for GPIO-controlled USB VBUS. However, none of these contained the essential DT property enable-active-high. Add this so that the regulator definitions are correct.
Quoted 7 lines
Signed-off-by Stephen Warren <[email protected]>---
I'm sending this to arm-soc to be taken into v3.11-rc1. However, if it won't get in until -rc2, let me know; I'd be tempted not to fix it in 3.11 in that case, so I don't have to wait until v3.11-rc2 before applying patches that use these new regulators, since they rely on this fix going in first.
Applied to fixes branch, thanks!
Arnd