]> git.baikalelectronics.ru Git - kernel.git/commit
arm: mvebu: Add support for SPI controller in Armada 370/XP
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Wed, 6 Feb 2013 13:06:21 +0000 (10:06 -0300)
committerArnd Bergmann <arnd@arndb.de>
Thu, 28 Feb 2013 17:57:14 +0000 (18:57 +0100)
commit934367f2a1459ebc43770e509a1f2d050c0544f2
tree3fdc9244ced4404415f9346c43ec5f03d7ca0555
parent563e158f84a22c9fea958d9d8f9e0f7ff5b8c5a2
arm: mvebu: Add support for SPI controller in Armada 370/XP

The Armada 370 and Armada XP SoC has an SPI controller.
This patch adds support for this controller in Armada 370
and Armada XP SoC common device tree files.

Note that the Armada XP SPI register length is 0x50 bytes,
while Armada 370 SPI register length is 0x28 bytes,
so we choose the smaller of the two.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Lior Amsalem <alior@marvell.com>
Acked-by: Gregory Clement <gregory.clement@free-electrons.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi