mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
[ARM] pxa/ezx: I2C configuration
I2C platform data setups. Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com> Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: Eric Miao <eric.miao@marvell.com>
This commit is contained in:
parent
fe9490c67a
commit
bc09cf6de2
1 changed files with 20 additions and 0 deletions
|
@ -679,6 +679,10 @@ MACHINE_END
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_MACH_EZX_E680
|
||||
static struct i2c_board_info __initdata e680_i2c_board_info[] = {
|
||||
{ I2C_BOARD_INFO("tea5767", 0x81) },
|
||||
};
|
||||
|
||||
static void __init e680_init(void)
|
||||
{
|
||||
pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config));
|
||||
|
@ -686,6 +690,7 @@ static void __init e680_init(void)
|
|||
pxa2xx_mfp_config(ARRAY_AND_SIZE(e680_pin_config));
|
||||
|
||||
pxa_set_i2c_info(NULL);
|
||||
i2c_register_board_info(0, ARRAY_AND_SIZE(e680_i2c_board_info));
|
||||
|
||||
set_pxa_fb_info(&ezx_fb_info_1);
|
||||
|
||||
|
@ -706,6 +711,10 @@ MACHINE_END
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_MACH_EZX_A1200
|
||||
static struct i2c_board_info __initdata a1200_i2c_board_info[] = {
|
||||
{ I2C_BOARD_INFO("tea5767", 0x81) },
|
||||
};
|
||||
|
||||
static void __init a1200_init(void)
|
||||
{
|
||||
pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config));
|
||||
|
@ -713,6 +722,7 @@ static void __init a1200_init(void)
|
|||
pxa2xx_mfp_config(ARRAY_AND_SIZE(a1200_pin_config));
|
||||
|
||||
pxa_set_i2c_info(NULL);
|
||||
i2c_register_board_info(0, ARRAY_AND_SIZE(a1200_i2c_board_info));
|
||||
|
||||
set_pxa_fb_info(&ezx_fb_info_2);
|
||||
|
||||
|
@ -760,6 +770,10 @@ MACHINE_END
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_MACH_EZX_E6
|
||||
static struct i2c_board_info __initdata e6_i2c_board_info[] = {
|
||||
{ I2C_BOARD_INFO("tea5767", 0x81) },
|
||||
};
|
||||
|
||||
static void __init e6_init(void)
|
||||
{
|
||||
pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config));
|
||||
|
@ -767,6 +781,7 @@ static void __init e6_init(void)
|
|||
pxa2xx_mfp_config(ARRAY_AND_SIZE(e6_pin_config));
|
||||
|
||||
pxa_set_i2c_info(NULL);
|
||||
i2c_register_board_info(0, ARRAY_AND_SIZE(e6_i2c_board_info));
|
||||
|
||||
set_pxa_fb_info(&ezx_fb_info_2);
|
||||
|
||||
|
@ -787,6 +802,10 @@ MACHINE_END
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_MACH_EZX_E2
|
||||
static struct i2c_board_info __initdata e2_i2c_board_info[] = {
|
||||
{ I2C_BOARD_INFO("tea5767", 0x81) },
|
||||
};
|
||||
|
||||
static void __init e2_init(void)
|
||||
{
|
||||
pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config));
|
||||
|
@ -794,6 +813,7 @@ static void __init e2_init(void)
|
|||
pxa2xx_mfp_config(ARRAY_AND_SIZE(e2_pin_config));
|
||||
|
||||
pxa_set_i2c_info(NULL);
|
||||
i2c_register_board_info(0, ARRAY_AND_SIZE(e2_i2c_board_info));
|
||||
|
||||
set_pxa_fb_info(&ezx_fb_info_2);
|
||||
|
||||
|
|
Loading…
Reference in a new issue