瀏覽代碼

ARM: dts: Fix n900 dts file to work around 4.1 touchscreen regression on n900

Fix dts to match what the Linux kernel expects. This works around
touchscreen problems in 4.1 linux on Nokia n900.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Pavel Machek 10 年之前
父節點
當前提交
8770d0898a
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt
  2. 2 2
      arch/arm/boot/dts/omap3-n900.dts

+ 2 - 2
Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt

@@ -32,8 +32,8 @@ Example:
 		touchscreen-fuzz-x = <4>;
 		touchscreen-fuzz-x = <4>;
 		touchscreen-fuzz-y = <7>;
 		touchscreen-fuzz-y = <7>;
 		touchscreen-fuzz-pressure = <2>;
 		touchscreen-fuzz-pressure = <2>;
-		touchscreen-max-x = <4096>;
-		touchscreen-max-y = <4096>;
+		touchscreen-size-x = <4096>;
+		touchscreen-size-y = <4096>;
 		touchscreen-max-pressure = <2048>;
 		touchscreen-max-pressure = <2048>;
 
 
 		ti,x-plate-ohms = <280>;
 		ti,x-plate-ohms = <280>;

+ 2 - 2
arch/arm/boot/dts/omap3-n900.dts

@@ -832,8 +832,8 @@
 		touchscreen-fuzz-x = <4>;
 		touchscreen-fuzz-x = <4>;
 		touchscreen-fuzz-y = <7>;
 		touchscreen-fuzz-y = <7>;
 		touchscreen-fuzz-pressure = <2>;
 		touchscreen-fuzz-pressure = <2>;
-		touchscreen-max-x = <4096>;
-		touchscreen-max-y = <4096>;
+		touchscreen-size-x = <4096>;
+		touchscreen-size-y = <4096>;
 		touchscreen-max-pressure = <2048>;
 		touchscreen-max-pressure = <2048>;
 
 
 		ti,x-plate-ohms = <280>;
 		ti,x-plate-ohms = <280>;