Date: Tue, 30 Jan 2018 11:22:33 +0100 From: Emmanuel Vadot <manu@bidouilliste.com> To: "Poul-Henning Kamp" <phk@phk.freebsd.dk> Cc: Oleksandr Tymoshenko <gonzo@bluezbox.com>, Warner Losh <imp@bsdimp.com>, John Baldwin <jhb@freebsd.org>, Ravi Pokala <rpokala@mac.com>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org, owner-src-committers@freebsd.org Subject: Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules Message-ID: <20180130112233.ff840e66af9d52a00ab748bc@bidouilliste.com> In-Reply-To: <5764.1517307326@critter.freebsd.dk> References: <20180127210801.37b8001125dd0a2c92372f98@bidouilliste.com> <72042.1517094867@critter.freebsd.dk> <8d8ae9d10058fd72ce3ec467181c9f22@megadrive.org> <13025.1517179897@critter.freebsd.dk> <20180129063950.GA59901@bluezbox.com> <32793.1517221534@critter.freebsd.dk> <20180129132736.GA66330@bluezbox.com> <33452.1517233531@critter.freebsd.dk> <20180130025048.GA76676@bluezbox.com> <90452.1517301074@critter.freebsd.dk> <20180130094251.GA85100@bluezbox.com> <64381.1517305677@critter.freebsd.dk> <20180130105812.d1de09e0d4ac88934d776c71@bidouilliste.com> <5764.1517307326@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 30 Jan 2018 10:15:26 +0000 "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote: > -------- > In message <20180130105812.d1de09e0d4ac88934d776c71@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@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@bidouilliste.com> <manu@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180130112233.ff840e66af9d52a00ab748bc>