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

Emmanuel Vadot manu at bidouilliste.com
Tue Jan 30 10:22:39 UTC 2018


On Tue, 30 Jan 2018 10:15:26 +0000
"Poul-Henning Kamp" <phk at phk.freebsd.dk> wrote:

> --------
> In message <20180130105812.d1de09e0d4ac88934d776c71 at bidouilliste.com>, Emmanuel
>  Vadot writes:
> >On Tue, 30 Jan 2018 09:47:57 +0000
> 
> > I don't think that we want to load it by default as it would mean that
> >some GPIO are now unusable as they are pwm pins now.
> 
> So the essential architectural question seems to be:
> 
>     Can we load the pwm overlay by default, but still use the
>     PWM-pins for something else until/if the pwm driver is kldloaded ?

 I guess that with gpioctl(1) one could turn back the pins as gpios and
use them, but if one do that loading the pwm driver will not turn them
back to the pwm function.
 The objection I have to load automatically the pwm overlay on RPI is
why should we do it for this subsystem on this board and not for any
other subsystem on any other board ?

> If not, we're right back to FreeBSD 1.x semantics again.
> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.


-- 
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>


More information about the svn-src-head mailing list