
On 3 July 2015 at 06:59, Vikas Manocha vikas.manocha@st.com wrote:
This patchset adds support to get controller sram size from device tree, fix to support different FIFO widths & adds dt binding doc.
Also this patchset enables cadence qspi controller for stv0991 soc, saves environment in spi flash & moves CONFIG_OF in the defconfig file.
Changes in v4:
- Moved SPI configs in arch/arm/Kconfig
- stv0991 device tree file for qspi updated
Changes in v3:
- Clubbed two patchsets: 1. [v2 0/3] spi: cadence_qspi: sram depth from DT & fix for FIFO width 2. [v2 0/6] stv0991: enable cadence qspi controller & spi flash
Changes in v2:
- fix the checkpatch error.
Vikas Manocha (10): stv0991: enable saving enrironment in spi flash stv0991: move OF_CONTROL config to defconfig stv0991: remove define CONFIG_OF_SEPARATE from board file stv0991: configure clock & pad muxing for qspi stv0991: enable cadence qspi controller & spi flash stv0991: configure device tree for cadence qspi & flash spi: cadence_qspi: move the sram partition in init spi: cadence_qspi: get sram size from device tree spi: cadence_qspi: support FIFO width other than 4 bytes spi: cadence_qspi: add device tree binding doc
arch/arm/Kconfig | 3 + arch/arm/cpu/armv7/stv0991/clock.c | 4 +- arch/arm/cpu/armv7/stv0991/pinmux.c | 5 ++ arch/arm/dts/socfpga.dtsi | 1 + arch/arm/dts/stv0991.dts | 30 ++++++++++ arch/arm/include/asm/arch-stv0991/stv0991_cgu.h | 15 +++++ arch/arm/include/asm/arch-stv0991/stv0991_creg.h | 9 +++ arch/arm/include/asm/arch-stv0991/stv0991_periph.h | 2 + board/st/stv0991/stv0991.c | 8 +++ configs/stv0991_defconfig | 2 +- doc/device-tree-bindings/spi/spi-cadence.txt | 28 +++++++++ drivers/spi/cadence_qspi.c | 1 + drivers/spi/cadence_qspi.h | 1 + drivers/spi/cadence_qspi_apb.c | 62 ++++++++------------ include/configs/stv0991.h | 21 ++++++- 15 files changed, 151 insertions(+), 41 deletions(-) create mode 100644 doc/device-tree-bindings/spi/spi-cadence.txt
Applied to u-boot-spi/master
thanks!