- 02 10月, 2014 1 次提交
-
-
由 Greg Ungerer 提交于
The Armada SoC family implementation of this SPI hardware module has extended the configuration register to allow for a wider range of SPI clock rates. Specifically the Serial Baud Rate Pre-selection bits in the SPI Interface Configuration Register now also use bits 6 and 7 as well. Modify the baud rate calculation to handle these differences for the Armada case. Potentially a baud rate can be setup using a number of different pre-scalar and scalar combinations. This code tries all possible pre-scalar divisors (8 in total) to try and find the most accurate set. This change introduces (and documents) a new device tree compatible device name "armada-370-spi" to support this. Signed-off-by: NGreg Ungerer <gerg@uclinux.org> Tested-by: NEzequiel Garcia <ezequiel.garcia@free-electrons.com> Reviewed-by: NEzequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: NMark Brown <broonie@kernel.org>
-
- 23 7月, 2012 1 次提交
-
-
由 Andrew Lunn 提交于
Signed-off-by: NMichael Walle <michael@walle.cc> Signed-off-by: NAndrew Lunn <andrew@lunn.ch> Acked-by: NJason Cooper <jason@lakedaemon.net> Acked-by: NSebastian Hesselbarth <sebastian.hesselbarth@googlemail.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
-