]> git.baikalelectronics.ru Git - kernel.git/commit
spi: img-spfi: check for max speed supported by the spfi block
authorSifan Naeem <sifan.naeem@imgtec.com>
Thu, 18 Jun 2015 12:27:12 +0000 (13:27 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jul 2015 11:56:36 +0000 (12:56 +0100)
commita47253b72295e9a0f32c13b3b4fa20a348c6e486
tree49d514d05357faffd6c64e54757e59da536d06d3
parent0c9e0229f3c4e023815b9350b2095fd8ad5809e3
spi: img-spfi: check for max speed supported by the spfi block

Maximum speed supported by spfi is limited to 1/4 of the spfi clock.

But in some SoCs the maximum speed supported by the spfi block can
be limited to less than 1/4 of the spfi clock. In such cases we have
to define the limit in the device tree so that the driver can pick
it up.

Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-img-spfi.txt
drivers/spi/spi-img-spfi.c