diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-12-06 08:36:41 -0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-12-10 10:03:08 +0800 |
commit | 5649dbd31ef7c74acbf14c2f18c779572f75485e (patch) | |
tree | 8cfbf9aa5ac861992adcd9eec71ead77061dd68f /arch/arm/boot/dts/imx6qdl-sabresd.dtsi | |
parent | ca5c36ba42c1ad65f874c5e41edbd72866e47f83 (diff) | |
download | linux-5649dbd31ef7c74acbf14c2f18c779572f75485e.tar.gz linux-5649dbd31ef7c74acbf14c2f18c779572f75485e.tar.bz2 linux-5649dbd31ef7c74acbf14c2f18c779572f75485e.zip |
ARM: dts: imx6qdl-sabresd: Use GPIO_ACTIVE_HIGH for regulators
Passing GPIO_ACTIVE_HIGH as GPIO flags for the GPIO controlled
regulator improves the readability, so use it instead of the
hardcoded number.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-sabresd.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index 187548d58a92..8930aec6464c 100644 --- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi +++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi @@ -22,7 +22,7 @@ regulator-name = "usb_otg_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio3 22 0>; + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; enable-active-high; vin-supply = <&swbst_reg>; }; @@ -32,7 +32,7 @@ regulator-name = "usb_h1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio1 29 0>; + gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>; enable-active-high; vin-supply = <&swbst_reg>; }; @@ -40,7 +40,7 @@ reg_audio: regulator-audio { compatible = "regulator-fixed"; regulator-name = "wm8962-supply"; - gpio = <&gpio4 10 0>; + gpio = <&gpio4 10 GPIO_ACTIVE_HIGH>; enable-active-high; }; @@ -51,7 +51,7 @@ regulator-name = "MPCIE_3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - gpio = <&gpio3 19 0>; + gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>; enable-active-high; }; |