Skip to contentSkip to conversation

ARM: imx_v6_v7_defconfig: enable several usb functions

PATCH New Peter Chen 2 participants 8 messages Sep 30, 2014

Subsystems (2)
lore
Share & tools
lore

Peter Chen

author
#0 lore raw

cover ARM: imx_v6_v7_defconfig: enable several usb functions

Hi Shawn,

This series enables several usb functions for both host and device mode which are used commonly, and all is built as modules.

Peter Chen (6):
ARM: imx_v6_v7_defconfig: enable USB Ethernet support at host mode
ARM: imx_v6_v7_defconfig: enable usb media feature for host mode
ARM: imx_v6_v7_defconfig: enable USB audio at host mode
ARM: imx_v6_v7_defconfig: enable USB serial at host mode
ARM: imx_v6_v7_defconfig: enable USB EHSET driver
ARM: imx_v6_v7_defconfig: enable several usb gadgets

 arch/arm/configs/imx_v6_v7_defconfig |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/6 ARM: imx_v6_v7_defconfig: enable USB Ethernet support at host mode

It is for host mode, and are built as modules.

---
 arch/arm/configs/imx_v6_v7_defconfig |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/configs/imx_v6_v7_defconfig +5 -0
index 16cfec4..82dbf1e 100644
@@ -130,6 +130,11 @@ CONFIG_SMC911X=y
 CONFIG_SMSC911X=y
 # CONFIG_NET_VENDOR_STMICRO is not set
 CONFIG_AT803X_PHY=y
+CONFIG_USB_PEGASUS=m
+CONFIG_USB_RTL8150=m
+CONFIG_USB_RTL8152=m
+CONFIG_USB_USBNET=m
+CONFIG_USB_NET_CDC_EEM=m
 CONFIG_BRCMFMAC=m
 # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
 CONFIG_INPUT_EVDEV=y
Signature · 1 line
1.7.9.5
author
#2 lore raw

PATCH 2/6 ARM: imx_v6_v7_defconfig: enable usb media feature for host mode

In reply to Peter Chen

Mainly for usb camera, and are built as modules.

---
 arch/arm/configs/imx_v6_v7_defconfig |    2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/imx_v6_v7_defconfig +2 -0
index 82dbf1e..8e92749 100644
@@ -190,6 +190,8 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y
 CONFIG_MEDIA_RC_SUPPORT=y
 CONFIG_RC_DEVICES=y
 CONFIG_IR_GPIO_CIR=y
+CONFIG_MEDIA_USB_SUPPORT=y
+CONFIG_USB_VIDEO_CLASS=m
 CONFIG_V4L_PLATFORM_DRIVERS=y
 CONFIG_SOC_CAMERA=y
 CONFIG_VIDEO_MX3=y
Signature · 1 line
1.7.9.5
author
#3 lore raw

PATCH 3/6 ARM: imx_v6_v7_defconfig: enable USB audio at host mode

In reply to Peter Chen

It is built as modules

---
 arch/arm/configs/imx_v6_v7_defconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/imx_v6_v7_defconfig +1 -0
index 8e92749..9598df4 100644
@@ -212,6 +212,7 @@ CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_LOGO=y
 CONFIG_SOUND=y
 CONFIG_SND=y
+CONFIG_SND_USB_AUDIO=m
 CONFIG_SND_SOC=y
 CONFIG_SND_IMX_SOC=y
 CONFIG_SND_SOC_PHYCORE_AC97=y
Signature · 1 line
1.7.9.5
author
#4 lore raw

PATCH 4/6 ARM: imx_v6_v7_defconfig: enable USB serial at host mode

In reply to Peter Chen

Enable several usb serial drivers which are used commonly, they are built as modules.

---
 arch/arm/configs/imx_v6_v7_defconfig |    4 ++++
 1 file changed, 4 insertions(+)
arch/arm/configs/imx_v6_v7_defconfig +4 -0
index 9598df4..284cef2 100644
@@ -228,6 +228,10 @@ CONFIG_USB_STORAGE=y
 CONFIG_USB_CHIPIDEA=y
 CONFIG_USB_CHIPIDEA_UDC=y
 CONFIG_USB_CHIPIDEA_HOST=y
+CONFIG_USB_SERIAL=m
+CONFIG_USB_SERIAL_GENERIC=y
+CONFIG_USB_SERIAL_FTDI_SIO=m
+CONFIG_USB_SERIAL_OPTION=m
 CONFIG_NOP_USB_XCEIV=y
 CONFIG_USB_MXS_PHY=y
 CONFIG_USB_GADGET=y
Signature · 1 line
1.7.9.5
author
#5 lore raw

PATCH 5/6 ARM: imx_v6_v7_defconfig: enable USB EHSET driver

In reply to Peter Chen

It will be used at USB OTG & EH certification test, is built as module.

---
 arch/arm/configs/imx_v6_v7_defconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/imx_v6_v7_defconfig +1 -0
index 284cef2..c164844 100644
@@ -232,6 +232,7 @@ CONFIG_USB_SERIAL=m
 CONFIG_USB_SERIAL_GENERIC=y
 CONFIG_USB_SERIAL_FTDI_SIO=m
 CONFIG_USB_SERIAL_OPTION=m
+CONFIG_USB_EHSET_TEST_FIXTURE=m
 CONFIG_NOP_USB_XCEIV=y
 CONFIG_USB_MXS_PHY=y
 CONFIG_USB_GADGET=y
Signature · 1 line
1.7.9.5
author
#6 lore raw

PATCH 6/6 ARM: imx_v6_v7_defconfig: enable several usb gadgets

In reply to Peter Chen

Below drivers will be built as modules
- Configfs
- NCM
- Zero (used for test)
- Gadgetfs
- Serial

---
 arch/arm/configs/imx_v6_v7_defconfig |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/configs/imx_v6_v7_defconfig +16 -0
index c164844..72ac582 100644
@@ -236,8 +236,24 @@ CONFIG_USB_EHSET_TEST_FIXTURE=m
 CONFIG_NOP_USB_XCEIV=y
 CONFIG_USB_MXS_PHY=y
 CONFIG_USB_GADGET=y
+CONFIG_USB_CONFIGFS=m
+CONFIG_USB_CONFIGFS_SERIAL=y
+CONFIG_USB_CONFIGFS_ACM=y
+CONFIG_USB_CONFIGFS_OBEX=y
+CONFIG_USB_CONFIGFS_NCM=y
+CONFIG_USB_CONFIGFS_ECM=y
+CONFIG_USB_CONFIGFS_ECM_SUBSET=y
+CONFIG_USB_CONFIGFS_RNDIS=y
+CONFIG_USB_CONFIGFS_EEM=y
+CONFIG_USB_CONFIGFS_MASS_STORAGE=y
+CONFIG_USB_CONFIGFS_F_LB_SS=y
+CONFIG_USB_CONFIGFS_F_FS=y
+CONFIG_USB_ZERO=m
 CONFIG_USB_ETH=m
+CONFIG_USB_G_NCM=m
+CONFIG_USB_GADGETFS=m
 CONFIG_USB_MASS_STORAGE=m
+CONFIG_USB_G_SERIAL=m
 CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
Signature · 1 line
1.7.9.5
#7 lore raw

cover ARM: imx_v6_v7_defconfig: enable several usb functions

In reply to Peter Chen
Quoted 5 lines · Peter Chen

Hi Shawn,

This series enables several usb functions for both host and device mode which are used commonly, and all is built as modules.

Quoted 7 lines

Peter Chen (6):
ARM: imx_v6_v7_defconfig: enable USB Ethernet support at host mode
ARM: imx_v6_v7_defconfig: enable usb media feature for host mode
ARM: imx_v6_v7_defconfig: enable USB audio at host mode
ARM: imx_v6_v7_defconfig: enable USB serial at host mode
ARM: imx_v6_v7_defconfig: enable USB EHSET driver
ARM: imx_v6_v7_defconfig: enable several usb gadgets

Hi Peter,

For defconfig update, we generally combine related changes into one patch. So please resend with the patches squashed into one.

Shawn