Skip to content

Commit

Permalink
ARM: dts: mx6qdl-zii-rdu2: Use new CODEC reset pin name
Browse files Browse the repository at this point in the history
The correct DT property for specifying a GPIO used for reset
is "reset-gpios", the driver now accepts this name, use it here.

Note the GPIO polarity in the driver was ignored before and always
assumed to be active low, when all the DTs are fixed we will start
respecting the specified polarity. Switch polarity in DT to the
currently assumed one, this way when the driver changes the
behavior will not change.

Signed-off-by: Andrew F. Davis <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
glneo authored and Shawn Guo committed Apr 11, 2019
1 parent b7b4fda commit 1268d83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@
AVDD-supply = <&reg_3p3v>;
IOVDD-supply = <&reg_3p3v>;
DVDD-supply = <&vgen4_reg>;
gpio-reset = <&gpio1 2 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};

accel@1c {
Expand Down Expand Up @@ -578,7 +578,7 @@
AVDD-supply = <&reg_3p3v>;
IOVDD-supply = <&reg_3p3v>;
DVDD-supply = <&vgen4_reg>;
gpio-reset = <&gpio1 0 GPIO_ACTIVE_HIGH>;
reset-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
};

touchscreen@20 {
Expand Down

0 comments on commit 1268d83

Please sign in to comment.