spi: spi-fsl-lpspi: Read chip-select amount from hardware for i.MX93

PARAM.PCSNUM register on i.MX93 indicates the number of supported
(hw) chip-selects. LPSPI4 has 3 while others have only 2.
Still allow overwriting from DT.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20230717085934.409476-3-alexander.stein@ew.tq-group.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Alexander Stein 2023-07-17 10:59:34 +02:00 • committed by Mark Brown
commit f46b06e62c
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0