[PATCH v1] spi: fsl_dspi: match the Layerscape DSPI compatibles
Vincent Jardin <[email protected]>
| Newsgroups | org.u-boot-project.lists.u-boot |
|---|---|
| Message-ID | <[email protected]> |
The driver matched only fsl,vf610-dspi and fsl,ls1021a-v1.0-dspi. The Linux device trees under dts/upstream describe the Layerscape DSPI as "fsl,lx2160a-dspi", "fsl,ls2085a-dspi" instead, without vf610 fallback, so any board built against those trees leaves all three DSPI controllers unbound. On LX2160A, dspi0, dspi1 and dspi2 were having "no driver matches". There is no code path changes, only the match table. Signed-off-by: Vincent Jardin <[email protected]> --- drivers/spi/fsl_dspi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index 412993ad377..ee86010afa5 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -657,6 +657,8 @@ static const struct dm_spi_ops fsl_dspi_ops = { static const struct udevice_id fsl_dspi_ids[] = { { .compatible = "fsl,vf610-dspi" }, { .compatible = "fsl,ls1021a-v1.0-dspi" }, + { .compatible = "fsl,ls2085a-dspi" }, + { .compatible = "fsl,lx2160a-dspi" }, { } }; --- base-commit: 6073c36b2c8d39afe3ecc789b281667a3ddebc70 branch: for-upstream/spi-fsl-dspi-compatibles-v1 -- 2.43.0