diff options
author | Théo Lebrun <theo.lebrun@bootlin.com> | 2024-02-09 16:45:30 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-21 19:27:18 +0300 |
commit | 0d62c64a8e48438545dcef7e5d2f4839ff5cfe4c (patch) | |
tree | 8172d0feedeb28c3362ab5b7d23606219cd5203c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | afd2a4ae296d5e8b13aefb056c1060ddf302a199 (diff) | |
download | linux-0d62c64a8e48438545dcef7e5d2f4839ff5cfe4c.tar.xz |
spi: cadence-qspi: assert each subnode flash CS is valid
Check each flash CS against the num-cs property from devicetree.
Fallback to the driver max supported value (CQSPI_MAX_CHIPSELECT) if
num-cs isn't present.
cqspi->num_chipselect is set in cqspi_of_get_pdata() to the num-cs
devicetree property, or to CQSPI_MAX_CHIPSELECT if num-cs is not set.
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://msgid.link/r/20240209-cdns-qspi-cs-v1-1-a4f9dfed9ab4@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions