Merge branch 'next-s3c64xx-device' into next-merged
authorBen Dooks <ben-linux@fluff.org>
Thu, 18 Dec 2008 16:17:37 +0000 (16:17 +0000)
committerBen Dooks <ben-linux@fluff.org>
Thu, 18 Dec 2008 16:17:37 +0000 (16:17 +0000)
Conflicts:

arch/arm/mach-s3c2440/mach-at2440evb.c

1  2 
arch/arm/mach-s3c2412/mach-jive.c
arch/arm/mach-s3c2440/mach-anubis.c
arch/arm/mach-s3c2440/mach-at2440evb.c
arch/arm/mach-s3c6410/mach-smdk6410.c
arch/arm/plat-s3c/Kconfig
arch/arm/plat-s3c24xx/Makefile
arch/arm/plat-s3c24xx/devs.c

Simple merge
Simple merge
index 4539b1d958775e9946b68963ea29e5cdf3360f87,55e07ae5ab8c0368aeef7953e9a1992bc9b69812..0a6d0a5d961b10a6ce76aae9dcd0945262910626
@@@ -205,11 -167,9 +206,11 @@@ static struct platform_device *at2440ev
        &s3c_device_usb,
        &s3c_device_wdt,
        &s3c_device_adc,
-       &s3c_device_i2c,
+       &s3c_device_i2c0,
        &s3c_device_rtc,
        &s3c_device_nand,
 +      &s3c_device_sdi,
 +      &s3c_device_lcd,
        &at2440evb_device_eth,
  };
  
@@@ -226,7 -184,7 +227,9 @@@ static void __init at2440evb_map_io(voi
  
  static void __init at2440evb_init(void)
  {
 +      s3c24xx_fb_set_platdata(&at2440evb_fb_info);
+       s3c_i2c0_set_platdata(NULL);
++
        platform_add_devices(at2440evb_devices, ARRAY_SIZE(at2440evb_devices));
  }
  
index 9213a8ba283b1b1c52ffe1c71fde0b445cbd36e9,ae3bd5c2b8c63e6c5af6761cd861e810ee6ddd3c..3c4d47145c832bd5ce75a7b7689242e052177684
@@@ -62,8 -132,29 +132,27 @@@ static struct s3c_fb_platdata smdk6410_
  struct map_desc smdk6410_iodesc[] = {};
  
  static struct platform_device *smdk6410_devices[] __initdata = {
+ #ifdef CONFIG_SMDK6410_SD_CH0
+       &s3c_device_hsmmc0,
+ #endif
+ #ifdef CONFIG_SMDK6410_SD_CH1
+       &s3c_device_hsmmc1,
+ #endif
+       &s3c_device_i2c0,
+       &s3c_device_i2c1,
+       &s3c_device_fb,
+       &smdk6410_lcd_powerdev,
+ };
+ static struct i2c_board_info i2c_devs0[] __initdata = {
+       { I2C_BOARD_INFO("24c08", 0x50), },
+       { I2C_BOARD_INFO("WM8580", 0X1b), },
+ };
+ static struct i2c_board_info i2c_devs1[] __initdata = {
+       { I2C_BOARD_INFO("24c128", 0x57), },    /* Samsung S524AD0XD1 */
  };
  
 -extern void s3c64xx_init_io(struct map_desc *, int);
 -
  static void __init smdk6410_map_io(void)
  {
        s3c64xx_init_io(smdk6410_iodesc, ARRAY_SIZE(smdk6410_iodesc));
Simple merge
index a8cfdefc29e9101b3a2ad67e44f34c191d1cf956,763d3444048b7035693cdda3c6e665719602435c..1e0767b266b8e9d6963bb390a02b1bf203b9b801
@@@ -31,8 -31,10 +31,11 @@@ obj-$(CONFIG_PM)            += sleep.
  obj-$(CONFIG_HAVE_PWM)                += pwm.o
  obj-$(CONFIG_S3C2410_CLOCK)   += s3c2410-clock.o
  obj-$(CONFIG_S3C2410_DMA)     += dma.o
 +obj-$(CONFIG_S3C24XX_ADC)     += adc.o
  
+ # device specific setup and/or initialisation
+ obj-$(CONFIG_ARCH_S3C2410)    += setup-i2c.o
  # SPI gpio central GPIO functions
  
  obj-$(CONFIG_S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13) += spi-bus0-gpe11_12_13.o
Simple merge