Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dtoverlays: Fixup pendown gpio polarity for ads7846 users #6029

Merged
merged 1 commit into from Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/ads7846-overlay.dts
Expand Up @@ -57,7 +57,7 @@
spi-max-frequency = <2000000>;
interrupts = <255 2>; /* high-to-low edge triggered */
interrupt-parent = <&gpio>;
pendown-gpio = <&gpio 255 0>;
pendown-gpio = <&gpio 255 1>;

/* driver defaults */
ti,x-min = /bits/ 16 <0>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/hy28a-overlay.dts
Expand Up @@ -73,7 +73,7 @@
spi-max-frequency = <2000000>;
interrupts = <17 2>; /* high-to-low edge triggered */
interrupt-parent = <&gpio>;
pendown-gpio = <&gpio 17 0>;
pendown-gpio = <&gpio 17 1>;
ti,x-plate-ohms = /bits/ 16 <100>;
ti,pressure-max = /bits/ 16 <255>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/hy28b-2017-overlay.dts
Expand Up @@ -132,7 +132,7 @@
spi-max-frequency = <2000000>;
interrupts = <17 2>; /* high-to-low edge triggered */
interrupt-parent = <&gpio>;
pendown-gpio = <&gpio 17 0>;
pendown-gpio = <&gpio 17 1>;
ti,x-plate-ohms = /bits/ 16 <100>;
ti,pressure-max = /bits/ 16 <255>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/hy28b-overlay.dts
Expand Up @@ -128,7 +128,7 @@
spi-max-frequency = <2000000>;
interrupts = <17 2>; /* high-to-low edge triggered */
interrupt-parent = <&gpio>;
pendown-gpio = <&gpio 17 0>;
pendown-gpio = <&gpio 17 1>;
ti,x-plate-ohms = /bits/ 16 <100>;
ti,pressure-max = /bits/ 16 <255>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/mz61581-overlay.dts
Expand Up @@ -99,7 +99,7 @@
spi-max-frequency = <2000000>;
interrupts = <4 2>; /* high-to-low edge triggered */
interrupt-parent = <&gpio>;
pendown-gpio = <&gpio 4 0>;
pendown-gpio = <&gpio 4 1>;

ti,x-plate-ohms = /bits/ 16 <60>;
ti,pressure-max = /bits/ 16 <255>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/piscreen-overlay.dts
Expand Up @@ -87,7 +87,7 @@
spi-max-frequency = <2000000>;
interrupts = <17 2>; /* high-to-low edge triggered */
interrupt-parent = <&gpio>;
pendown-gpio = <&gpio 17 0>;
pendown-gpio = <&gpio 17 GPIO_ACTIVE_LOW>;
ti,swap-xy;
ti,x-plate-ohms = /bits/ 16 <100>;
ti,pressure-max = /bits/ 16 <255>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/piscreen2r-overlay.dts
Expand Up @@ -88,7 +88,7 @@
spi-max-frequency = <2000000>;
interrupts = <17 2>; /* high-to-low edge triggered */
interrupt-parent = <&gpio>;
pendown-gpio = <&gpio 17 0>;
pendown-gpio = <&gpio 17 1>;
ti,swap-xy;
ti,x-plate-ohms = /bits/ 16 <100>;
ti,pressure-max = /bits/ 16 <255>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/overlays/tinylcd35-overlay.dts
Expand Up @@ -121,7 +121,7 @@
spi-max-frequency = <2000000>;
interrupts = <5 2>; /* high-to-low edge triggered */
interrupt-parent = <&gpio>;
pendown-gpio = <&gpio 5 0>;
pendown-gpio = <&gpio 5 1>;
ti,x-plate-ohms = /bits/ 16 <100>;
ti,pressure-max = /bits/ 16 <255>;
};
Expand Down