spi: spi-fsl-dspi: Define regmaps per device
authorJames Clark <james.clark@linaro.org>
Thu, 22 May 2025 14:51:34 +0000 (15:51 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 8 Jun 2025 22:35:29 +0000 (23:35 +0100)
commit1672b0653212cecf11be9ef55bc2a2fabe0fa2ca
tree4d9ccd3166a45fc86f6a057d0ff4da9823797172
parent87a14a96bc323aff824fad8cdbe61b78eff22255
spi: spi-fsl-dspi: Define regmaps per device

Refactor the regmaps so they can be defined per device rather than
programmatically. This will allow us to add two new regmaps for S32G in
a later commit.

No functional changes.

Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Link: https://patch.msgid.link/20250522-james-nxp-spi-v2-5-bea884630cfb@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c