Commit 18264436 authored by Tony Lindgren's avatar Tony Lindgren

ARM: OMAP: Copied back OMAP version of TPS65010 driver

Copied back OMAP version of TPS65010 driver
parent ef538f20
...@@ -535,7 +535,7 @@ fail1: ...@@ -535,7 +535,7 @@ fail1:
tps->irq = OMAP_GPIO_IRQ(58); tps->irq = OMAP_GPIO_IRQ(58);
omap_request_gpio(58); omap_request_gpio(58);
omap_set_gpio_direction(58, 1); omap_set_gpio_direction(58, 1);
omap_set_gpio_edge_ctrl(58, OMAP_GPIO_FALLING_EDGE); set_irq_type(tps->irq, IRQT_FALLING);
} }
if (machine_is_omap_osk()) { if (machine_is_omap_osk()) {
tps->model = TPS65010; tps->model = TPS65010;
...@@ -543,7 +543,7 @@ fail1: ...@@ -543,7 +543,7 @@ fail1:
tps->irq = OMAP_GPIO_IRQ(OMAP_MPUIO(1)); tps->irq = OMAP_GPIO_IRQ(OMAP_MPUIO(1));
omap_request_gpio(OMAP_MPUIO(1)); omap_request_gpio(OMAP_MPUIO(1));
omap_set_gpio_direction(OMAP_MPUIO(1), 1); omap_set_gpio_direction(OMAP_MPUIO(1), 1);
omap_set_gpio_edge_ctrl(OMAP_MPUIO(1), OMAP_GPIO_FALLING_EDGE); set_irq_type(tps->irq, IRQT_FALLING);
} }
if (machine_is_omap_h3()) { if (machine_is_omap_h3()) {
tps->model = TPS65013; tps->model = TPS65013;
...@@ -1049,8 +1049,8 @@ static int __init tps_init(void) ...@@ -1049,8 +1049,8 @@ static int __init tps_init(void)
} else if (machine_is_omap_h3()) { } else if (machine_is_omap_h3()) {
/* gpio4 for SD, gpio3 for VDD_DSP */ /* gpio4 for SD, gpio3 for VDD_DSP */
#ifdef CONFIG_PM #ifdef CONFIG_PM
/* Enable LOW_PWR */ /* FIXME: Enable LOW_PWR hangs H3 */
tps65013_set_low_pwr(ON); //tps65013_set_low_pwr(ON);
#endif #endif
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment