* [PATCH 0/3] Update multi_v7_defconfig for USB OTG and PHYs
@ 2018-03-02 17:32 Tony Lindgren
2018-03-02 17:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable OTG and MUSB as loadable modules Tony Lindgren
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tony Lindgren @ 2018-03-02 17:32 UTC (permalink / raw)
To: linux-arm-kernel
Hi all,
Looks like we don't have USB OTG, MUSB and PHYs configured and this
prevents me from running my USB and PM tests with multi_v7_defconfig
out of the box. Let's enable those options as loadable modules.
Regards,
Tony
Tony Lindgren (3):
ARM: multi_v7_defconfig: Enable OTG and MUSB as loadable modules
ARM: multi_v7_defconfig: Enable various USB PHYs found on omap
variants
ARM: multi_v7_defconfig: Enable USB gadget configfs as loadable module
arch/arm/configs/multi_v7_defconfig | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
--
2.16.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/3] ARM: multi_v7_defconfig: Enable OTG and MUSB as loadable modules
2018-03-02 17:32 [PATCH 0/3] Update multi_v7_defconfig for USB OTG and PHYs Tony Lindgren
@ 2018-03-02 17:32 ` Tony Lindgren
2018-03-02 17:32 ` [PATCH 2/3] ARM: multi_v7_defconfig: Enable various USB PHYs found on omap variants Tony Lindgren
2018-03-02 17:32 ` [PATCH 3/3] ARM: multi_v7_defconfig: Enable USB gadget configfs as loadable module Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2018-03-02 17:32 UTC (permalink / raw)
To: linux-arm-kernel
We can support USB OTG with MUSB driver on many ARM SoCs. Let's
enable all the SoCs with MUSB as loadable modules. And let's enable
their related DMA hardware.
And as MUSB is an USB OTG controller, let's enable OTG support too.
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/configs/multi_v7_defconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -683,6 +683,7 @@ CONFIG_SND_SOC_STI=m
CONFIG_SND_SOC_STI_SAS=m
CONFIG_SND_SIMPLE_CARD=m
CONFIG_USB=y
+CONFIG_USB_OTG=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_MVEBU=y
CONFIG_USB_XHCI_RCAR=m
@@ -704,6 +705,15 @@ CONFIG_USB_STORAGE=y
CONFIG_USB_UAS=m
CONFIG_USB_MUSB_HDRC=m
CONFIG_USB_MUSB_SUNXI=m
+CONFIG_USB_MUSB_TUSB6010=m
+CONFIG_USB_MUSB_OMAP2PLUS=m
+CONFIG_USB_MUSB_AM35X=m
+CONFIG_USB_MUSB_DSPS=m
+CONFIG_USB_MUSB_UX500=m
+CONFIG_USB_UX500_DMA=y
+CONFIG_USB_INVENTRA_DMA=y
+CONFIG_USB_TI_CPPI41_DMA=y
+CONFIG_USB_TUSB_OMAP_DMA=y
CONFIG_USB_DWC3=y
CONFIG_USB_DWC2=y
CONFIG_USB_HSIC_USB3503=y
--
2.16.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/3] ARM: multi_v7_defconfig: Enable various USB PHYs found on omap variants
2018-03-02 17:32 [PATCH 0/3] Update multi_v7_defconfig for USB OTG and PHYs Tony Lindgren
2018-03-02 17:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable OTG and MUSB as loadable modules Tony Lindgren
@ 2018-03-02 17:32 ` Tony Lindgren
2018-03-02 17:32 ` [PATCH 3/3] ARM: multi_v7_defconfig: Enable USB gadget configfs as loadable module Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2018-03-02 17:32 UTC (permalink / raw)
To: linux-arm-kernel
With MUSB USB OTG controller enabled, let's now enable the USB PHYs
found on omap varian SoCs.
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/configs/multi_v7_defconfig | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -722,6 +722,9 @@ CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_HOST=y
CONFIG_AB8500_USB=y
CONFIG_KEYSTONE_USB_PHY=y
+CONFIG_NOP_USB_XCEIV=m
+CONFIG_AM335X_PHY_USB=m
+CONFIG_TWL6030_USB=m
CONFIG_USB_GPIO_VBUS=y
CONFIG_USB_ISP1301=y
CONFIG_USB_MSM_OTG=m
@@ -912,9 +915,12 @@ CONFIG_E1000E=y
CONFIG_PWM_STI=y
CONFIG_PWM_BCM2835=y
CONFIG_PWM_BRCMSTB=m
+CONFIG_PHY_DM816X_USB=m
CONFIG_OMAP_USB2=y
CONFIG_TI_PIPE3=y
+CONFIG_TWL4030_USB=m
CONFIG_PHY_BERLIN_USB=y
+CONFIG_PHY_CPCAP_USB=m
CONFIG_PHY_BERLIN_SATA=y
CONFIG_PHY_ROCKCHIP_DP=m
CONFIG_PHY_ROCKCHIP_USB=y
--
2.16.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/3] ARM: multi_v7_defconfig: Enable USB gadget configfs as loadable module
2018-03-02 17:32 [PATCH 0/3] Update multi_v7_defconfig for USB OTG and PHYs Tony Lindgren
2018-03-02 17:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable OTG and MUSB as loadable modules Tony Lindgren
2018-03-02 17:32 ` [PATCH 2/3] ARM: multi_v7_defconfig: Enable various USB PHYs found on omap variants Tony Lindgren
@ 2018-03-02 17:32 ` Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2018-03-02 17:32 UTC (permalink / raw)
To: linux-arm-kernel
With USB OTG now enabled, it makes sense to allow configuring the
USB gadgets via configfs.
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
arch/arm/configs/multi_v7_defconfig | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -732,6 +732,25 @@ CONFIG_USB_MXS_PHY=y
CONFIG_USB_GADGET=y
CONFIG_USB_FSL_USB2=y
CONFIG_USB_RENESAS_USBHS_UDC=m
+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_CONFIGFS_F_UAC1=y
+CONFIG_USB_CONFIGFS_F_UAC1_LEGACY=y
+CONFIG_USB_CONFIGFS_F_UAC2=y
+CONFIG_USB_CONFIGFS_F_MIDI=y
+CONFIG_USB_CONFIGFS_F_HID=y
+CONFIG_USB_CONFIGFS_F_UVC=y
+CONFIG_USB_CONFIGFS_F_PRINTER=y
CONFIG_USB_ETH=m
CONFIG_MMC=y
CONFIG_MMC_BLOCK_MINORS=16
--
2.16.2
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-03-02 17:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-02 17:32 [PATCH 0/3] Update multi_v7_defconfig for USB OTG and PHYs Tony Lindgren
2018-03-02 17:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable OTG and MUSB as loadable modules Tony Lindgren
2018-03-02 17:32 ` [PATCH 2/3] ARM: multi_v7_defconfig: Enable various USB PHYs found on omap variants Tony Lindgren
2018-03-02 17:32 ` [PATCH 3/3] ARM: multi_v7_defconfig: Enable USB gadget configfs as loadable module Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).