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>

next in thread | raw e-mail | index | archive | help
Hi all,

First off, sorry for the cross-post, I wasn=E2=80=99t very sure where =
this should go=E2=80=A6

I=E2=80=99ve 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=3D206227
- 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=3D206228
- This adds support for FDT =E2=80=98resets=3D=E2=80=99 property in much =
the same way as ian@=E2=80=99s sys/dev/fdt/fdt_clock* supports FDT =
=E2=80=98clocks=3D=E2=80=98 property. In fact this work is basically a =
modified version of fdt_clock* :-)

3. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206229
- 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=



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