diff options
author | Michael Walle <michael@walle.cc> | 2021-10-13 18:14:18 +0200 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2021-11-09 17:18:23 +0530 |
commit | 8c580892872bc472f721be3b9662c1d89eb1191b (patch) | |
tree | ac47844f7ebc09662f74e6325291446528e3fa57 /drivers | |
parent | 765afe7fb3f9d6c030091401b6511eebda06db2d (diff) | |
download | u-boot-8c580892872bc472f721be3b9662c1d89eb1191b.zip u-boot-8c580892872bc472f721be3b9662c1d89eb1191b.tar.gz u-boot-8c580892872bc472f721be3b9662c1d89eb1191b.tar.bz2 |
spi: fsl_dspi: rename num-cs to spi-num-chipselects
The official devicetree bindings specifies spi-num-chipselects as the
name. Use it.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/fsl_dspi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index 23d812f..62444e4 100644 --- a/drivers/spi/fsl_dspi.c +++ b/drivers/spi/fsl_dspi.c @@ -586,8 +586,9 @@ static int fsl_dspi_of_to_plat(struct udevice *bus) if (fdtdec_get_bool(blob, node, "big-endian")) plat->flags |= DSPI_FLAG_REGMAP_ENDIAN_BIG; - plat->num_chipselect = - fdtdec_get_int(blob, node, "num-cs", FSL_DSPI_MAX_CHIPSELECT); + plat->num_chipselect = fdtdec_get_int(blob, node, + "spi-num-chipselects", + FSL_DSPI_MAX_CHIPSELECT); addr = dev_read_addr(bus); if (addr == FDT_ADDR_T_NONE) { |