Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 2016 11:01:10 +0200
From:      Stanislav Galabov <sgalabov@gmail.com>
To:        freebsd-mips@freebsd.org, freebsd-arm@freebsd.org
Subject:   SPI geom_flashmap/fdt_slicer support, FDT 'resets=' support and a move of ohci_fdt.c
Message-ID:  <B4B24B7D-B3EE-4F37-9E89-24FF17294C70@gmail.com>

index | next in thread | raw e-mail

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B4B24B7D-B3EE-4F37-9E89-24FF17294C70>