kernel: update 3.18 to 3.18.14
[openwrt/svn-archive/archive.git] / target / linux / sunxi / patches-3.18 / 116-dt-sunxi-update-compats-for-tempcurves.patch
1 From ff774d842a2bf9136b9c7ddd7f5085a9062705ac Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Mon, 16 Jun 2014 20:06:43 +0200
4 Subject: [PATCH] ARM: dts: sunxi: Adjust touchscreen compatible for sun5i and
5 later
6
7 The touchscreen controller in the A13 and later has a different temperature
8 curve than the one in the original A10, change the compatible for the A13 and
9 later so that the kernel will use the correct curve.
10
11 Reported-by: Tong Zhang <lovewilliam@gmail.com>
12 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 ---
14 arch/arm/boot/dts/sun5i-a10s.dtsi | 2 +-
15 arch/arm/boot/dts/sun5i-a13.dtsi | 2 +-
16 arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-
17 3 files changed, 3 insertions(+), 3 deletions(-)
18
19 --- a/arch/arm/boot/dts/sun5i-a10s.dtsi
20 +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
21 @@ -533,7 +533,7 @@
22 };
23
24 rtp: rtp@01c25000 {
25 - compatible = "allwinner,sun4i-a10-ts";
26 + compatible = "allwinner,sun5i-a13-ts";
27 reg = <0x01c25000 0x100>;
28 interrupts = <29>;
29 };
30 --- a/arch/arm/boot/dts/sun5i-a13.dtsi
31 +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
32 @@ -481,7 +481,7 @@
33 };
34
35 rtp: rtp@01c25000 {
36 - compatible = "allwinner,sun4i-a10-ts";
37 + compatible = "allwinner,sun5i-a13-ts";
38 reg = <0x01c25000 0x100>;
39 interrupts = <29>;
40 };
41 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
42 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
43 @@ -924,7 +924,7 @@
44 };
45
46 rtp: rtp@01c25000 {
47 - compatible = "allwinner,sun4i-a10-ts";
48 + compatible = "allwinner,sun5i-a13-ts";
49 reg = <0x01c25000 0x100>;
50 interrupts = <0 29 4>;
51 };