Skip to contentSkip to conversation

ARM: imx_v6_v7_defconfig: Fix the USB driver option selection

PATCH In review Fabio Estevam 1 participant 2 messages Apr 8, 2024

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: imx_v6_v7_defconfig: Fix the USB driver option selection

From: Fabio Estevam <[email protected]>

The correct symbol is CONFIG_USB_ONBOARD_DEV, so fix it accordingly.

Tested on a imx6q-udoo board. USB hub is now detected as well as the Wifi chip.

usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3 usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
...

usb 1-1.3: New USB device found, idVendor=148f, idProduct=5370, bcdDevice= 1.01 usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.3: Product: 802.11 n WLAN
usb 1-1.3: Manufacturer: Ralink
usb 1-1.3: SerialNumber: 1.0

Fixes 0bb36055c049 ("ARM: imx_v6_v7_defconfig: Select CONFIG_USB_ONBOARD_HUB")
---
 arch/arm/configs/imx_v6_v7_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/imx_v6_v7_defconfig +1 -1
index b06128da94e5..cf2480dce285 100644
@@ -336,7 +336,7 @@ CONFIG_USB_SERIAL_FTDI_SIO=m
 CONFIG_USB_SERIAL_OPTION=m
 CONFIG_USB_TEST=m
 CONFIG_USB_EHSET_TEST_FIXTURE=m
-CONFIG_USB_ONBOARD_HUB=y
+CONFIG_USB_ONBOARD_DEV=y
 CONFIG_NOP_USB_XCEIV=y
 CONFIG_USB_MXS_PHY=y
 CONFIG_USB_GADGET=y
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
author reviewer
#1 lore raw
Quoted 31 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The correct symbol is CONFIG_USB_ONBOARD_DEV, so fix it accordingly.

Tested on a imx6q-udoo board. USB hub is now detected as well as the Wifi chip.

usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3 usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
...

usb 1-1.3: New USB device found, idVendor=148f, idProduct=5370, bcdDevice= 1.01 usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-1.3: Product: 802.11 n WLAN
usb 1-1.3: Manufacturer: Ralink
usb 1-1.3: SerialNumber: 1.0

Fixes 0bb36055c049 ("ARM: imx_v6_v7_defconfig: Select CONFIG_USB_ONBOARD_HUB")
---
 arch/arm/configs/imx_v6_v7_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/imx_v6_v7_defconfig +0 -0
index b06128da94e5..cf2480dce285 100644

arch/arm/configs/imx_v6_v7_defconfig CONFIG_USB_SERIAL_FTDI_SIO=m · line 339

Quoted 5 lines
arch/arm/configs/imx_v6_v7_defconfig +1 -1
@@ -336,7 +336,7 @@ CONFIG_USB_SERIAL_FTDI_SIO=m
 CONFIG_USB_SERIAL_OPTION=m
 CONFIG_USB_TEST=m
 CONFIG_USB_EHSET_TEST_FIXTURE=m
-CONFIG_USB_ONBOARD_HUB=y
+CONFIG_USB_ONBOARD_DEV=y

Ah, in linux-next there is the following change that did the rename:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20240408&id=31e7f6c015d9eb35e77ae9868801c53ab0ff19ac

I will send a v2 that points to this commit in the Fixes tag.

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