]> 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)
commit6d8498a8dd45570223f20d0ff4277ca7dc1dcaeb
tree29fd3cf7ef74d0107b058db44394b8fd1ae8c6db
parenta415455eff49cbbc7a815a85a50ef60c42f08209
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