[PATCH v2 16/16] ARM: dts: imx6qdl-cubox-i: update GPIO specification
Russell King
rmk+kernel at armlinux.org.uk
Tue Nov 28 07:03:16 PST 2017
Fabio Estevam suggested using GPIO_ACTIVE_HIGH in the gpio specification
for the USB regulators. Change them to conform.
Suggested-by: Fabio Estevam <festevam at gmail.com>
Signed-off-by: Russell King <rmk+kernel at armlinux.org.uk>
---
arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
index ca04ec56d2af..d1cfdc264126 100644
--- a/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-cubox-i.dtsi
@@ -73,7 +73,7 @@
v_usb2: regulator-v-usb2 {
compatible = "regulator-fixed";
enable-active-high;
- gpio = <&gpio1 0 0>;
+ gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cubox_i_usbh1_vbus>;
regulator-max-microvolt = <5000000>;
@@ -85,7 +85,7 @@
v_usb1: regulator-v-usb1 {
compatible = "regulator-fixed";
enable-active-high;
- gpio = <&gpio3 22 0>;
+ gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_cubox_i_usbotg_vbus>;
regulator-max-microvolt = <5000000>;
--
2.7.4
More information about the linux-arm-kernel
mailing list