summaryrefslogtreecommitdiff
path: root/target/linux/omap/patches-3.12/901-arm-dts-am335x-sk-add-touchscreen-support.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2013-11-15 12:23:17 +0000
committerImre Kaloz <kaloz@openwrt.org>2013-11-15 12:23:17 +0000
commite4eef7e6207078a4987b0e02d2ad4068083cf921 (patch)
treeae97c3d14f8a010428d78dfc27dde471ad897232 /target/linux/omap/patches-3.12/901-arm-dts-am335x-sk-add-touchscreen-support.patch
parent1f3478901593dd3bb4f32b2cdcb4c4cfecdbea5a (diff)
downloadmtk-20170518-e4eef7e6207078a4987b0e02d2ad4068083cf921.zip
mtk-20170518-e4eef7e6207078a4987b0e02d2ad4068083cf921.tar.gz
mtk-20170518-e4eef7e6207078a4987b0e02d2ad4068083cf921.tar.bz2
replace the TI patch with a smaller patchset
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38816
Diffstat (limited to 'target/linux/omap/patches-3.12/901-arm-dts-am335x-sk-add-touchscreen-support.patch')
-rw-r--r--target/linux/omap/patches-3.12/901-arm-dts-am335x-sk-add-touchscreen-support.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/omap/patches-3.12/901-arm-dts-am335x-sk-add-touchscreen-support.patch b/target/linux/omap/patches-3.12/901-arm-dts-am335x-sk-add-touchscreen-support.patch
new file mode 100644
index 0000000..ed62006
--- /dev/null
+++ b/target/linux/omap/patches-3.12/901-arm-dts-am335x-sk-add-touchscreen-support.patch
@@ -0,0 +1,37 @@
+From 588b7a5db74c02bcf0b3ac57b6391debffbff74c Mon Sep 17 00:00:00 2001
+From: Felipe Balbi <balbi@ti.com>
+Date: Mon, 21 Oct 2013 15:06:54 -0500
+Subject: [PATCH 582/752] arm: dts: am335x sk: add touchscreen support
+
+Add missing nodes for the touchscreen available
+on AM335x EVM SK.
+
+Signed-off-by: Felipe Balbi <balbi@ti.com>
+---
+ arch/arm/boot/dts/am335x-evmsk.dts | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
+index 7fae4e0..ddbf6ca 100644
+--- a/arch/arm/boot/dts/am335x-evmsk.dts
++++ b/arch/arm/boot/dts/am335x-evmsk.dts
+@@ -454,6 +454,16 @@
+ phy-mode = "rgmii-txid";
+ };
+
++&tscadc {
++ status = "okay";
++ tsc {
++ ti,wires = <4>;
++ ti,x-plate-resistance = <200>;
++ ti,coordinate-readouts = <5>;
++ ti,wire-config = <0x00 0x11 0x22 0x33>;
++ };
++};
++
+ &gpio0 {
+ ti,no-reset;
+ };
+--
+1.7.10.4
+