[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150821172931.GK12027@sirena.org.uk>
Date: Fri, 21 Aug 2015 10:29:31 -0700
From: Mark Brown <broonie@...nel.org>
To: Javier Martinez Canillas <javier@....samsung.com>
Cc: Brian Norris <computersforpeace@...il.com>,
linux-kernel@...r.kernel.org,
Javier Martinez Canillas <javier.martinez@...labora.co.uk>,
linux-spi@...r.kernel.org
Subject: Re: [PATCH 18/18] spi: (RFC, don't apply) report OF style modalias
when probing using DT
On Fri, Aug 21, 2015 at 01:47:00AM +0200, Javier Martinez Canillas wrote:
> On 08/21/2015 01:25 AM, Mark Brown wrote:
> > On Thu, Aug 20, 2015 at 11:45:09PM +0200, Javier Martinez Canillas wrote:
> >>> IOW, it's labeled as such mostly for safety, since it has quite a few
> >>> distributed dependencies.
> > Are there really only 17 drivers that are missing an explict of_table?
> > That seems like a low number.
> In fact the 17 patches are the combination of the SPI drivers that:
> a) Have a .id_table but not a MODULE_DEVICE_TABLE(spi,...)
> b) Have a .of_match_table but no a MODULE_DEVICE_TABLE(of,...)
> c) Don't have a .of_match_table but have a DT binding document
> Maybe there are more SPI drivers out there that only have a .id_table
> and don't have a .of_match_table nor a DT binding doc. But in that case
> there isn't too much I can do since I've no information that these are
> drivers are actually used in systems booted with OF.
We could at the very least scan through the in tree DTs. There does
seem to be a substantial overlap between systems that often don't use
modular kernels but could and systems where people are using the I2C
and SPI ID mapping shims.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists