Skip to content

Commit f571e9c

Browse files
robherringShawn Guo
authored andcommitted
arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
The common touchscreen properties are all 32-bit, not 16-bit. These properties must not be too important as they are all ignored in case of an error reading them. Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 7af1caf commit f571e9c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@
8989
pendown-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
9090

9191
ti,x-min = /bits/ 16 <125>;
92-
touchscreen-size-x = /bits/ 16 <4008>;
92+
touchscreen-size-x = <4008>;
9393
ti,y-min = /bits/ 16 <282>;
94-
touchscreen-size-y = /bits/ 16 <3864>;
94+
touchscreen-size-y = <3864>;
9595
ti,x-plate-ohms = /bits/ 16 <180>;
96-
touchscreen-max-pressure = /bits/ 16 <255>;
97-
touchscreen-average-samples = /bits/ 16 <10>;
96+
touchscreen-max-pressure = <255>;
97+
touchscreen-average-samples = <10>;
9898
ti,debounce-tol = /bits/ 16 <3>;
9999
ti,debounce-rep = /bits/ 16 <1>;
100100
ti,settle-delay-usec = /bits/ 16 <150>;

arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@
7070
pendown-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>;
7171

7272
ti,x-min = /bits/ 16 <125>;
73-
touchscreen-size-x = /bits/ 16 <4008>;
73+
touchscreen-size-x = <4008>;
7474
ti,y-min = /bits/ 16 <282>;
75-
touchscreen-size-y = /bits/ 16 <3864>;
75+
touchscreen-size-y = <3864>;
7676
ti,x-plate-ohms = /bits/ 16 <180>;
77-
touchscreen-max-pressure = /bits/ 16 <255>;
78-
touchscreen-average-samples = /bits/ 16 <10>;
77+
touchscreen-max-pressure = <255>;
78+
touchscreen-average-samples = <10>;
7979
ti,debounce-tol = /bits/ 16 <3>;
8080
ti,debounce-rep = /bits/ 16 <1>;
8181
ti,settle-delay-usec = /bits/ 16 <150>;

0 commit comments

Comments
 (0)