commit | abf3a49e50967bd67cff67f289690f76436f461f | [log] [tgz] |
---|---|---|
author | Maxime Chevallier <maxime.chevallier@smile.fr> | Wed Jan 17 17:15:26 2018 +0100 |
committer | Mark Brown <broonie@kernel.org> | Thu Jan 18 10:59:18 2018 +0000 |
tree | dfd0f18eefb8fe3708b235b528f23bce58504585 | |
parent | 44a5f423e70374e5b42cecd85e78f2d79334e0f2 [diff] |
spi: a3700: Set frequency limits at startup Armada 3700 SPI controller has an internal clock divider which can divide the parent clock frequency by up to 30. This patch sets the limits in the spi_controller fields so that we can detect when a non-supported frequency is requested by a device for a transfer. Signed-off-by: Maxime Chevallier <maxime.chevallier@smile.fr> Signed-off-by: Mark Brown <broonie@kernel.org>