提交 fd0964c5 编写于 作者: H Heikki Krogerus 提交者: Anton Vorontsov

omap: rx51: Add support for USB chargers

This enables isp1704 power supply driver on RX51, allowing
USB charger detection with N900.
Signed-off-by: NHeikki Krogerus <ext-heikki.krogerus@nokia.com>
Acked-by: NTony Lindgren <tony@atomide.com>
Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
上级 ec46475f
......@@ -104,6 +104,10 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = {
},
};
static struct platform_device rx51_charger_device = {
.name = "isp1704_charger",
};
#if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
#define RX51_GPIO_CAMERA_LENS_COVER 110
......@@ -909,5 +913,6 @@ void __init rx51_peripherals_init(void)
spi_register_board_info(rx51_peripherals_spi_board_info,
ARRAY_SIZE(rx51_peripherals_spi_board_info));
omap2_hsmmc_init(mmc);
platform_device_register(&rx51_charger_device);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册