ARM: dts: omap3: correct the format of u16 values for tsc2046 node
authorFugang Duan <b38611@freescale.com>
Thu, 16 Jul 2015 08:26:45 +0000 (16:26 +0800)
committerTony Lindgren <tony@atomide.com>
Tue, 21 Jul 2015 10:56:17 +0000 (03:56 -0700)
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: Fugang Duan <B38611@freescale.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-lilly-a83x.dtsi

index e63133304a341a3d7b2d3401003b351b2c821b32..d0dd0365bfda5c2e5e873ae3c817bf414417cab5 100644 (file)
                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;