* [PATCH][Resend] ARM: EXYNOS: Add HSOTG support to SMDK4X12
@ 2012-06-21 4:21 Sachin Kamat
2012-07-13 11:28 ` Kukjin Kim
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2012-06-21 4:21 UTC (permalink / raw)
To: linux-samsung-soc; +Cc: kgene.kim, sachin.kamat, patches
S3C-HSOTG support is added to SMDK4212 and SMDK4412 boards.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
Rebased on Kukjin Kim's tree -next/board-samsung branch.
---
arch/arm/mach-exynos/Kconfig | 2 ++
arch/arm/mach-exynos/mach-smdk4x12.c | 7 +++++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index f5fb6ea..ee8fa10 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -362,6 +362,7 @@ config MACH_SMDK4212
select S3C_DEV_I2C3
select S3C_DEV_I2C7
select S3C_DEV_RTC
+ select S3C_DEV_USB_HSOTG
select S3C_DEV_WDT
select S5P_DEV_FIMC0
select S5P_DEV_FIMC1
@@ -378,6 +379,7 @@ config MACH_SMDK4212
select EXYNOS4_SETUP_I2C7
select EXYNOS4_SETUP_KEYPAD
select EXYNOS4_SETUP_SDHCI
+ select EXYNOS4_SETUP_USB_PHY
help
Machine support for Samsung SMDK4212
diff --git a/arch/arm/mach-exynos/mach-smdk4x12.c b/arch/arm/mach-exynos/mach-smdk4x12.c
index e134c95..61abbc4 100644
--- a/arch/arm/mach-exynos/mach-smdk4x12.c
+++ b/arch/arm/mach-exynos/mach-smdk4x12.c
@@ -19,6 +19,7 @@
#include <linux/pwm_backlight.h>
#include <linux/regulator/machine.h>
#include <linux/serial_core.h>
+#include <linux/platform_data/s3c-hsotg.h>
#include <asm/mach/arch.h>
#include <asm/hardware/gic.h>
@@ -236,6 +237,9 @@ static struct samsung_keypad_platdata smdk4x12_keypad_data __initdata = {
.cols = 8,
};
+/* USB OTG */
+static struct s3c_hsotg_plat smdk4x12_hsotg_pdata;
+
static struct platform_device *smdk4x12_devices[] __initdata = {
&s3c_device_hsmmc2,
&s3c_device_hsmmc3,
@@ -244,6 +248,7 @@ static struct platform_device *smdk4x12_devices[] __initdata = {
&s3c_device_i2c3,
&s3c_device_i2c7,
&s3c_device_rtc,
+ &s3c_device_usb_hsotg,
&s3c_device_wdt,
&s5p_device_fimc0,
&s5p_device_fimc1,
@@ -295,6 +300,8 @@ static void __init smdk4x12_machine_init(void)
s3c_sdhci2_set_platdata(&smdk4x12_hsmmc2_pdata);
s3c_sdhci3_set_platdata(&smdk4x12_hsmmc3_pdata);
+ s3c_hsotg_set_platdata(&smdk4x12_hsotg_pdata);
+
platform_add_devices(smdk4x12_devices, ARRAY_SIZE(smdk4x12_devices));
}
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH][Resend] ARM: EXYNOS: Add HSOTG support to SMDK4X12
2012-06-21 4:21 [PATCH][Resend] ARM: EXYNOS: Add HSOTG support to SMDK4X12 Sachin Kamat
@ 2012-07-13 11:28 ` Kukjin Kim
0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2012-07-13 11:28 UTC (permalink / raw)
To: 'Sachin Kamat', linux-samsung-soc; +Cc: patches
> -----Original Message-----
> From: Sachin Kamat [mailto:sachin.kamat@linaro.org]
> Sent: Thursday, June 21, 2012 1:22 PM
> To: linux-samsung-soc@vger.kernel.org
> Cc: kgene.kim@samsung.com; sachin.kamat@linaro.org; patches@linaro.org
> Subject: [PATCH][Resend] ARM: EXYNOS: Add HSOTG support to SMDK4X12
>
> S3C-HSOTG support is added to SMDK4212 and SMDK4412 boards.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> Rebased on Kukjin Kim's tree -next/board-samsung branch.
> ---
> arch/arm/mach-exynos/Kconfig | 2 ++
> arch/arm/mach-exynos/mach-smdk4x12.c | 7 +++++++
> 2 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
> index f5fb6ea..ee8fa10 100644
> --- a/arch/arm/mach-exynos/Kconfig
> +++ b/arch/arm/mach-exynos/Kconfig
> @@ -362,6 +362,7 @@ config MACH_SMDK4212
> select S3C_DEV_I2C3
> select S3C_DEV_I2C7
> select S3C_DEV_RTC
> + select S3C_DEV_USB_HSOTG
> select S3C_DEV_WDT
> select S5P_DEV_FIMC0
> select S5P_DEV_FIMC1
> @@ -378,6 +379,7 @@ config MACH_SMDK4212
> select EXYNOS4_SETUP_I2C7
> select EXYNOS4_SETUP_KEYPAD
> select EXYNOS4_SETUP_SDHCI
> + select EXYNOS4_SETUP_USB_PHY
> help
> Machine support for Samsung SMDK4212
>
> diff --git a/arch/arm/mach-exynos/mach-smdk4x12.c b/arch/arm/mach-
> exynos/mach-smdk4x12.c
> index e134c95..61abbc4 100644
> --- a/arch/arm/mach-exynos/mach-smdk4x12.c
> +++ b/arch/arm/mach-exynos/mach-smdk4x12.c
> @@ -19,6 +19,7 @@
> #include <linux/pwm_backlight.h>
> #include <linux/regulator/machine.h>
> #include <linux/serial_core.h>
> +#include <linux/platform_data/s3c-hsotg.h>
>
> #include <asm/mach/arch.h>
> #include <asm/hardware/gic.h>
> @@ -236,6 +237,9 @@ static struct samsung_keypad_platdata
> smdk4x12_keypad_data __initdata = {
> .cols = 8,
> };
>
> +/* USB OTG */
> +static struct s3c_hsotg_plat smdk4x12_hsotg_pdata;
> +
> static struct platform_device *smdk4x12_devices[] __initdata = {
> &s3c_device_hsmmc2,
> &s3c_device_hsmmc3,
> @@ -244,6 +248,7 @@ static struct platform_device *smdk4x12_devices[]
> __initdata = {
> &s3c_device_i2c3,
> &s3c_device_i2c7,
> &s3c_device_rtc,
> + &s3c_device_usb_hsotg,
> &s3c_device_wdt,
> &s5p_device_fimc0,
> &s5p_device_fimc1,
> @@ -295,6 +300,8 @@ static void __init smdk4x12_machine_init(void)
> s3c_sdhci2_set_platdata(&smdk4x12_hsmmc2_pdata);
> s3c_sdhci3_set_platdata(&smdk4x12_hsmmc3_pdata);
>
> + s3c_hsotg_set_platdata(&smdk4x12_hsotg_pdata);
> +
> platform_add_devices(smdk4x12_devices,
> ARRAY_SIZE(smdk4x12_devices));
> }
>
> --
> 1.7.4.1
Applied, thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-13 11:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-21 4:21 [PATCH][Resend] ARM: EXYNOS: Add HSOTG support to SMDK4X12 Sachin Kamat
2012-07-13 11:28 ` Kukjin Kim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.