[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200302163317.GH4166@sirena.org.uk>
Date: Mon, 2 Mar 2020 16:33:17 +0000
From: Mark Brown <broonie@...nel.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: John Garry <john.garry@...wei.com>,
linux-spi <linux-spi@...r.kernel.org>,
Linuxarm <linuxarm@...wei.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
MTD Maling List <linux-mtd@...ts.infradead.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: Re: [PATCH RFC 1/3] spi: Allow SPI controller override device
buswidth
On Mon, Mar 02, 2020 at 05:12:05PM +0100, Geert Uytterhoeven wrote:
> On Fri, Feb 28, 2020 at 4:23 PM John Garry <john.garry@...wei.com> wrote:
> > A host controller driver might know this info from DMI tables, for example.
> Can't acpi_register_spi_device() obtain that info from DMI tables,
> to avoid contaminating the generic code?
The DMI tables are going to boil down to per board quirks which we
*could* put in the core but you end up with a lot of them and chances
are that at some point we'll end up with device specific quirks which
don't fit so well in the core. Handling stuff in the drivers is fairly
idiomatic.
Much ACPI, so standards :/
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists