Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

From: Mark Brown
Date: Wed Aug 26 2020 - 10:24:42 EST


On Wed, Aug 26, 2020 at 02:47:58PM +0300, Vladimir Oltean wrote:

> - The compatible string plays an integral part in the functionality of
> the spi-fsl-dspi driver. I want to see a solution for ACPI where the
> driver knows on which SoC it's running on. Otherwise it doesn't know
> what are the silicon parameters of the DSPI module (XSPI present or
> not, DMA present or not, FIFO depth). I don't see that now. I just see
> something hardcoded for:
> { "NXP0005", .driver_data = (kernel_ulong_t)&devtype_data[LS2085A], }

Based on some other stuff I've seen with ACPI on NXP stuff it looks like
they're following the same scheme but only caring about that one SoC for
the time being.

Attachment: signature.asc
Description: PGP signature