]> git.baikalelectronics.ru Git - kernel.git/commit
spi: meson-spicc: add min sclk for each compatible
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 12 Mar 2020 13:31:27 +0000 (14:31 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 12 Mar 2020 17:22:53 +0000 (17:22 +0000)
commit2550d4447da0035eeda6a0a45a75a8b7d1e86fc0
treec91544c79cffccd1dcf2141e2d94f71c64536dfa
parent915e02ac65b4b1787fe74f5a90b27777d6399b9a
spi: meson-spicc: add min sclk for each compatible

The G12A SPICC controller variant takes the source clock from a specific
clock instead of the bus clock.
The minimal clock calculus won't work with the G12A support, thus add the
minimal supported clock for each variant and pass this to the SPI core.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200312133131.26430-6-narmstrong@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-meson-spicc.c