[PATCH] ARM: mxs_defconfig: Enable USB host

Subsystems: arm port, the rest

STALE5124d

7 messages, 4 authors, 2012-08-06 · open the first message on its own page

[PATCH] ARM: mxs_defconfig: Enable USB host

From: festevam@gmail.com (Fabio Estevam)
Date: 2012-08-05 17:04:18

From: Fabio Estevam <redacted>

Enable USB host.

Signed-off-by: Fabio Estevam <redacted>
---
 arch/arm/configs/mxs_defconfig |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index ccdb635..73842f9 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -95,7 +95,7 @@ CONFIG_GPIO_SYSFS=y
 # CONFIG_MFD_SUPPORT is not set
 CONFIG_DISPLAY_SUPPORT=m
 # CONFIG_HID_SUPPORT is not set
-# CONFIG_USB_SUPPORT is not set
+CONFIG_USB_SUPPORT=y
 CONFIG_SOUND=y
 CONFIG_SND=y
 CONFIG_SND_TIMER=y
@@ -110,6 +110,18 @@ CONFIG_SND_SOC_I2C_AND_SPI=y
 CONFIG_SND_SOC_SGTL5000=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_USB_COMMON=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_OTG_UTILS=y
+CONFIG_USB_MXS_PHY=y
+CONFIG_USB_CHIPIDEA=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
 CONFIG_MMC=y
 CONFIG_MMC_MXS=y
 CONFIG_RTC_CLASS=y
-- 
1.7.1

[PATCH] ARM: mxs_defconfig: Enable USB host

From: Shawn Guo <hidden>
Date: 2012-08-06 02:58:08

On Sun, Aug 05, 2012 at 02:04:18PM -0300, Fabio Estevam wrote:
From: Fabio Estevam <redacted>

Enable USB host.

Signed-off-by: Fabio Estevam <redacted>
---
 arch/arm/configs/mxs_defconfig |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
I guess you did not run savedefconfig.  We do not need all those
options explicitly added there.

Regards,
Shawn
quoted hunk
diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index ccdb635..73842f9 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -95,7 +95,7 @@ CONFIG_GPIO_SYSFS=y
 # CONFIG_MFD_SUPPORT is not set
 CONFIG_DISPLAY_SUPPORT=m
 # CONFIG_HID_SUPPORT is not set
-# CONFIG_USB_SUPPORT is not set
+CONFIG_USB_SUPPORT=y
 CONFIG_SOUND=y
 CONFIG_SND=y
 CONFIG_SND_TIMER=y
@@ -110,6 +110,18 @@ CONFIG_SND_SOC_I2C_AND_SPI=y
 CONFIG_SND_SOC_SGTL5000=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_USB_COMMON=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB=y
+CONFIG_USB_EHCI_ROOT_HUB_TT=y
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_OTG_UTILS=y
+CONFIG_USB_MXS_PHY=y
+CONFIG_USB_CHIPIDEA=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
 CONFIG_MMC=y
 CONFIG_MMC_MXS=y
 CONFIG_RTC_CLASS=y
-- 
1.7.1

[PATCH] ARM: mxs_defconfig: Enable USB host

From: festevam@gmail.com (Fabio Estevam)
Date: 2012-08-06 03:14:52

On Sun, Aug 5, 2012 at 11:58 PM, Shawn Guo [off-list ref] wrote:
I guess you did not run savedefconfig.  We do not need all those
options explicitly added there.
No, I have not run savedefconfig. What is the correct way to use it?

Regards,

Fabio Estevam

[PATCH] ARM: mxs_defconfig: Enable USB host

From: Marek Vasut <hidden>
Date: 2012-08-06 03:55:08

Dear Fabio Estevam,
On Sun, Aug 5, 2012 at 11:58 PM, Shawn Guo [off-list ref] wrote:
quoted
I guess you did not run savedefconfig.  We do not need all those
options explicitly added there.
No, I have not run savedefconfig. What is the correct way to use it?
make mxs_config
<edit>
make savedefconfig

I'd guess ...
Regards,

Fabio Estevam
Best regards,
Marek Vasut

[PATCH] ARM: mxs_defconfig: Enable USB host

From: festevam@gmail.com (Fabio Estevam)
Date: 2012-08-06 04:03:55

On Mon, Aug 6, 2012 at 12:55 AM, Marek Vasut [off-list ref] wrote:
Dear Fabio Estevam,
quoted
On Sun, Aug 5, 2012 at 11:58 PM, Shawn Guo [off-list ref] wrote:
quoted
I guess you did not run savedefconfig.  We do not need all those
options explicitly added there.
No, I have not run savedefconfig. What is the correct way to use it?
make mxs_config
<edit>
make savedefconfig

I'd guess ...
So the generating diff would be:
diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index ccdb635..a9556ef 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -95,7 +95,7 @@ CONFIG_GPIO_SYSFS=y
 # CONFIG_MFD_SUPPORT is not set
 CONFIG_DISPLAY_SUPPORT=m
 # CONFIG_HID_SUPPORT is not set
-# CONFIG_USB_SUPPORT is not set
+CONFIG_USB_SUPPORT=y
 CONFIG_SOUND=y
 CONFIG_SND=y
 CONFIG_SND_TIMER=y
@@ -110,6 +110,13 @@ CONFIG_SND_SOC_I2C_AND_SPI=y
 CONFIG_SND_SOC_SGTL5000=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_USB=y
+CONFIG_USB_CHIPIDEA=y
+CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_USB_STORAGE=y
+CONFIG_USB_MXS_PHY=y
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
 CONFIG_MMC=y
 CONFIG_MMC_MXS=y
 CONFIG_RTC_CLASS=y
-- 
1.7.1

Is this OK?

Regards,

Fabio Estevam

[PATCH] ARM: mxs_defconfig: Enable USB host

From: Tabi Timur-B04825 <hidden>
Date: 2012-08-06 04:06:03

On Sun, Aug 5, 2012 at 10:55 PM, Marek Vasut [off-list ref] wrote:
make mxs_config
<edit>
make savedefconfig
I also hand-diff the two defconfig files so that I only pick up the
relevant changes.

-- 
Timur Tabi
Linux kernel developer at Freescale

[PATCH] ARM: mxs_defconfig: Enable USB host

From: Tabi Timur-B04825 <hidden>
Date: 2012-08-06 04:08:09

On Sun, Aug 5, 2012 at 11:03 PM, Fabio Estevam [off-list ref] wrote:
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
I'm not sure about these two.

Try doing this:

make mxs_config
make savedefconfig

And then compare the two defconfigs.  It will tell you which changes to ignore.

-- 
Timur Tabi
Linux kernel developer at Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help