ARM: dts: imx6qdl-zii-rdu2: Drop GPIO_ACTIVE_LOW form reg_5p0v_user_usb
Subsystems (2)
PATCH 1/3 ARM: dts: imx6qdl-zii-rdu2: Drop GPIO_ACTIVE_LOW form reg_5p0v_user_usb
Drop GPIO_ACTIVE_LOW form reg_5p0v_user_usb since it is ignored by the gpiolib and results in a warning.
--- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +1 -1
@@ -68,7 +68,7 @@ regulator-name = "5V_USER_USB"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio3 22 GPIO_ACTIVE_LOW>; + gpio = <&gpio3 22 0>; startup-delay-us = <1000>; };
Signature · 1 line
2.21.0
PATCH 2/3 ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names
According to Documentation/devicetree/bindings/iio/accel/mma8452.txt, the correct interrupt-names are "INT1" and "INT2", so fix them accordingly.
While at it, modify the node to only specify "INT2" since providing two interrupts is not necessary or useful (the driver will only use one).
---
Original patch from Fabio can be seen here:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +2 -3
@@ -358,8 +358,8 @@ compatible = "fsl,mma8451"; reg = <0x1c>; interrupt-parent = <&gpio1>; - interrupt-names = "int1", "int2"; - interrupts = <18 IRQ_TYPE_LEVEL_LOW>, <20 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "INT2"; + interrupts = <20 IRQ_TYPE_LEVEL_LOW>; }; hpa2: amp@60 {
@@ -849,7 +849,6 @@ &iomuxc { pinctrl_accel: accelgrp { fsl,pins = < - MX6QDL_PAD_SD1_CMD__GPIO1_IO18 0x4001b000 MX6QDL_PAD_SD1_CLK__GPIO1_IO20 0x4001b000 >; };
Signature · 1 line
2.21.0
Re: [PATCH 2/3] ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names
Am Montag, den 21.10.2019, 21:04 -0700 schrieb Andrey Smirnov:
Quoted 11 lines
According to
Documentation/devicetree/bindings/iio/accel/mma8452.txt, the correct interrupt-names are "INT1" and "INT2", so fix them accordingly.While at it, modify the node to only specify "INT2" since providing two interrupts is not necessary or useful (the driver will only use one).
Signed-off-by Fabio Estevam <[email protected]>[[email protected] modified the patch to drop INT1]Signed-off-by Andrey Smirnov <[email protected]>
Quoted 31 lines
Cc Fabio Estevam <[email protected]>Cc Chris Healy <[email protected]>Cc Lucas Stach <[email protected]>Cc Shawn Guo <[email protected]>---
Original patch from Fabio can be seen here:
https://lore.kernel.org/linux-arm-kernel/[email protected]/
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +2
-2@@ -358,8 +358,8 @@ compatible = "fsl,mma8451"; reg = <0x1c>; interrupt-parent = <&gpio1>; - interrupt-names = "int1", "int2"; - interrupts = <18 IRQ_TYPE_LEVEL_LOW>, <20 IRQ_TYPE_LEVEL_LOW>; + interrupt-names = "INT2"; + interrupts = <20 IRQ_TYPE_LEVEL_LOW>; }; hpa2: amp@60 {
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi line 854
Quoted 7 lines
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +0
-1@@ -849,7 +849,6 @@ &iomuxc { pinctrl_accel: accelgrp { fsl,pins = < - MX6QDL_PAD_SD1_CMD__GPIO1_IO18 0x4001b000 MX6QDL_PAD_SD1_CLK__GPIO1_IO20 0x4001b000 >; };
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedRe: [PATCH 2/3] ARM: dts: imx6qdl-zii-rdu2: Fix accelerometer interrupt-names
In reply to Andrey SmirnovQuoted 8 lines · Andrey Smirnov
According to
Documentation/devicetree/bindings/iio/accel/mma8452.txt, the correct interrupt-names are "INT1" and "INT2", so fix them accordingly.While at it, modify the node to only specify "INT2" since providing two interrupts is not necessary or useful (the driver will only use one).
Quoted 9 lines
Signed-off-by Fabio Estevam <[email protected]>[[email protected] modified the patch to drop INT1]Signed-off-by Andrey Smirnov <[email protected]>Cc Fabio Estevam <[email protected]>Cc Chris Healy <[email protected]>Cc Lucas Stach <[email protected]>Cc Shawn Guo <[email protected]>
Applied, thanks.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
PATCH 3/3 ARM: dts: imx6qdl-zii-rdu2: Specify supplies for accelerometer
In reply to Andrey SmirnovSpecify 'vdd' and 'vddio' supplies for accelerometer to avoid warnings during boot.
--- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +2 -0
@@ -360,6 +360,8 @@ interrupt-parent = <&gpio1>; interrupt-names = "INT2"; interrupts = <20 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <®_3p3v>; + vddio-supply = <®_3p3v>; }; hpa2: amp@60 {
Signature · 1 line
2.21.0
Re: [PATCH 3/3] ARM: dts: imx6qdl-zii-rdu2: Specify supplies for accelerometer
Am Montag, den 21.10.2019, 21:05 -0700 schrieb Andrey Smirnov:
Quoted 4 lines
Specify 'vdd' and 'vddio' supplies for accelerometer to avoid warnings during boot.
Signed-off-by Andrey Smirnov <[email protected]>
Quoted 15 lines
Cc Fabio Estevam <[email protected]>Cc Chris Healy <[email protected]>Cc Lucas Stach <[email protected]>Cc Shawn Guo <[email protected]>--- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 2 ++ 1 file changed, 2 insertions(+)arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +0
-0
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi line 367
Quoted 8 lines
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +2
-0@@ -360,6 +360,8 @@ interrupt-parent = <&gpio1>; interrupt-names = "INT2"; interrupts = <20 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <®_3p3v>; + vddio-supply = <®_3p3v>; }; hpa2: amp@60 {
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Shawn Guo
AppliedRe: [PATCH 3/3] ARM: dts: imx6qdl-zii-rdu2: Specify supplies for accelerometer
In reply to Andrey SmirnovQuoted 10 lines · Andrey Smirnov
Specify 'vdd' and 'vddio' supplies for accelerometer to avoid warnings during boot.
Signed-off-by Andrey Smirnov <[email protected]>Cc Fabio Estevam <[email protected]>Cc Chris Healy <[email protected]>Cc Lucas Stach <[email protected]>Cc Shawn Guo <[email protected]>
Applied, thanks.
Am Montag, den 21.10.2019, 21:04 -0700 schrieb Andrey Smirnov:
Quoted 2 lines
Drop
GPIO_ACTIVE_LOWformreg_5p0v_user_usbsince it is ignored by the gpiolib and results in a warning.
NACK. This is consistent with the regulator binding behavior and a fix to gpiolib has been accepted to not print a warning in this case.
Regards,
Lucas
Quoted 24 lines
Signed-off-by Andrey Smirnov <[email protected]>Cc Fabio Estevam <[email protected]>Cc Chris Healy <[email protected]>Cc Lucas Stach <[email protected]>Cc Shawn Guo <[email protected]>--- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +1
-1@@ -68,7 +68,7 @@ regulator-name = "5V_USER_USB"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - gpio = <&gpio3 22 GPIO_ACTIVE_LOW>; + gpio = <&gpio3 22 0>; startup-delay-us = <1000>; };