]> git.baikalelectronics.ru Git - kernel.git/commit
spi: s3c64xx: support custom value of internal clock divider
authorChanho Park <chanho61.park@samsung.com>
Wed, 29 Jun 2022 10:23:02 +0000 (19:23 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jun 2022 11:37:07 +0000 (12:37 +0100)
commit4ad265e21c2c095fbde84a13faa0fd8720f1ecef
tree29fd3cf7ef74d0107b058db44394b8fd1ae8c6db
parent30e96cf27f980b2ee55af91b1289a786d98573c2
spi: s3c64xx: support custom value of internal clock divider

Modern exynos SoCs such as Exynos Auto v9 have different internal clock
divider, for example "4". To support this internal value, this adds
clk_div of the s3c64xx_spi_port_config and assign "2" as the default
value to existing s3c64xx_spi_port_config.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Reviewed-by: Andi Shyti <andi@etezian.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220629102304.65712-3-chanho61.park@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c