Re: [PATCH v1 2/6] spi: pxa2xx: Respect Intel SSP type given by a property

From: Andy Shevchenko
Date: Mon Oct 17 2022 - 13:34:54 EST


On Mon, Oct 17, 2022 at 06:17:36PM +0100, Mark Brown wrote:
> On Mon, Oct 17, 2022 at 08:12:39PM +0300, Andy Shevchenko wrote:
>
> > Allow to set the Intel SSP type by reading the property.
>
> > + /* Always try to read property */
> > + device_property_read_u32(&pdev->dev, "intel,spi-pxa2xx-type", &value);
>
> What is the advantage of pushing this into firmware?

To distinguish better what the controller generation is there.

--
With Best Regards,
Andy Shevchenko