diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-23 20:34:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-23 20:34:48 -0400 |
commit | f1d2c07d331f717da79a42952be7dc1c0d35f846 (patch) | |
tree | 5bc98d2d63a37b688b40a4641855c512b385d0ae /arch/arm/mach-s5pv210 | |
parent | a17f29a5e98c0a32a900a773083c719e27f4bc0e (diff) | |
parent | d003e09891fdc0c170b99328eba7ed004809ef5a (diff) |
Merge tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull arm-soc board specific updates from Arnd Bergmann:
"These changes are all for individual board files. In the long run,
those files will largely go away, and the amount of changes appears to
be continuously decreasing, which is a good sign. This time around,
changes are focused on tegra, omap and samsung."
Fix conflicts in arch/arm/mach-{omap2/common-board-devices.c,tegra/Makefile.boot}
as per the 'for-linus' branch.
* tag 'boards' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (39 commits)
ARM: EXYNOS: Add leds status1 and status2 on Origen board
ARM: S3C64XX: Mark most Cragganmore initdata devinitdata
ARM: EXYNOS: Add missing .reserve field to SMDKC210
ARM: EXYNOS: Add DRM device to SMDK4X12 board
ARM: S3C64XX: Clean up after SPI driver platform data updates
ARM: SAMSUNG: no need to set the value for clk_xusbxti when it is 24Mhz
ARM: EXYNOS: Add framebuffer support for SMDK4X12
ARM: EXYNOS: Add HSOTG support to SMDK4X12
ARM: S5PV210: Add audio platform device in Goni board
ARM: S5PV210: Add audio platform device in Aquila board
ARM: EXYNOS: Add audio platform device in SMDKV310 board
ARM: S3C64XX: Don't specify an irq_base for WM1192-EV1 board
ARM: OMAP3: Fix omap3evm randconfig error introduced by VBUS support
ARM: OMAP: board-omap4panda: MUX configuration for sys_nirq2
ARM: OMAP: board-4430sdp: MUX configuration for sys_nirq2
ARM: OMAP3530evm: set pendown_state and debounce time for ads7846
ARM: omap3evm: enable VBUS switch for EHCI tranceiver
ARM: OMAP3EVM: Adding USB internal LDOs board file
ARM: OMAP3EVM: Add NAND flash definition
ARM: OMAP3: cm-t35: add tvp5150 decoder support
...
Diffstat (limited to 'arch/arm/mach-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-aquila.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 10 |
4 files changed, 26 insertions, 4 deletions
diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig index 88e983b0c82e..77185c38188b 100644 --- a/arch/arm/mach-s5pv210/Kconfig +++ b/arch/arm/mach-s5pv210/Kconfig | |||
@@ -152,6 +152,7 @@ config MACH_SMDKV210 | |||
152 | select S3C_DEV_I2C1 | 152 | select S3C_DEV_I2C1 |
153 | select S3C_DEV_I2C2 | 153 | select S3C_DEV_I2C2 |
154 | select S3C_DEV_RTC | 154 | select S3C_DEV_RTC |
155 | select S3C_DEV_USB_HSOTG | ||
155 | select S3C_DEV_WDT | 156 | select S3C_DEV_WDT |
156 | select S5P_DEV_FIMC0 | 157 | select S5P_DEV_FIMC0 |
157 | select S5P_DEV_FIMC1 | 158 | select S5P_DEV_FIMC1 |
@@ -170,6 +171,7 @@ config MACH_SMDKV210 | |||
170 | select S5PV210_SETUP_IDE | 171 | select S5PV210_SETUP_IDE |
171 | select S5PV210_SETUP_KEYPAD | 172 | select S5PV210_SETUP_KEYPAD |
172 | select S5PV210_SETUP_SDHCI | 173 | select S5PV210_SETUP_SDHCI |
174 | select S5PV210_SETUP_USB_PHY | ||
173 | help | 175 | help |
174 | Machine support for Samsung SMDKV210 | 176 | Machine support for Samsung SMDKV210 |
175 | 177 | ||
diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index af528f9e97f9..78028df86c5d 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c | |||
@@ -600,10 +600,17 @@ static void aquila_setup_sdhci(void) | |||
600 | s3c_sdhci2_set_platdata(&aquila_hsmmc2_data); | 600 | s3c_sdhci2_set_platdata(&aquila_hsmmc2_data); |
601 | }; | 601 | }; |
602 | 602 | ||
603 | /* Audio device */ | ||
604 | static struct platform_device aquila_device_audio = { | ||
605 | .name = "smdk-audio", | ||
606 | .id = -1, | ||
607 | }; | ||
608 | |||
603 | static struct platform_device *aquila_devices[] __initdata = { | 609 | static struct platform_device *aquila_devices[] __initdata = { |
604 | &aquila_i2c_gpio_pmic, | 610 | &aquila_i2c_gpio_pmic, |
605 | &aquila_i2c_gpio5, | 611 | &aquila_i2c_gpio5, |
606 | &aquila_device_gpiokeys, | 612 | &aquila_device_gpiokeys, |
613 | &aquila_device_audio, | ||
607 | &s3c_device_fb, | 614 | &s3c_device_fb, |
608 | &s5p_device_onenand, | 615 | &s5p_device_onenand, |
609 | &s3c_device_hsmmc0, | 616 | &s3c_device_hsmmc0, |
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index bf5087c2b7fe..822a55950685 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -859,12 +859,19 @@ static struct s5p_platform_fimc goni_fimc_md_platdata __initdata = { | |||
859 | .num_clients = ARRAY_SIZE(goni_camera_sensors), | 859 | .num_clients = ARRAY_SIZE(goni_camera_sensors), |
860 | }; | 860 | }; |
861 | 861 | ||
862 | /* Audio device */ | ||
863 | static struct platform_device goni_device_audio = { | ||
864 | .name = "smdk-audio", | ||
865 | .id = -1, | ||
866 | }; | ||
867 | |||
862 | static struct platform_device *goni_devices[] __initdata = { | 868 | static struct platform_device *goni_devices[] __initdata = { |
863 | &s3c_device_fb, | 869 | &s3c_device_fb, |
864 | &s5p_device_onenand, | 870 | &s5p_device_onenand, |
865 | &goni_spi_gpio, | 871 | &goni_spi_gpio, |
866 | &goni_i2c_gpio_pmic, | 872 | &goni_i2c_gpio_pmic, |
867 | &goni_i2c_gpio5, | 873 | &goni_i2c_gpio5, |
874 | &goni_device_audio, | ||
868 | &mmc2_fixed_voltage, | 875 | &mmc2_fixed_voltage, |
869 | &goni_device_gpiokeys, | 876 | &goni_device_gpiokeys, |
870 | &s5p_device_mfc, | 877 | &s5p_device_mfc, |
@@ -901,7 +908,7 @@ static void __init goni_sound_init(void) | |||
901 | static void __init goni_map_io(void) | 908 | static void __init goni_map_io(void) |
902 | { | 909 | { |
903 | s5pv210_init_io(NULL, 0); | 910 | s5pv210_init_io(NULL, 0); |
904 | s3c24xx_init_clocks(24000000); | 911 | s3c24xx_init_clocks(clk_xusbxti.rate); |
905 | s3c24xx_init_uarts(goni_uartcfgs, ARRAY_SIZE(goni_uartcfgs)); | 912 | s3c24xx_init_uarts(goni_uartcfgs, ARRAY_SIZE(goni_uartcfgs)); |
906 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 913 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |
907 | } | 914 | } |
@@ -959,8 +966,6 @@ static void __init goni_machine_init(void) | |||
959 | /* KEYPAD */ | 966 | /* KEYPAD */ |
960 | samsung_keypad_set_platdata(&keypad_data); | 967 | samsung_keypad_set_platdata(&keypad_data); |
961 | 968 | ||
962 | clk_xusbxti.rate = 24000000; | ||
963 | |||
964 | platform_add_devices(goni_devices, ARRAY_SIZE(goni_devices)); | 969 | platform_add_devices(goni_devices, ARRAY_SIZE(goni_devices)); |
965 | } | 970 | } |
966 | 971 | ||
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index 0d7ddec88eb7..918b23d71fdf 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/gpio.h> | 19 | #include <linux/gpio.h> |
20 | #include <linux/delay.h> | 20 | #include <linux/delay.h> |
21 | #include <linux/pwm_backlight.h> | 21 | #include <linux/pwm_backlight.h> |
22 | #include <linux/platform_data/s3c-hsotg.h> | ||
22 | 23 | ||
23 | #include <asm/hardware/vic.h> | 24 | #include <asm/hardware/vic.h> |
24 | #include <asm/mach/arch.h> | 25 | #include <asm/mach/arch.h> |
@@ -47,6 +48,7 @@ | |||
47 | #include <plat/backlight.h> | 48 | #include <plat/backlight.h> |
48 | #include <plat/regs-fb-v4.h> | 49 | #include <plat/regs-fb-v4.h> |
49 | #include <plat/mfc.h> | 50 | #include <plat/mfc.h> |
51 | #include <plat/clock.h> | ||
50 | 52 | ||
51 | #include "common.h" | 53 | #include "common.h" |
52 | 54 | ||
@@ -203,6 +205,9 @@ static struct s3c_fb_platdata smdkv210_lcd0_pdata __initdata = { | |||
203 | .setup_gpio = s5pv210_fb_gpio_setup_24bpp, | 205 | .setup_gpio = s5pv210_fb_gpio_setup_24bpp, |
204 | }; | 206 | }; |
205 | 207 | ||
208 | /* USB OTG */ | ||
209 | static struct s3c_hsotg_plat smdkv210_hsotg_pdata; | ||
210 | |||
206 | static struct platform_device *smdkv210_devices[] __initdata = { | 211 | static struct platform_device *smdkv210_devices[] __initdata = { |
207 | &s3c_device_adc, | 212 | &s3c_device_adc, |
208 | &s3c_device_cfcon, | 213 | &s3c_device_cfcon, |
@@ -216,6 +221,7 @@ static struct platform_device *smdkv210_devices[] __initdata = { | |||
216 | &s3c_device_i2c2, | 221 | &s3c_device_i2c2, |
217 | &s3c_device_rtc, | 222 | &s3c_device_rtc, |
218 | &s3c_device_ts, | 223 | &s3c_device_ts, |
224 | &s3c_device_usb_hsotg, | ||
219 | &s3c_device_wdt, | 225 | &s3c_device_wdt, |
220 | &s5p_device_fimc0, | 226 | &s5p_device_fimc0, |
221 | &s5p_device_fimc1, | 227 | &s5p_device_fimc1, |
@@ -279,7 +285,7 @@ static struct platform_pwm_backlight_data smdkv210_bl_data = { | |||
279 | static void __init smdkv210_map_io(void) | 285 | static void __init smdkv210_map_io(void) |
280 | { | 286 | { |
281 | s5pv210_init_io(NULL, 0); | 287 | s5pv210_init_io(NULL, 0); |
282 | s3c24xx_init_clocks(24000000); | 288 | s3c24xx_init_clocks(clk_xusbxti.rate); |
283 | s3c24xx_init_uarts(smdkv210_uartcfgs, ARRAY_SIZE(smdkv210_uartcfgs)); | 289 | s3c24xx_init_uarts(smdkv210_uartcfgs, ARRAY_SIZE(smdkv210_uartcfgs)); |
284 | s5p_set_timer_source(S5P_PWM2, S5P_PWM4); | 290 | s5p_set_timer_source(S5P_PWM2, S5P_PWM4); |
285 | } | 291 | } |
@@ -314,6 +320,8 @@ static void __init smdkv210_machine_init(void) | |||
314 | 320 | ||
315 | samsung_bl_set(&smdkv210_bl_gpio_info, &smdkv210_bl_data); | 321 | samsung_bl_set(&smdkv210_bl_gpio_info, &smdkv210_bl_data); |
316 | 322 | ||
323 | s3c_hsotg_set_platdata(&smdkv210_hsotg_pdata); | ||
324 | |||
317 | platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices)); | 325 | platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices)); |
318 | } | 326 | } |
319 | 327 | ||