-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configs: Enable Renesas XHCI driver #6643
configs: Enable Renesas XHCI driver #6643
Conversation
Renesas UPD720201/-202 is a popular alternative to the VL805 USB3 phy used in many CM4 based products. Commit 25f51b7 ("xhci-pci: Make xhci-pci-renesas a proper modular driver") reworked the Renesas XHCI driver, resulting in CONFIG_USB_XHCI_PCI_RENESAS no longer being implicitly enabled. Explicitly add it to the defconfig to restore USB3 functionality. Signed-off-by: Nicolai Buchwitz <[email protected]>
There might be a better way I will try to upstream, but for the moment this is the easiest way to restore usb on affected devices. For us it isn't such a big deal as we can patch it downstream in our tree, but devices from vendors which rely on pure raspberry pi kernel (like onlogic and others) will break with 6.12 |
If it was implicitly enabled before, shouldn't it be a builtin (=y)? Booting from a root filesystem connected by one of these would otherwise require every distro to package an initramfs. |
Gut feel is that the Kconfig for USB_XHCI_PCI_RENESAS should set
so that behaviour matches as before. |
Imho the complete switch to the renesas driver is pointless for (real) use cases where an external eeprom is attached to the phy holding the firmware. With the external firmware the phy works with the standard xhci-pci driver and does not need the firmware loading boiler plate. It also wont issue the warning message about the missing firmware file, which might confuse users. I will try to convince upstream that the device ids are only added to |
You're right. One more reason to keep it simple with just xhci-pci and only enable the other drivers for the (rare) edge cases. |
Just catching up here... If CONFIG_USB_XHCI_PCI_RENESAS was previously implicitly enabled then one would expect to find it in the .config file after the _defconfig was applied. I can't find a combination of our kernel and our defconfig where |
(I'm happy to add the necessary defconfig values, although built-in support for all the PCI Ethernet devices out there would get painful - that's what initramfs is for. |
The commit message is messed up, so let me rephrase it: In the past the Renesas USB controller was directly supported by the xhci-pci driver. Unfortunately it called into the renesas driver if it was enabled. To fix this and split the dependencies between both driver Ben Hutchings refactored the driver in [1] and blacklisted the renesas vendor / product ids in xhci-pci. This broke support for the renesas phy when [1] 25f51b7 |
Thanks, that's much clearer. |
Renesas UPD720201/-202 is a popular alternative to the VL805 USB3 phy used in many CM4 based products.
Commit 25f51b7 ("xhci-pci: Make xhci-pci-renesas a proper modular driver") reworked the Renesas XHCI driver, resulting in CONFIG_USB_XHCI_PCI_RENESAS no longer being implicitly enabled.
Explicitly add it to the defconfig to restore USB3 functionality.