]> git.baikalelectronics.ru Git - uboot.git/commit
spi: fsl_dspi: add new compatible fsl, ls1021a-v1.0-dspi
authorMichael Walle <michael@walle.cc>
Wed, 13 Oct 2021 16:14:17 +0000 (18:14 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 11:48:23 +0000 (17:18 +0530)
commitbbdda787a0db8a8b49c2ca2ae96fc3884b08ff0a
tree0bfc43fa30fe8bc3bb98c01376719bd65823836f
parentf3595a3dade92692d3718ae517128ca33fb61536
spi: fsl_dspi: add new compatible fsl, ls1021a-v1.0-dspi

The official ls1028a binding of the driver uses the following as
compatibles:
  compatible = "fsl,ls1028a-dspi", "fsl,ls1021a-v1.0-dspi";

Add the missing compatible to the driver and update the device tree.
We can use the fallback "fsl,ls1021a-v1.0-dspi", because the endianness
is determined by the little-endian property and not by the compatible
string itself. Further, we won't need and specific details on the DMA
configuration (which is different on the LS1021A). If it's ever needed,
we can later add the more specific "fsl,ls1028a-dspi" compatible to the
driver.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-ls1028a.dtsi
drivers/spi/fsl_dspi.c