spi: s3c64xx: prepare for a different flavor of iowrite rep
authorTudor Ambarus <tudor.ambarus@linaro.org>
Wed, 7 Feb 2024 11:15:14 +0000 (11:15 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 8 Feb 2024 16:33:45 +0000 (16:33 +0000)
commit80d3204a3b1dbef570ed29d4d375e4d6922da82d
tree490c6f64c313b0211a8cbba1cfd8c4abafc0a88c
parentff690e75d64b0ca119adbfc3bd0b444bc1d0a1c5
spi: s3c64xx: prepare for a different flavor of iowrite rep

There are SoCs (gs101) that allow only 32 bit register accesses. As the
requirement is rare enough, for those SoCs we'll open code in the driver
some s3c64xx_iowrite{8,16}_32_rep() accessors. Prepare for such addition.

Suggested-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20240207111516.2563218-3-tudor.ambarus@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c