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 | |
| 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
...
37 files changed, 593 insertions, 693 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index b16396216896..dc3de407ce05 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -683,6 +683,7 @@ config ARCH_TEGRA | |||
| 683 | select MIGHT_HAVE_CACHE_L2X0 | 683 | select MIGHT_HAVE_CACHE_L2X0 |
| 684 | select NEED_MACH_IO_H if PCI | 684 | select NEED_MACH_IO_H if PCI |
| 685 | select ARCH_HAS_CPUFREQ | 685 | select ARCH_HAS_CPUFREQ |
| 686 | select USE_OF | ||
| 686 | help | 687 | help |
| 687 | This enables support for NVIDIA Tegra based systems (Tegra APX, | 688 | This enables support for NVIDIA Tegra based systems (Tegra APX, |
| 688 | Tegra 6xx and Tegra 2 series). | 689 | Tegra 6xx and Tegra 2 series). |
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 6f6d13f91e4c..b5b4c8c9db11 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig | |||
| @@ -207,6 +207,7 @@ config MACH_SMDKV310 | |||
| 207 | select S3C_DEV_HSMMC1 | 207 | select S3C_DEV_HSMMC1 |
| 208 | select S3C_DEV_HSMMC2 | 208 | select S3C_DEV_HSMMC2 |
| 209 | select S3C_DEV_HSMMC3 | 209 | select S3C_DEV_HSMMC3 |
| 210 | select S3C_DEV_USB_HSOTG | ||
| 210 | select SAMSUNG_DEV_BACKLIGHT | 211 | select SAMSUNG_DEV_BACKLIGHT |
| 211 | select EXYNOS_DEV_DRM | 212 | select EXYNOS_DEV_DRM |
| 212 | select EXYNOS_DEV_SYSMMU | 213 | select EXYNOS_DEV_SYSMMU |
| @@ -326,6 +327,7 @@ config MACH_ORIGEN | |||
| 326 | select S3C_DEV_WDT | 327 | select S3C_DEV_WDT |
| 327 | select S3C_DEV_HSMMC | 328 | select S3C_DEV_HSMMC |
| 328 | select S3C_DEV_HSMMC2 | 329 | select S3C_DEV_HSMMC2 |
| 330 | select S3C_DEV_USB_HSOTG | ||
| 329 | select S5P_DEV_FIMC0 | 331 | select S5P_DEV_FIMC0 |
| 330 | select S5P_DEV_FIMC1 | 332 | select S5P_DEV_FIMC1 |
| 331 | select S5P_DEV_FIMC2 | 333 | select S5P_DEV_FIMC2 |
| @@ -360,22 +362,27 @@ config MACH_SMDK4212 | |||
| 360 | select S3C_DEV_I2C3 | 362 | select S3C_DEV_I2C3 |
| 361 | select S3C_DEV_I2C7 | 363 | select S3C_DEV_I2C7 |
| 362 | select S3C_DEV_RTC | 364 | select S3C_DEV_RTC |
| 365 | select S3C_DEV_USB_HSOTG | ||
| 363 | select S3C_DEV_WDT | 366 | select S3C_DEV_WDT |
| 364 | select S5P_DEV_FIMC0 | 367 | select S5P_DEV_FIMC0 |
| 365 | select S5P_DEV_FIMC1 | 368 | select S5P_DEV_FIMC1 |
| 366 | select S5P_DEV_FIMC2 | 369 | select S5P_DEV_FIMC2 |
| 367 | select S5P_DEV_FIMC3 | 370 | select S5P_DEV_FIMC3 |
| 371 | select S5P_DEV_FIMD0 | ||
| 368 | select S5P_DEV_MFC | 372 | select S5P_DEV_MFC |
| 369 | select SAMSUNG_DEV_BACKLIGHT | 373 | select SAMSUNG_DEV_BACKLIGHT |
| 370 | select SAMSUNG_DEV_KEYPAD | 374 | select SAMSUNG_DEV_KEYPAD |
| 371 | select SAMSUNG_DEV_PWM | 375 | select SAMSUNG_DEV_PWM |
| 372 | select EXYNOS_DEV_SYSMMU | 376 | select EXYNOS_DEV_SYSMMU |
| 373 | select EXYNOS_DEV_DMA | 377 | select EXYNOS_DEV_DMA |
| 378 | select EXYNOS_DEV_DRM | ||
| 379 | select EXYNOS4_SETUP_FIMD0 | ||
| 374 | select EXYNOS4_SETUP_I2C1 | 380 | select EXYNOS4_SETUP_I2C1 |
| 375 | select EXYNOS4_SETUP_I2C3 | 381 | select EXYNOS4_SETUP_I2C3 |
| 376 | select EXYNOS4_SETUP_I2C7 | 382 | select EXYNOS4_SETUP_I2C7 |
| 377 | select EXYNOS4_SETUP_KEYPAD | 383 | select EXYNOS4_SETUP_KEYPAD |
| 378 | select EXYNOS4_SETUP_SDHCI | 384 | select EXYNOS4_SETUP_SDHCI |
| 385 | select EXYNOS4_SETUP_USB_PHY | ||
| 379 | help | 386 | help |
| 380 | Machine support for Samsung SMDK4212 | 387 | Machine support for Samsung SMDK4212 |
| 381 | 388 | ||
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c index f3b328d0aff6..f98a83a81ce7 100644 --- a/arch/arm/mach-exynos/mach-nuri.c +++ b/arch/arm/mach-exynos/mach-nuri.c | |||
| @@ -1341,9 +1341,8 @@ static struct platform_device *nuri_devices[] __initdata = { | |||
| 1341 | 1341 | ||
| 1342 | static void __init nuri_map_io(void) | 1342 | static void __init nuri_map_io(void) |
| 1343 | { | 1343 | { |
| 1344 | clk_xusbxti.rate = 24000000; | ||
| 1345 | exynos_init_io(NULL, 0); | 1344 | exynos_init_io(NULL, 0); |
| 1346 | s3c24xx_init_clocks(24000000); | 1345 | s3c24xx_init_clocks(clk_xusbxti.rate); |
| 1347 | s3c24xx_init_uarts(nuri_uartcfgs, ARRAY_SIZE(nuri_uartcfgs)); | 1346 | s3c24xx_init_uarts(nuri_uartcfgs, ARRAY_SIZE(nuri_uartcfgs)); |
| 1348 | } | 1347 | } |
| 1349 | 1348 | ||
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index 873c708fd340..5a12dc26f496 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c | |||
| @@ -9,6 +9,7 @@ | |||
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/serial_core.h> | 11 | #include <linux/serial_core.h> |
| 12 | #include <linux/leds.h> | ||
| 12 | #include <linux/gpio.h> | 13 | #include <linux/gpio.h> |
| 13 | #include <linux/mmc/host.h> | 14 | #include <linux/mmc/host.h> |
| 14 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
| @@ -21,6 +22,7 @@ | |||
| 21 | #include <linux/mfd/max8997.h> | 22 | #include <linux/mfd/max8997.h> |
| 22 | #include <linux/lcd.h> | 23 | #include <linux/lcd.h> |
| 23 | #include <linux/rfkill-gpio.h> | 24 | #include <linux/rfkill-gpio.h> |
| 25 | #include <linux/platform_data/s3c-hsotg.h> | ||
| 24 | 26 | ||
| 25 | #include <asm/mach/arch.h> | 27 | #include <asm/mach/arch.h> |
| 26 | #include <asm/hardware/gic.h> | 28 | #include <asm/hardware/gic.h> |
| @@ -498,6 +500,37 @@ static void __init origen_ohci_init(void) | |||
| 498 | exynos4_ohci_set_platdata(pdata); | 500 | exynos4_ohci_set_platdata(pdata); |
| 499 | } | 501 | } |
| 500 | 502 | ||
| 503 | /* USB OTG */ | ||
| 504 | static struct s3c_hsotg_plat origen_hsotg_pdata; | ||
| 505 | |||
| 506 | static struct gpio_led origen_gpio_leds[] = { | ||
| 507 | { | ||
| 508 | .name = "origen::status1", | ||
| 509 | .default_trigger = "heartbeat", | ||
