[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170523144427.vi4szmy4f6gpyj3n@flea.home>
Date: Tue, 23 May 2017 16:44:27 +0200
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: icenowy@...c.io
Cc: devicetree <devicetree@...r.kernel.org>,
Jason Cooper <jason@...edaemon.net>,
Marc Zyngier <marc.zyngier@....com>,
Mark Brown <broonie@...nel.org>,
linux-sunxi <linux-sunxi@...glegroups.com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Chen-Yu Tsai <wens@...e.org>, Rob Herring <robh+dt@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Lee Jones <lee.jones@...aro.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [linux-sunxi] [PATCH v6 9/9] arm64: allwinner: a64: enable Wi-Fi
for Pine64
On Fri, May 19, 2017 at 03:22:28PM +0800, icenowy@...c.io wrote:
> 在 2017-05-19 15:19,Maxime Ripard 写道:
> > On Fri, May 19, 2017 at 11:03:33AM +0800, Icenowy Zheng wrote:
> > > >The patch looks OK, but given the module is removable, I think it
> > > >should be
> > > >an overlay. The overlay would enable WiFi + Bluetooth, and all the
> > > >peripherals needed to connect them.
> > > >
> > > >That way, if the module is not installed, we avoid confusing the user
> > > >with
> > > >unused peripherals, and avoid having live voltage on an unoccupied
> > > >header.
> > >
> > > But as this header have specific usage, we will also confuse user
> > > if it's not enabled as its target usage.
> >
> > Yet you would enable unused resources.
> >
> > This was already pointed out here:
> > https://patchwork.kernel.org/patch/9670235/
>
> I think, before we have an official repository of device tree
> overlays (either directly in torvalds/linux or maintained by
> linux-sunxi), we shouldn't rely on device tree overlay
> functionality.
This is a board specific overlay, and having some upstream repository
with all the possible combinations of SoC / daughter board is just not
realistic.
This should be shipped by the board vendors. RPi does that, the
beaglebone does that, the CHIP does that, surely, if it works for
them, it should work for you.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists