116-dt-sunxi-update-compats-for-tempcurves.patch 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. The touchscreen controller in the A13 and later has a different temperature
  7. curve than the one in the original A10, change the compatible for the A13 and
  8. later so that the kernel will use the correct curve.
  9. Reported-by: Tong Zhang <lovewilliam@gmail.com>
  10. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  11. ---
  12. arch/arm/boot/dts/sun5i-a10s.dtsi | 2 +-
  13. arch/arm/boot/dts/sun5i-a13.dtsi | 2 +-
  14. arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-
  15. 3 files changed, 3 insertions(+), 3 deletions(-)
  16. diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi
  17. index 7c6c883..7089284 100644
  18. --- a/arch/arm/boot/dts/sun5i-a10s.dtsi
  19. +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi
  20. @@ -533,7 +533,7 @@
  21. };
  22. rtp: rtp@01c25000 {
  23. - compatible = "allwinner,sun4i-a10-ts";
  24. + compatible = "allwinner,sun5i-a13-ts";
  25. reg = <0x01c25000 0x100>;
  26. interrupts = <29>;
  27. };
  28. diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
  29. index aa0482c..b05ab04 100644
  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. rtp: rtp@01c25000 {
  35. - compatible = "allwinner,sun4i-a10-ts";
  36. + compatible = "allwinner,sun5i-a13-ts";
  37. reg = <0x01c25000 0x100>;
  38. interrupts = <29>;
  39. };
  40. diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
  41. index 9174423..81d4e55 100644
  42. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  43. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  44. @@ -924,7 +924,7 @@
  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. };