aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-pxa/ezx.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/ezx.c b/arch/arm/mach-pxa/ezx.c
index 1382b4919d16..4f212e1b9539 100644
--- a/arch/arm/mach-pxa/ezx.c
+++ b/arch/arm/mach-pxa/ezx.c
@@ -679,6 +679,10 @@ MACHINE_END
679#endif 679#endif
680 680
681#ifdef CONFIG_MACH_EZX_E680 681#ifdef CONFIG_MACH_EZX_E680
682static struct i2c_board_info __initdata e680_i2c_board_info[] = {
683 { I2C_BOARD_INFO("tea5767", 0x81) },
684};
685
682static void __init e680_init(void) 686static void __init e680_init(void)
683{ 687{
684 pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config)); 688 pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config));
@@ -686,6 +690,7 @@ static void __init e680_init(void)
686 pxa2xx_mfp_config(ARRAY_AND_SIZE(e680_pin_config)); 690 pxa2xx_mfp_config(ARRAY_AND_SIZE(e680_pin_config));
687 691
688 pxa_set_i2c_info(NULL); 692 pxa_set_i2c_info(NULL);
693 i2c_register_board_info(0, ARRAY_AND_SIZE(e680_i2c_board_info));
689 694
690 set_pxa_fb_info(&ezx_fb_info_1); 695 set_pxa_fb_info(&ezx_fb_info_1);
691 696
@@ -706,6 +711,10 @@ MACHINE_END
706#endif 711#endif
707 712
708#ifdef CONFIG_MACH_EZX_A1200 713#ifdef CONFIG_MACH_EZX_A1200
714static struct i2c_board_info __initdata a1200_i2c_board_info[] = {
715 { I2C_BOARD_INFO("tea5767", 0x81) },
716};
717
709static void __init a1200_init(void) 718static void __init a1200_init(void)
710{ 719{
711 pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config)); 720 pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config));
@@ -713,6 +722,7 @@ static void __init a1200_init(void)
713 pxa2xx_mfp_config(ARRAY_AND_SIZE(a1200_pin_config)); 722 pxa2xx_mfp_config(ARRAY_AND_SIZE(a1200_pin_config));
714 723
715 pxa_set_i2c_info(NULL); 724 pxa_set_i2c_info(NULL);
725 i2c_register_board_info(0, ARRAY_AND_SIZE(a1200_i2c_board_info));
716 726
717 set_pxa_fb_info(&ezx_fb_info_2); 727 set_pxa_fb_info(&ezx_fb_info_2);
718 728
@@ -760,6 +770,10 @@ MACHINE_END
760#endif 770#endif
761 771
762#ifdef CONFIG_MACH_EZX_E6 772#ifdef CONFIG_MACH_EZX_E6
773static struct i2c_board_info __initdata e6_i2c_board_info[] = {
774 { I2C_BOARD_INFO("tea5767", 0x81) },
775};
776
763static void __init e6_init(void) 777static void __init e6_init(void)
764{ 778{
765 pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config)); 779 pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config));
@@ -767,6 +781,7 @@ static void __init e6_init(void)
767 pxa2xx_mfp_config(ARRAY_AND_SIZE(e6_pin_config)); 781 pxa2xx_mfp_config(ARRAY_AND_SIZE(e6_pin_config));
768 782
769 pxa_set_i2c_info(NULL); 783 pxa_set_i2c_info(NULL);
784 i2c_register_board_info(0, ARRAY_AND_SIZE(e6_i2c_board_info));
770 785
771 set_pxa_fb_info(&ezx_fb_info_2); 786 set_pxa_fb_info(&ezx_fb_info_2);
772 787
@@ -787,6 +802,10 @@ MACHINE_END
787#endif 802#endif
788 803
789#ifdef CONFIG_MACH_EZX_E2 804#ifdef CONFIG_MACH_EZX_E2
805static struct i2c_board_info __initdata e2_i2c_board_info[] = {
806 { I2C_BOARD_INFO("tea5767", 0x81) },
807};
808
790static void __init e2_init(void) 809static void __init e2_init(void)
791{ 810{
792 pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config)); 811 pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config));
@@ -794,6 +813,7 @@ static void __init e2_init(void)
794 pxa2xx_mfp_config(ARRAY_AND_SIZE(e2_pin_config)); 813 pxa2xx_mfp_config(ARRAY_AND_SIZE(e2_pin_config));
795 814
796 pxa_set_i2c_info(NULL); 815 pxa_set_i2c_info(NULL);
816 i2c_register_board_info(0, ARRAY_AND_SIZE(e2_i2c_board_info));
797 817
798 set_pxa_fb_info(&ezx_fb_info_2); 818 set_pxa_fb_info(&ezx_fb_info_2);
799 819