Re: [PATCH RFC 1/3] spi: Allow SPI controller override device buswidth

From: Mark Brown
Date: Mon Mar 02 2020 - 11:33:21 EST


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@xxxxxxxxxx> 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 :/

Attachment: signature.asc
Description: PGP signature