aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/mach-universal_c210.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-05-22 18:50:46 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-22 18:50:46 -0400
commita481991467d38afb43c3921d5b5b59ccb61b04ba (patch)
treea4b0b9a14da6fd5ef7b9b512bb32dbfcfcf2cd71 /arch/arm/mach-exynos/mach-universal_c210.c
parentf6a26ae7699416d86bea8cb68ce413571e9cab3c (diff)
parentcda4db53e9c28061c100400e1a4d273ea61dfba9 (diff)
Merge tag 'usb-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB 3.5-rc1 changes from Greg Kroah-Hartman: "Here is the big USB 3.5-rc1 pull request for the 3.5-rc1 merge window. It's touches a lot of different parts of the kernel, all USB drivers, due to some API cleanups (getting rid of the ancient err() macro) and some changes that are needed for USB 3.0 power management updates. There are also lots of new drivers, pimarily gadget, but others as well. We deleted a staging driver, which was nice, and finally dropped the obsolete usbfs code, which will make Al happy to never have to touch that again. There were some build errors in the tree that linux-next found a few days ago, but those were fixed by the most recent changes (all were due to us not building with CONFIG_PM disabled.) Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" * tag 'usb-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (477 commits) xhci: Fix DIV_ROUND_UP compile error. xhci: Fix compile with CONFIG_USB_SUSPEND=n USB: Fix core compile with CONFIG_USB_SUSPEND=n brcm80211: Fix compile error for .disable_hub_initiated_lpm. Revert "USB: EHCI: work around bug in the Philips ISP1562 controller" MAINTAINERS: Add myself as maintainer to the USB PHY Layer USB: EHCI: fix command register configuration lost problem USB: Remove races in devio.c USB: ehci-platform: remove update_device USB: Disable hub-initiated LPM for comms devices. xhci: Add Intel U1/U2 timeout policy. xhci: Add infrastructure for host-specific LPM policies. USB: Add macros for interrupt endpoint types. xhci: Reserve one command for USB3 LPM disable. xhci: Some Evaluate Context commands must succeed. USB: Disable USB 3.0 LPM in critical sections. USB: Add support to enable/disable USB3 link states. USB: Allow drivers to disable hub-initiated LPM. USB: Calculate USB 3.0 exit latencies for LPM. USB: Refactor code to set LPM support flag. ... Conflicts: arch/arm/mach-exynos/mach-nuri.c arch/arm/mach-exynos/mach-universal_c210.c drivers/net/wireless/ath/ath6kl/usb.c
Diffstat (limited to 'arch/arm/mach-exynos/mach-universal_c210.c')
-rw-r--r--arch/arm/mach-exynos/mach-universal_c210.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c
index 27fab5389d7e..6b731b863275 100644
--- a/arch/arm/mach-exynos/mach-universal_c210.c
+++ b/arch/arm/mach-exynos/mach-universal_c210.c
@@ -23,6 +23,7 @@
23#include <linux/i2c-gpio.h> 23#include <linux/i2c-gpio.h>
24#include <linux/i2c/mcs.h> 24#include <linux/i2c/mcs.h>
25#include <linux/i2c/atmel_mxt_ts.h> 25#include <linux/i2c/atmel_mxt_ts.h>
26#include <linux/platform_data/s3c-hsotg.h>
26#include <drm/exynos_drm.h> 27#include <drm/exynos_drm.h>
27 28
28#include <asm/mach/arch.h> 29#include <asm/mach/arch.h>
@@ -206,6 +207,7 @@ static struct regulator_init_data lp3974_ldo2_data = {
206}; 207};
207 208
208static struct regulator_consumer_supply lp3974_ldo3_consumer[] = { 209static struct regulator_consumer_supply lp3974_ldo3_consumer[] = {
210 REGULATOR_SUPPLY("vusb_a", "s3c-hsotg"),
209 REGULATOR_SUPPLY("vdd", "exynos4-hdmi"), 211 REGULATOR_SUPPLY("vdd", "exynos4-hdmi"),
210 REGULATOR_SUPPLY("vdd_pll", "exynos4-hdmi"), 212 REGULATOR_SUPPLY("vdd_pll", "exynos4-hdmi"),
211 REGULATOR_SUPPLY("vdd11", "s5p-mipi-csis.0"), 213 REGULATOR_SUPPLY("vdd11", "s5p-mipi-csis.0"),
@@ -291,6 +293,7 @@ static struct regulator_init_data lp3974_ldo7_data = {
291}; 293};
292 294
293static struct regulator_consumer_supply lp3974_ldo8_consumer[] = { 295static struct regulator_consumer_supply lp3974_ldo8_consumer[] = {
296 REGULATOR_SUPPLY("vusb_d", "s3c-hsotg"),
294 REGULATOR_SUPPLY("vdd33a_dac", "s5p-sdo"), 297 REGULATOR_SUPPLY("vdd33a_dac", "s5p-sdo"),
295}; 298};
296 299
@@ -487,7 +490,10 @@ static struct regulator_init_data lp3974_vichg_data = {
487static struct regulator_init_data lp3974_esafeout1_data = { 490static struct regulator_init_data lp3974_esafeout1_data = {
488 .constraints = { 491 .constraints = {
489 .name = "SAFEOUT1", 492 .name = "SAFEOUT1",
493 .min_uV = 4800000,
494 .max_uV = 4800000,
490 .valid_ops_mask = REGULATOR_CHANGE_STATUS, 495 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
496 .always_on = 1,
491 .state_mem = { 497 .state_mem = {
492 .enabled = 1, 498 .enabled = 1,
493 }, 499 },
@@ -1017,6 +1023,9 @@ static struct gpio universal_camera_gpios[] = {
1017 { GPIO_CAM_VGA_NSTBY, GPIOF_OUT_INIT_LOW, "CAM_VGA_NSTBY" }, 1023 { GPIO_CAM_VGA_NSTBY, GPIOF_OUT_INIT_LOW, "CAM_VGA_NSTBY" },
1018}; 1024};
1019 1025
1026/* USB OTG */
1027static struct s3c_hsotg_plat universal_hsotg_pdata;
1028
1020static void __init universal_camera_init(void) 1029static void __init universal_camera_init(void)
1021{ 1030{
1022 s3c_set_platdata(&mipi_csis_platdata, sizeof(mipi_csis_platdata), 1031 s3c_set_platdata(&mipi_csis_platdata, sizeof(mipi_csis_platdata),
@@ -1075,6 +1084,7 @@ static struct platform_device *universal_devices[] __initdata = {
1075#ifdef CONFIG_DRM_EXYNOS 1084#ifdef CONFIG_DRM_EXYNOS
1076 &exynos_device_drm, 1085 &exynos_device_drm,
1077#endif 1086#endif
1087 &s3c_device_usb_hsotg,
1078 &s5p_device_mfc, 1088 &s5p_device_mfc,
1079 &s5p_device_mfc_l, 1089 &s5p_device_mfc_l,
1080 &s5p_device_mfc_r, 1090 &s5p_device_mfc_r,
@@ -1133,6 +1143,7 @@ static void __init universal_machine_init(void)
1133 i2c_register_board_info(I2C_GPIO_BUS_12, i2c_gpio12_devs, 1143 i2c_register_board_info(I2C_GPIO_BUS_12, i2c_gpio12_devs,
1134 ARRAY_SIZE(i2c_gpio12_devs)); 1144 ARRAY_SIZE(i2c_gpio12_devs));
1135 1145
1146 s3c_hsotg_set_platdata(&universal_hsotg_pdata);
1136 universal_camera_init(); 1147 universal_camera_init();
1137 1148
1138 /* Last */ 1149 /* Last */