summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
diff options
context:
space:
mode:
authorLee Jones2013-08-23 10:52:12 +0200
committerLinus Walleij2013-09-26 11:08:45 +0200
commit2f0eebcbb4ae68bc8f4bf1d78bd23bbe817e58fd (patch)
tree02850e87bd191eac5174f66571c737b155e4185d /arch/arm/mach-ux500
parentARM: ux500: Don't register the STMPE/SKE when booting with ATAG support (diff)
downloadkernel-qcow2-linux-2f0eebcbb4ae68bc8f4bf1d78bd23bbe817e58fd.tar.gz
kernel-qcow2-linux-2f0eebcbb4ae68bc8f4bf1d78bd23bbe817e58fd.tar.xz
kernel-qcow2-linux-2f0eebcbb4ae68bc8f4bf1d78bd23bbe817e58fd.zip
ARM: ux500: Remove BU21013 ROHM TS support when booting with only ATAGs
It's time to remove all ATAG support from ux500 and rely solely on Device Tree booting. This patch is part of that endeavour. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r--arch/arm/mach-ux500/board-mop500-stuib.c44
1 files changed, 0 insertions, 44 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-stuib.c b/arch/arm/mach-ux500/board-mop500-stuib.c
index b57996b5fe68..7fa30217cc01 100644
--- a/arch/arm/mach-ux500/board-mop500-stuib.c
+++ b/arch/arm/mach-ux500/board-mop500-stuib.c
@@ -6,53 +6,9 @@
#include <linux/kernel.h>
#include <linux/init.h>
-#include <linux/input/bu21013.h>
-#include <linux/gpio.h>
-#include <linux/interrupt.h>
-#include <linux/i2c.h>
-#include <asm/mach-types.h>
#include "board-mop500.h"
-/*
- * BU21013 ROHM touchscreen interface on the STUIBs
- */
-
-#define TOUCH_GPIO_PIN 84
-
-#define TOUCH_XMAX 384
-#define TOUCH_YMAX 704
-
-#define PRCMU_CLOCK_OCR 0x1CC
-#define TSC_EXT_CLOCK_9_6MHZ 0x840000
-
-static struct bu21013_platform_device tsc_plat_device = {
- .touch_pin = TOUCH_GPIO_PIN,
- .touch_x_max = TOUCH_XMAX,
- .touch_y_max = TOUCH_YMAX,
- .ext_clk = false,
- .x_flip = false,
- .y_flip = true,
-};
-
-static struct i2c_board_info __initdata u8500_i2c3_devices_stuib[] = {
- {
- I2C_BOARD_INFO("bu21013_tp", 0x5C),
- .platform_data = &tsc_plat_device,
- },
- {
- I2C_BOARD_INFO("bu21013_tp", 0x5D),
- .platform_data = &tsc_plat_device,
- },
-};
-
void __init mop500_stuib_init(void)
{
- if (machine_is_hrefv60())
- tsc_plat_device.cs_pin = HREFV60_TOUCH_RST_GPIO;
- else
- tsc_plat_device.cs_pin = GPIO_BU21013_CS;
-
- mop500_uib_i2c_add(3, u8500_i2c3_devices_stuib,
- ARRAY_SIZE(u8500_i2c3_devices_stuib));
}