Date: Sat, 27 Jan 2018 16:27:24 -0700 From: Warner Losh <imp@bsdimp.com> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Emmanuel Vadot <manu@bidouilliste.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 Subject: Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules Message-ID: <CANCZdfrQg%2Bk_3iH8QpM-1v-WbuDBwFutg5Lp%2BzN1hTKcqucZ9w@mail.gmail.com> In-Reply-To: <72042.1517094867@critter.freebsd.dk> References: <201801220710.w0M7AUm9091853@repo.freebsd.org> <CANCZdfpq2QoG4EAj0VW2FF=4VXRv-qQKFfJTJerWH9YOwVoVBA@mail.gmail.com> <90451.1516663240@critter.freebsd.dk> <2987003.eeGRFBb6N8@ralph.baldwin.cx> <CANCZdfrh0NHq7cbkq_genEdzo%2BB3G4TTAcEzpgh11sr%2B82e9aw@mail.gmail.com> <93949.1516733748@critter.freebsd.dk> <20180127210801.37b8001125dd0a2c92372f98@bidouilliste.com> <72042.1517094867@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 27, 2018 at 4:14 PM, Poul-Henning Kamp <phk@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrQg%2Bk_3iH8QpM-1v-WbuDBwFutg5Lp%2BzN1hTKcqucZ9w>