ARM: tegra: fix VBUS regulator GPIO polarity in DT
authorStephen Warren <swarren@nvidia.com>
Mon, 1 Jul 2013 21:07:05 +0000 (15:07 -0600)
committerArnd Bergmann <arnd@arndb.de>
Wed, 3 Jul 2013 12:40:40 +0000 (14:40 +0200)
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.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/tegra20-seaboard.dts
arch/arm/boot/dts/tegra20-trimslice.dts
arch/arm/boot/dts/tegra20-whistler.dts

index ab177b406b78053027f8fd512f71975e322c5087..365760b33a26e1ea9ac7bae3a7c32f7f4bde9878 100644 (file)
                        regulator-name = "vdd_vbus_wup1";
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
+                       enable-active-high;
                        gpio = <&gpio 24 0>; /* PD0 */
                };
        };
index 170159910455b1470928be4ccf98e39912da9d8d..ed4b901b0227405f3cd687f1a832cad4db808f22 100644 (file)
                        regulator-name = "usb1_vbus";
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
+                       enable-active-high;
                        gpio = <&gpio 170 0>; /* PV2 */
                };
        };
index ea078ab8edebdfa664cf081c456eac7b00449cae..ab67c94db280cebb2fc8c5e7126977a3fee8fb40 100644 (file)
                        regulator-name = "vbus1";
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
+                       enable-active-high;
                        gpio = <&tca6416 0 0>; /* GPIO_PMU0 */
                };
 
                        regulator-name = "vbus3";
                        regulator-min-microvolt = <5000000>;
                        regulator-max-microvolt = <5000000>;
+                       enable-active-high;
                        gpio = <&tca6416 1 0>; /* GPIO_PMU1 */
                };
        };