diff options
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch')
-rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch new file mode 100644 index 00000000..5b60b4c7 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/beaglebone/0005-beaglebone-disable-tsadc.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 622a15ae235de585d3223384828d68ed6faa7730 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Tue, 31 Jan 2012 10:09:06 +0100 | ||
4 | Subject: [PATCH 05/22] beaglebone: disable tsadc | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
7 | --- | ||
8 | arch/arm/mach-omap2/board-am335xevm.c | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c | ||
12 | index 177ab9e..87ccf14 100644 | ||
13 | --- a/arch/arm/mach-omap2/board-am335xevm.c | ||
14 | +++ b/arch/arm/mach-omap2/board-am335xevm.c | ||
15 | @@ -248,11 +248,11 @@ static struct resource tsc_resources[] = { | ||
16 | static struct tsc_data am335x_touchscreen_data = { | ||
17 | .wires = 4, | ||
18 | .x_plate_resistance = 200, | ||
19 | - .mode = TI_TSCADC_TSCMODE, | ||
20 | +// .mode = TI_TSCADC_TSCMODE, | ||
21 | }; | ||
22 | |||
23 | static struct tsc_data bone_touchscreen_data = { | ||
24 | - .mode = TI_TSCADC_GENMODE, | ||
25 | +// .mode = TI_TSCADC_GENMODE, | ||
26 | }; | ||
27 | |||
28 | static struct platform_device tsc_device = { | ||
29 | -- | ||
30 | 1.7.9.4 | ||
31 | |||