Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec49a86c authored by Fugang Duan's avatar Fugang Duan Committed by Tony Lindgren
Browse files

ARM: dts: omap3: correct the format of u16 values for tsc2046 node



In tsc2046 touch driver, the values such as ti,x-min is defined as a u16
value. the driver use API of_property_read_u16() read the value. For these
u16 value, the dts entry should be like:
	property = /bits/ 16 <0x5000>;
This describes the property as a u16 value.

Signed-off-by: default avatarFugang Duan <B38611@freescale.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 80edaaea
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -319,12 +319,12 @@
		pinctrl-names = "default";
		pinctrl-0 = <&tsc2048_pins>;

		ti,x-min = <300>;
		ti,x-max = <3000>;
		ti,y-min = <600>;
		ti,y-max = <3600>;
		ti,x-plate-ohms = <80>;
		ti,pressure-max = <255>;
		ti,x-min = /bits/ 16 <300>;
		ti,x-max = /bits/ 16 <3000>;
		ti,y-min = /bits/ 16 <600>;
		ti,y-max = /bits/ 16 <3600>;
		ti,x-plate-ohms = /bits/ 16 <80>;
		ti,pressure-max = /bits/ 16 <255>;
		ti,swap-xy;

		linux,wakeup;