Skip to contentSkip to conversation

arm64: defconfig: Enable USB gadget with configfs

PATCH Applied Krzysztof Kozlowski 3 participants 6 messages Aug 17, 2020 – Aug 24, 2020 Arm Samsung Exynos

lore
Share & tools
lore

Krzysztof Kozlowski

author maintainer
#0 lore raw

PATCH v2 1/2 arm64: defconfig: Enable USB gadget with configfs

USB OTG connections are pretty common for embedded and development boards, for example to have networking or serial access to the device. Build as a module the USB gadget configfs options so the defconfig can be used in such development configurations.

---
 arch/arm64/configs/defconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/configs/defconfig +11 -0
index 500b782b92df..2b02a5a179d7 100644
@@ -725,6 +725,17 @@ CONFIG_USB_GADGET=y
 CONFIG_USB_RENESAS_USBHS_UDC=m
 CONFIG_USB_RENESAS_USB3=m
 CONFIG_USB_TEGRA_XUDC=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_FS=y
 CONFIG_TYPEC=m
 CONFIG_TYPEC_TCPM=m
 CONFIG_TYPEC_FUSB302=m
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author maintainer
#1 lore raw

PATCH v2 2/2 arm64: defconfig: Enable ptn5150 extcon driver

Enable the extcon driver for NXP PTN5150A chips (CC logic for USB Type-C applications) present on some of i.MX8 evaluation boards (e.g. Variscite Symphony board).

---

Changes since v1:
1. Build as module

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 2b02a5a179d7..938b92af2978 100644
@@ -926,6 +926,7 @@ CONFIG_ARCH_TEGRA_194_SOC=y
 CONFIG_ARCH_K3_AM6_SOC=y
 CONFIG_ARCH_K3_J721E_SOC=y
 CONFIG_TI_SCI_PM_DOMAINS=y
+CONFIG_EXTCON_PTN5150=m
 CONFIG_EXTCON_USB_GPIO=y
 CONFIG_EXTCON_USBC_CROS_EC=y
 CONFIG_IIO=y
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Applied
#2 lore raw
In reply to Krzysztof Kozlowski
Quoted 6 lines · Krzysztof Kozlowski

USB OTG connections are pretty common for embedded and development boards, for example to have networking or serial access to the device. Build as a module the USB gadget configfs options so the defconfig can be used in such development configurations.

Applied both, thanks.

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author maintainer
#3 lore raw
Quoted 9 lines · Shawn Guo
Quoted 6 lines · Krzysztof Kozlowski

USB OTG connections are pretty common for embedded and development boards, for example to have networking or serial access to the device. Build as a module the USB gadget configfs options so the defconfig can be used in such development configurations.

Applied both, thanks.

Thanks, although few days ago I got confirmation from patchwork that Olof already applied them to arm-soc. I cannot find them in arm-soc or next trees, though.

Dear Olof,
Did you pick these up already?

Best regards,
Krzysztof

#4 lore raw

Hi,

Quoted 10 lines · Krzysztof Kozlowski
Quoted 8 lines · Shawn Guo
Quoted 6 lines · Krzysztof Kozlowski

USB OTG connections are pretty common for embedded and development boards, for example to have networking or serial access to the device. Build as a module the USB gadget configfs options so the defconfig can be used in such development configurations.

Quoted 8 lines
Quoted 1 line

Applied both, thanks.

Thanks, although few days ago I got confirmation from patchwork that Olof already applied them to arm-soc. I cannot find them in arm-soc or next trees, though.

Dear Olof,
Did you pick these up already?

Yes, I applied them to the arm/fixes in the soc tree:
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=arm/fixes

-Olof

#5 lore raw
Quoted 19 lines · Olof Johansson

Hi,

Quoted 16 lines · Krzysztof Kozlowski
Quoted 9 lines · Shawn Guo
Quoted 6 lines · Krzysztof Kozlowski

USB OTG connections are pretty common for embedded and development boards, for example to have networking or serial access to the device. Build as a module the USB gadget configfs options so the defconfig can be used in such development configurations.

Applied both, thanks.

Thanks, although few days ago I got confirmation from patchwork that Olof already applied them to arm-soc. I cannot find them in arm-soc or next trees, though.

Quoted 5 lines
Quoted 2 lines

Dear Olof,
Did you pick these up already?

Yes, I applied them to the arm/fixes in the soc tree:
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=arm/fixes

Okay, dropped them from my tree.

Shawn

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel