spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU
authorStefan Roese <sr@denx.de>
Thu, 11 Feb 2016 10:37:38 +0000 (11:37 +0100)
committerStefan Roese <sr@denx.de>
Wed, 6 Apr 2016 13:38:56 +0000 (15:38 +0200)
commit9fc56631a4f784ecaf860ae822d48580cd4317ed
tree754c9b85d12926bb08006681a739c09c68d4cd7e
parent4ed6ed3c27a069a00c8a557d606a05276cc4653e
spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

Currently only chip-select 0 is supported by the kirkwood SPI driver.
The Armada XP / 38x SoCs also use this driver and support multiple chip
selects. This patch adds support for multiple CS on MVEBU.

The register definitions are restructured a bit with this patch. Grouping
them to the corresponding registers.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/arm/include/asm/arch-mvebu/spi.h
drivers/spi/kirkwood_spi.c