Merge branch 'imx/fixes' of git://git.pengutronix.de/git/imx/linux-2.6 into fixes
authorOlof Johansson <olof@lixom.net>
Thu, 7 Jun 2012 21:59:28 +0000 (14:59 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 7 Jun 2012 21:59:28 +0000 (14:59 -0700)
* 'imx/fixes' of git://git.pengutronix.de/git/imx/linux-2.6:
  ARM i.MX imx21ads: Fix overlapping static i/o mappings
  ARM i.MX27 Visstrim M10: fix gpio handling.
  ARM: imx: only call l2x0_init if it's available
  ARM: imx: only specify i2c device type once
  ARM: mx31_3ds: Fix build due to missing IMX_HAVE_PLATFORM_IMX_SSI

1  2 
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/mach-cpuimx35.c
arch/arm/mach-imx/mach-cpuimx51sd.c
arch/arm/mach-imx/mach-imx27_visstrim_m10.c
arch/arm/mach-imx/mach-mx21ads.c
arch/arm/mach-imx/mm-imx3.c

Simple merge
Simple merge
@@@ -142,8 -124,8 +142,7 @@@ static struct i2c_board_info eukrea_cpu
                I2C_BOARD_INFO("pcf8563", 0x51),
        }, {
                I2C_BOARD_INFO("tsc2007", 0x49),
-               .type           = "tsc2007",
                .platform_data  = &tsc2007_info,
 -              .irq            = IMX_GPIO_TO_IRQ(TSC2007_IRQGPIO),
        },
  };
  
@@@ -128,25 -121,26 +130,43 @@@ static const int visstrim_m10_pins[] __
        PB19_PF_CSI_D7,
        PB20_PF_CSI_VSYNC,
        PB21_PF_CSI_HSYNC,
 +      /* mother board version */
 +      MOTHERBOARD_BIT2 | GPIO_GPIO | GPIO_IN | GPIO_PUEN,
 +      MOTHERBOARD_BIT1 | GPIO_GPIO | GPIO_IN | GPIO_PUEN,
 +      MOTHERBOARD_BIT0 | GPIO_GPIO | GPIO_IN | GPIO_PUEN,
 +      /* expansion board version */
 +      EXPBOARD_BIT2 | GPIO_GPIO | GPIO_IN | GPIO_PUEN,
 +      EXPBOARD_BIT1 | GPIO_GPIO | GPIO_IN | GPIO_PUEN,
 +      EXPBOARD_BIT0 | GPIO_GPIO | GPIO_IN | GPIO_PUEN,
 +};
 +
 +static struct gpio visstrim_m10_version_gpios[] = {
 +      { EXPBOARD_BIT0, GPIOF_IN, "exp-version-0" },
 +      { EXPBOARD_BIT1, GPIOF_IN, "exp-version-1" },
 +      { EXPBOARD_BIT2, GPIOF_IN, "exp-version-2" },
 +      { MOTHERBOARD_BIT0, GPIOF_IN, "mother-version-0" },
 +      { MOTHERBOARD_BIT1, GPIOF_IN, "mother-version-1" },
 +      { MOTHERBOARD_BIT2, GPIOF_IN, "mother-version-2" },
  };
  
+ static const struct gpio visstrim_m10_gpios[] __initconst = {
+       {
+               .gpio = TVP5150_RSTN,
+               .flags = GPIOF_DIR_OUT | GPIOF_INIT_HIGH,
+               .label = "tvp5150_rstn",
+       },
+       {
+               .gpio = TVP5150_PWDN,
+               .flags = GPIOF_DIR_OUT | GPIOF_INIT_LOW,
+               .label = "tvp5150_pwdn",
+       },
+       {
+               .gpio = OTG_PHY_CS_GPIO,
+               .flags = GPIOF_DIR_OUT | GPIOF_INIT_LOW,
+               .label = "usbotg_cs",
+       },
+ };
  /* Camera */
  static int visstrim_camera_power(struct device *dev, int on)
  {
Simple merge
Simple merge