Skip to content

spi/sf: Cleansup and driver model

Jagan Teki u-boot 5 versions – New

Get series with b4
b4 am CAD6G_RTKGbcE=CNY_SVz+7eaxrujgWOGxXhuxFhfNzXYM=D0og@mail.gmail.com

Versions newest first · linked by author and title

  1. v3 Latest posting 3/30 of 16 patches 0 repliesNew
  2. v3 posting 2/30 of 16 patches 0 repliesSuperseded
  3. v3 posting 1/316 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 2/20 of 17 patches0 repliesSuperseded
v2 posting 1/217 patches0 repliesSuperseded

Patches in v3 posting 3/3 No applies recorded yet

None of the 16 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 00/16] spi/sf: Cleansup and driver model
Quoted 29 lines · Jagan Teki
Quoted 19 lines · Jagan Teki

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

Quoted 8 lines

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

Quoted 29 lines

Final call for comments, I'm planning to pull these by early next week.

Quoted 27 lines
 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

Applied to u-boot-spi/master

thanks!

Signature · 1 line
Jagan | openedev.