[U-Boot] [PATCH 00/11] ARM: Keystone2: Convert davinci_spi to DM

Vignesh R
2016-04-12T11:33:16Z

This series converts davinci_spi driver to adapt to driver model
framework. And enables the driver on k2l, k2e, k2hk evms. Also,
added support for davinci_spi on k2g evm.

Tested on k2l, k2e, k2hk and k2g evms.

Vignesh R (11):
spi: davinci_spi: Convert to driver to adapt to DM
keystone2: spi: do not define DM_SPI and DM_SPI_FLASH for SPL build
ARM: dts: keystone2: add SPI aliases for davinci SPI nodes
ARM: dts: k2hk: Enable Davinci SPI controller
defconfig: k2hk_evm_defconfig: enable SPI driver model
ARM: dts: k2e: Enable Davinci SPI controller
defconfig: k2e_evm_defconfig: enable SPI driver model
ARM: dts: k2l: Enable Davinci SPI controller
defconfig: k2l_evm_defconfig: enable SPI driver model
ARM: dts: k2g: add support for Davinci SPI controller
defconfig: k2g_evm_defconfig: enable SPI driver model

arch/arm/dts/k2e-evm.dts | 3 +-
arch/arm/dts/k2g-evm.dts | 24 +++
arch/arm/dts/k2g.dtsi | 47 +++++
arch/arm/dts/k2hk-evm.dts | 3 +-
arch/arm/dts/k2l-evm.dts | 3 +-
arch/arm/dts/keystone.dtsi | 3 +
configs/k2e_evm_defconfig | 2 +
configs/k2g_evm_defconfig | 2 +
configs/k2hk_evm_defconfig | 2 +
configs/k2l_evm_defconfig | 2 +
drivers/spi/davinci_spi.c | 326 +++++++++++++++++++++++++----------
include/configs/ti_armv7_keystone2.h | 4 +
12 files changed, 329 insertions(+), 92 deletions(-)

--
2.8.1