svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules

Warner Losh imp at bsdimp.com
Sat Jan 27 23:27:26 UTC 2018


On Sat, Jan 27, 2018 at 4:14 PM, Poul-Henning Kamp <phk at phk.freebsd.dk>
wrote:
>
> The moment the correct infrastructure appears on the RPi platform,
> if it ever does, I will change my driver to use that infrastructure.
>

The root of the problem is that we have the right infrastructure...
Everywhere except RPi. It needs a proper pinmux/pinctl driver. That's the
next step in fixing this issue. If you don't want to be part of fixing
that, then get out of the way. Embedded is different and we've had a decade
now of increasing FDT use, and it works. The RPi port, sadly, didn't come
with this, and we're paying the price now. In an ideal word, you could just
enable the driver, have it attach, and have it's pins muxed properly by the
infrastructure. We're there on boot on every other armv7/arm64 platform,
just not there incrementally at runtime. Some work would be needed to make
that happen, but I think I have a reasonable design that I've started to
socialize... You're welcome to join in in making it happen, if you like....

The next step, though, is to bring the RPI's infrastructure up to speed
with the rest of the arm ports... That's where time is best spent,
honestly. Fighting a never ending series of one-off kludges is doomed to
failure.

Warner


More information about the svn-src-head mailing list