Skip to contentSkip to conversation

ARM: mxs_defconfig: Enable USB host

PATCH New Fabio Estevam 4 participants 7 messages Aug 5, 2012 – Aug 6, 2012

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: mxs_defconfig: Enable USB host

From: Fabio Estevam <[email protected]>

Enable USB host.

---
 arch/arm/configs/mxs_defconfig |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
arch/arm/configs/mxs_defconfig +13 -1
index ccdb635..73842f9 100644
@@ -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
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 ARM: mxs_defconfig: Enable USB host

Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Enable USB host.

---
 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 35 lines
arch/arm/configs/mxs_defconfig +13 -1
index ccdb635..73842f9 100644
@@ -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
Signature · 1 line
1.7.1
author reviewer
#2 lore raw

PATCH 1/1 ARM: mxs_defconfig: Enable USB host

Quoted 2 lines · Shawn Guo

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

#3 lore raw

PATCH 1/1 ARM: mxs_defconfig: Enable USB host

Dear Fabio Estevam,

Quoted 5 lines · Shawn Guo
Quoted 2 lines

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 ...

Quoted 3 lines

Regards,

Fabio Estevam

Best regards,
Marek Vasut

author reviewer
#4 lore raw

PATCH 1/1 ARM: mxs_defconfig: Enable USB host

Quoted 6 lines · Marek Vasut

Dear Fabio Estevam,

Quoted 4 lines · Shawn Guo
Quoted 2 lines

I guess you did not run savedefconfig. We do not need all those options explicitly added there.

Quoted 7 lines
Quoted 1 line

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:

arch/arm/configs/mxs_defconfig +8 -1
index ccdb635..a9556ef 100644
@@ -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
Signature · 7 lines
1.7.1

Is this OK?

Regards,

Fabio Estevam
#6 lore raw

PATCH 1/1 ARM: mxs_defconfig: Enable USB host

In reply to Marek Vasut
Quoted 4 lines · Marek Vasut

make mxs_config
<edit>
make savedefconfig

I also hand-diff the two defconfig files so that I only pick up the relevant changes.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#5 lore raw

PATCH 1/1 ARM: mxs_defconfig: Enable USB host

In reply to Fabio Estevam

arch/arm/configs/mxs_defconfig CONFIG_SND_SOC_I2C_AND_SPI=y · line 119

Quoted 2 lines · Fabio Estevam
arch/arm/configs/mxs_defconfig +2 -0
+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.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale