spi: orion: Fix extended baud rates for each Armada SoCs
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 26 May 2015 09:44:43 +0000 (11:44 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 27 May 2015 17:44:57 +0000 (18:44 +0100)
commit4dacccfac69494ba70248b134352f299171c41b7
tree945e09c4d5b66d515a2c1af274a14602bceb469f
parentce2f6ea1cbd41d78224f703af980a6ceeb0eb56a
spi: orion: Fix extended baud rates for each Armada SoCs

The commit df59fa7f4bca "spi: orion: support armada extended baud
rates" made the assumptions that all the Armada SoCs supported the
same maximum frequency. However, according the hardware datasheet, the
maximum frequency supported by the Armada 370 SoC is tclk/4, for the
Armada XP, Armada 38x and Armada 39x SoCs the limitation is 50MHz and
for the Armada 375 it is tclk/15.

This patch introduces new compatible strings to handle all these
case. In order to be future proof a compatible was created for each
SoC even if currently some SoCs seem using the same IP.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-orion.txt
drivers/spi/spi-orion.c