aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-18 09:32:16 -0400
committerLinus Walleij <linus.walleij@linaro.org>2013-09-26 05:06:54 -0400
commit7a42f980b242d3dfcde795569f9067db55342f05 (patch)
tree42fd6f7543566749d28dfc8eea632039448d629c
parent3e8af2e1cd214363f7de38544adea75c8f5e920c (diff)
ARM: ux500: Remove ATAG support for LP5521 Programmable Three-Channel LED driver
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>
-rw-r--r--arch/arm/mach-ux500/board-mop500.c60
1 files changed, 0 insertions, 60 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 32f7d533d66e..edf5a8799403 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -265,56 +265,6 @@ static struct tc3589x_platform_data mop500_tc35892_data = {
265 .irq_base = MOP500_EGPIO_IRQ_BASE, 265 .irq_base = MOP500_EGPIO_IRQ_BASE,
266}; 266};
267 267
268static struct lp55xx_led_config lp5521_pri_led[] = {
269 [0] = {
270 .chan_nr = 0,
271 .led_current = 0x2f,
272 .max_current = 0x5f,
273 },
274 [1] = {
275 .chan_nr = 1,
276 .led_current = 0x2f,
277 .max_current = 0x5f,
278 },
279 [2] = {
280 .chan_nr = 2,
281 .led_current = 0x2f,
282 .max_current = 0x5f,
283 },
284};
285
286static struct lp55xx_platform_data __initdata lp5521_pri_data = {
287 .label = "lp5521_pri",
288 .led_config = &lp5521_pri_led[0],
289 .num_channels = 3,
290 .clock_mode = LP55XX_CLOCK_EXT,
291};
292
293static struct lp55xx_led_config lp5521_sec_led[] = {
294 [0] = {
295 .chan_nr = 0,
296 .led_current = 0x2f,
297 .max_current = 0x5f,
298 },
299 [1] = {
300 .chan_nr = 1,
301 .led_current = 0x2f,
302 .max_current = 0x5f,
303 },
304 [2] = {
305 .chan_nr = 2,
306 .led_current = 0x2f,
307 .max_current = 0x5f,
308 },
309};
310
311static struct lp55xx_platform_data __initdata lp5521_sec_data = {
312 .label = "lp5521_sec",
313 .led_config = &lp5521_sec_led[0],
314 .num_channels = 3,
315 .clock_mode = LP55XX_CLOCK_EXT,
316};
317
318/* I2C0 devices only available on the first HREF/MOP500 */ 268/* I2C0 devices only available on the first HREF/MOP500 */
319static struct i2c_board_info __initdata mop500_i2c0_devices[] = { 269static struct i2c_board_info __initdata mop500_i2c0_devices[] = {
320 { 270 {
@@ -326,16 +276,6 @@ static struct i2c_board_info __initdata mop500_i2c0_devices[] = {
326 276
327static struct i2c_board_info __initdata mop500_i2c2_devices[] = { 277static struct i2c_board_info __initdata mop500_i2c2_devices[] = {
328 { 278 {
329 /* lp5521 LED driver, 1st device */
330 I2C_BOARD_INFO("lp5521", 0x33),
331 .platform_data = &lp5521_pri_data,
332 },
333 {
334 /* lp5521 LED driver, 2st device */
335 I2C_BOARD_INFO("lp5521", 0x34),
336 .platform_data = &lp5521_sec_data,
337 },
338 {
339 /* Light sensor Rohm BH1780GLI */ 279 /* Light sensor Rohm BH1780GLI */
340 I2C_BOARD_INFO("bh1780", 0x29), 280 I2C_BOARD_INFO("bh1780", 0x29),
341 }, 281 },