aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-08-19 10:42:17 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-09-26 05:07:01 -0400
commitfa9a65f7cbec439a029551b14084fc8efdc4a2ac (patch)
tree6efab88b3e460e2c2d9f27a763f402af4c9d31fb /arch
parentca24959a8901f2fbfd14f7aeeee3590acc702c9b (diff)
ARM: ux500: Purge support for Snowball user buttons when booting with 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')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c62
1 files changed, 0 insertions, 62 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index a79e769dd554..6dcf023b0b96 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -118,67 +118,6 @@ static struct ab8500_codec_platform_data ab8500_codec_pdata = {
118 .ear_cmv = EAR_CMV_0_95V 118 .ear_cmv = EAR_CMV_0_95V
119}; 119};
120 120
121static struct gpio_keys_button snowball_key_array[] = {
122 {
123 .gpio = 32,
124 .type = EV_KEY,
125 .code = KEY_1,
126 .desc = "userpb",
127 .active_low = 1,
128 .debounce_interval = 50,
129 .wakeup = 1,
130 },
131 {
132 .gpio = 151,
133 .type = EV_KEY,
134 .code = KEY_2,
135 .desc = "extkb1",
136 .active_low = 1,
137 .debounce_interval = 50,
138 .wakeup = 1,
139 },
140 {
141 .gpio = 152,
142 .type = EV_KEY,
143 .code = KEY_3,
144 .desc = "extkb2",
145 .active_low = 1,
146 .debounce_interval = 50,
147 .wakeup = 1,
148 },
149 {
150 .gpio = 161,
151 .type = EV_KEY,
152 .code = KEY_4,
153 .desc = "extkb3",
154 .active_low = 1,
155 .debounce_interval = 50,
156 .wakeup = 1,
157 },
158 {
159 .gpio = 162,
160 .type = EV_KEY,
161 .code = KEY_5,
162 .desc = "extkb4",
163 .active_low = 1,
164 .debounce_interval = 50,
165 .wakeup = 1,
166 },
167};
168
169static struct gpio_keys_platform_data snowball_key_data = {
170 .buttons = snowball_key_array,
171 .nbuttons = ARRAY_SIZE(snowball_key_array),
172};
173
174static struct platform_device snowball_key_dev = {
175 .name = "gpio-keys",
176 .id = -1,
177 .dev = {
178 .platform_data = &snowball_key_data,
179 }
180};
181
182static struct smsc911x_platform_config snowball_sbnet_cfg = { 121static struct smsc911x_platform_config snowball_sbnet_cfg = {
183 .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_HIGH, 122 .irq_polarity = SMSC911X_IRQ_POLARITY_ACTIVE_HIGH,
184 .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL, 123 .irq_type = SMSC911X_IRQ_TYPE_PUSH_PULL,
@@ -469,7 +408,6 @@ static void __init u8500_cryp1_hash1_init(struct device *parent)
469} 408}
470 409
471static struct platform_device *snowball_platform_devs[] __initdata = { 410static struct platform_device *snowball_platform_devs[] __initdata = {
472 &snowball_key_dev,
473 &snowball_sbnet_dev, 411 &snowball_sbnet_dev,
474 &snowball_gpio_en_3v3_regulator_dev, 412 &snowball_gpio_en_3v3_regulator_dev,
475 &u8500_cpufreq_cooling_device, 413 &u8500_cpufreq_cooling_device,