Create an attachment file for the existing ACPI attachment, and create a
new FDT attachment for the generic-ehci driver.
Details
Details
Boots on NanoPC-T4 (RokcChip RK3399) with GENERIC-UP. It seems to cause
a fault when SMP is enabled, however I'm unsure why.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 22807 Build 21898: arc lint + arc unit
Event Timeline
Comment Actions
This miss all the ext_resources stuff (phy, clocks) but that could be added later I guess.
Don't you need to DECLARE_CLASS and DEFINE_CLASS_0 ? (This stuff was always obscure to me ...)
Otherwise looks good for me.
sys/dev/usb/controller/generic_ehci.c | ||
---|---|---|
186 | generic_ehci_driver ? |
Comment Actions
I've noticed a generic-ehci driver in sys/mips/mediatek/mtk_ehci.c already (and tried on my RK3399, it does attach). That should probably be replaced by this. Does anyone test mediatek MIPS these days? :)