[U-Boot] [PATCH v3 00/16] spi/sf: Cleansup and driver model

Jagan Teki jteki at openedev.com
Fri Jun 26 21:21:22 CEST 2015


Few minor updates and tested on zynq board for driver model zynq_spi
driver.

Changes for v3:
	- Remove spi_chip_select() from probe and get cs from spi_xfer
	- Add spi1 in dts alias

Changes for v2:
        - One change suggested from Simon to use dev_get_parent

Jagan Teki (16):
  spi: Zap andes_spi driver
  spi: Zap ftssp010_spi driver
  spi: Zap oc_tiny_spi driver
  spi: xilinx_spi: Move header code to driver
  spi: xilinx_spi: Driver clean-up
  spi: davinci_spi: Move header code to driver
  spi: davinci_spi: Driver cleanup
  spi/sf: Minor cleanups
  dm: spi: zynq_spi: Convert to driver model
  zynq: Kconfig: Enable dm spi and spi_flash
  dts: zynq: Add zynq spi controller nodes
  spi: zynq_spi: Add fdt support in driver
  dts: zynq: Enable spi1 for zc770_xm010 board
  dm: spi: xilinx_spi: Convert to driver model
  spi: xilinx_spi: Add asm/io.h include file
  spi: Kconfig: Add Zynq SPI controller entry

 arch/arm/Kconfig                          |   2 +
 arch/arm/dts/zynq-7000.dtsi               |  26 ++
 arch/arm/dts/zynq-zc770-xm010.dts         |   5 +
 doc/device-tree-bindings/spi/spi-zynq.txt |  29 ++
 drivers/mtd/spi/sf_internal.h             |  18 +-
 drivers/spi/Kconfig                       |   8 +
 drivers/spi/Makefile                      |   3 -
 drivers/spi/andes_spi.c                   | 284 -----------------
 drivers/spi/andes_spi.h                   | 115 -------
 drivers/spi/davinci_spi.c                 | 369 ++++++++++++++--------
 drivers/spi/davinci_spi.h                 | 121 --------
 drivers/spi/ftssp010_spi.c                | 498 ------------------------------
 drivers/spi/oc_tiny_spi.c                 | 245 ---------------
 drivers/spi/xilinx_spi.c                  | 329 +++++++++++++-------
 drivers/spi/xilinx_spi.h                  | 138 ---------
 drivers/spi/zynq_spi.c                    | 300 ++++++++++--------
 include/spi.h                             |   2 +-
 include/spi_flash.h                       |  10 +-
 18 files changed, 713 insertions(+), 1789 deletions(-)
 create mode 100644 doc/device-tree-bindings/spi/spi-zynq.txt
 delete mode 100644 drivers/spi/andes_spi.c
 delete mode 100644 drivers/spi/andes_spi.h
 delete mode 100644 drivers/spi/davinci_spi.h
 delete mode 100644 drivers/spi/ftssp010_spi.c
 delete mode 100644 drivers/spi/oc_tiny_spi.c
 delete mode 100644 drivers/spi/xilinx_spi.h

-- 
1.9.1



More information about the U-Boot mailing list