[U-Boot] [v3 00/10] spi: cadence_qspi: sram depth from DT & fix for FIFO width

Vikas Manocha vikas.manocha at st.com
Mon Jun 29 22:49:07 CEST 2015


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 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/cpu/armv7/stv0991/clock.c                 |    4 +-
 arch/arm/cpu/armv7/stv0991/pinmux.c                |    5 ++
 arch/arm/dts/socfpga.dtsi                          |    4 +-
 arch/arm/dts/socfpga_cyclone5_socrates.dts         |    1 -
 arch/arm/dts/stv0991.dts                           |   31 ++++++++++
 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                          |   24 +++++++-
 15 files changed, 152 insertions(+), 45 deletions(-)
 create mode 100644 doc/device-tree-bindings/spi/spi-cadence.txt

-- 
1.7.9.5



More information about the U-Boot mailing list