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

Mark Brown
2020-03-02T16:33:17Z

[-- Attachment #1: Type: text/plain, Size: 657 bytes --]

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@huawei.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 :/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]