From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752246AbbHUR3q (ORCPT ); Fri, 21 Aug 2015 13:29:46 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:55957 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751705AbbHUR3o (ORCPT ); Fri, 21 Aug 2015 13:29:44 -0400 Date: Fri, 21 Aug 2015 10:29:31 -0700 From: Mark Brown To: Javier Martinez Canillas Cc: Brian Norris , linux-kernel@vger.kernel.org, Javier Martinez Canillas , linux-spi@vger.kernel.org Message-ID: <20150821172931.GK12027@sirena.org.uk> References: <1440054451-1223-1-git-send-email-javier@osg.samsung.com> <1440054451-1223-19-git-send-email-javier@osg.samsung.com> <20150820183634.GN12027@sirena.org.uk> <20150820210822.GH74600@google.com> <55D64A65.7030905@osg.samsung.com> <20150820232517.GZ12027@sirena.org.uk> <55D666F4.2080801@osg.samsung.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yruHGtsrg8HLSUpe" Content-Disposition: inline In-Reply-To: <55D666F4.2080801@osg.samsung.com> X-Cookie: You are fairminded, just and loving. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 69.84.245.29 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH 18/18] spi: (RFC, don't apply) report OF style modalias when probing using DT X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --yruHGtsrg8HLSUpe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --yruHGtsrg8HLSUpe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJV11/6AAoJECTWi3JdVIfQeaMH/j4RkMt5AWFuuGckUO7+k8u8 pm6BjBybJctgdDkx5UZSXM0TXE49cVpXcZze+D//hfmR1BDbzZ1Yy2ChCWHhnUs3 xetevjM4h7ESNsnlUzlYO5bpPRvQ9Ymb3cHCO0V9rjQhjkRGLOmFiNUEit4MPcJq h4cG7tvdp1fHLZiNrIJ+NUwgNoXx0pdhh3ipaVC3wDJntIIsuOSPYknO+8GDXGXm 0FGC8LcRE5TuZBH+cUNu95xAw/AlTPABT8QEVpjdIaIPN0OkEQ8xBxWO2027vJuO 4wPj4jYqjeydNrPdFHqU5T2SH7dL89lWtkdkAggcyAU42WPWNtC7saZ+cVYj9KY= =yvX3 -----END PGP SIGNATURE----- --yruHGtsrg8HLSUpe--