SPI geom_flashmap/fdt_slicer support, FDT 'resets=' support and a move of ohci_fdt.c

Stanislav Galabov sgalabov at gmail.com
Thu Jan 14 09:01:14 UTC 2016


Hi all,

First off, sorry for the cross-post, I wasn’t very sure where this should go…

I’ve created 3 PRs, which enable some functionality that my work on Ralink/Mediatek SoCs would benefit from.

1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206227
- This enables geom_flashmap and fdt_slicer support for SPI flash chips supported by the mx25l driver (sys/dev/flash/mx25l.c)

2. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206228
- This adds support for FDT ‘resets=’ property in much the same way as ian@’s sys/dev/fdt/fdt_clock* supports FDT ‘clocks=‘ property. In fact this work is basically a modified version of fdt_clock* :-)

3. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206229
- This simply moves the at91 specific sys/dev/usb/controller/ohci_fdt.c to sys/dev/usb/controller/at91ohci_fdt.c (and changes the filename in sys/arm/at91/files.at91 as well). The current naming is misleading IMHO and also, I have some (vague-ish) plans to see if I can implement generic ohci_fdt and ehci_fdt based on dwc_otg_fdt, so that systems with standard ehci/ohci controllers can reuse these.

Patches are attached to the PRs.

I would appreciate any feedback on the PRs and would also appreciate it if someone could commit these if the proposed changes are appropriate.

Best wishes,
Stanislav


More information about the freebsd-arm mailing list