[U-Boot] [PATCH v2 00/13] tegra114 SPI driver

Allen Martin amartin at nvidia.com
Sun Mar 17 05:58:01 CET 2013


This series pulls fdt functionality from the existing tegra20 and
tegra30 SPI drivers into a new common fdt SPI driver front end,
then adds a new tegra114 SPI driver as an additional client of
the fdt SPI driver.

Changes in v2:
 - Added a patch to remove SPI/UART switch support, this was only
   useful for seaboard, which was never manufactured
 - Renamed tegra_sflash and tegra_slink to tegra20_sflash and
   tegra20_slink 
 - Moved SPI register definitions from header files into SPI driver
   files, since those are the only users of those registers.
 - Removed patch to add CAR node to dt, equivalent patch was already
   upstreamed.

Allen Martin (13):
  tegra: remove support for UART SPI switch
  tegra: spi: rename tegra SPI drivers
  tegra: spi: remove non fdt support
  tegra: spi: pull register structs out of headers
  tegra20: spi: move fdt probe to spi_init
  spi: add common fdt SPI driver interface
  sf: winbond: add W25Q32DW
  tegra114: fdt: add compatible string for tegra114 SPI ctrl
  tegra114: fdt: add apbdma block
  tegra114: fdt: add SPI blocks
  tegra114: dalmore: fdt: enable dalmore SPI controller
  tegra114: add SPI driver
  tegra114: dalmore: config: enable SPI

 arch/arm/dts/tegra114.dtsi                         |  109 ++++++
 arch/arm/include/asm/arch-tegra/board.h            |    3 +-
 arch/arm/include/asm/arch-tegra/tegra_slink.h      |   84 ----
 arch/arm/include/asm/arch-tegra/tegra_spi.h        |   75 ----
 arch/arm/include/asm/arch-tegra114/tegra114_spi.h  |   41 ++
 arch/arm/include/asm/arch-tegra20/tegra20_sflash.h |   41 ++
 arch/arm/include/asm/arch-tegra20/tegra20_slink.h  |   41 ++
 .../arm/include/asm/arch-tegra20/uart-spi-switch.h |   46 ---
 board/nvidia/common/board.c                        |    5 +-
 board/nvidia/common/common.mk                      |    1 -
 board/nvidia/common/uart-spi-switch.c              |  125 ------
 board/nvidia/dts/tegra114-dalmore.dts              |    5 +
 board/nvidia/seaboard/seaboard.c                   |    2 +-
 drivers/mtd/spi/winbond.c                          |    5 +
 drivers/spi/Makefile                               |    6 +-
 drivers/spi/fdt_spi.c                              |  186 +++++++++
 drivers/spi/tegra114_spi.c                         |  405 ++++++++++++++++++++
 drivers/spi/{tegra_spi.c => tegra20_sflash.c}      |  215 ++++++-----
 drivers/spi/{tegra_slink.c => tegra20_slink.c}     |  128 ++++---
 include/configs/cardhu.h                           |    2 +-
 include/configs/dalmore.h                          |   11 +
 include/configs/tegra-common-post.h                |    4 +
 include/configs/trimslice.h                        |    2 +-
 include/fdtdec.h                                   |    1 +
 lib/fdtdec.c                                       |    1 +
 25 files changed, 1054 insertions(+), 490 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-tegra/tegra_slink.h
 delete mode 100644 arch/arm/include/asm/arch-tegra/tegra_spi.h
 create mode 100644 arch/arm/include/asm/arch-tegra114/tegra114_spi.h
 create mode 100644 arch/arm/include/asm/arch-tegra20/tegra20_sflash.h
 create mode 100644 arch/arm/include/asm/arch-tegra20/tegra20_slink.h
 delete mode 100644 arch/arm/include/asm/arch-tegra20/uart-spi-switch.h
 delete mode 100644 board/nvidia/common/uart-spi-switch.c
 create mode 100644 drivers/spi/fdt_spi.c
 create mode 100644 drivers/spi/tegra114_spi.c
 rename drivers/spi/{tegra_spi.c => tegra20_sflash.c} (57%)
 rename drivers/spi/{tegra_slink.c => tegra20_slink.c} (72%)

-- 
1.7.10.4



More information about the U-Boot mailing list