tegra114 SPI driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 0 repliesNew
- v114 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- 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.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | tegra: remove support for UART SPI switcharch/ arch/ board/ +4 more | +3 | 4 replies | |
| 2/13 | tegra: spi: rename tegra SPI driversarch/ arch/ board/ +5 more | +13 | 0 replies | |
| 3/13 | tegra: spi: remove non fdt supportdrivers/ drivers/ | +4 | 0 replies | |
| 4/13 | tegra: spi: pull register structs out of headersarch/ arch/ drivers/ +1 more | +110 | 0 replies | |
| 5/13 | tegra20: spi: move fdt probe to spi_initdrivers/ | +67 | 0 replies | |
| 6/13 | spi: add common fdt SPI driver interfacearch/ arch/ board/ +5 more | +224 | 2 replies | |
| 7/13 | sf: winbond: add W25Q32DWdrivers/ | +5 | 2 replies | |
| 7/13 | sf: winbond: add W25Q32DW | +0 | 1 reply | |
| 8/13 | tegra114: fdt: add compatible string for tegra114 SPI ctrlinclude/ lib/ | +2 | 0 replies | |
| 9/13 | tegra114: fdt: add apbdma blockarch/ | +37 | 0 replies | |
| 10/13 | tegra114: fdt: add SPI blocksarch/ | +72 | 0 replies | |
| 11/13 | tegra114: dalmore: fdt: enable dalmore SPI controllerboard/ | +5 | 0 replies | |
| 12/13 | tegra114: add SPI driverarch/ drivers/ drivers/ +2 more | +463 | 1 reply | |
| 13/13 | tegra114: dalmore: config: enable SPIinclude/ | +11 | 0 replies |
Reviews trailers per patch
None of the 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Tom Warren | Stephen Warren |
|---|---|---|
| Series | T-b | R-b |
| 1/13 | ||
| 2/13 | ||
| 3/13 | ||
| 4/13 | ||
| 5/13 | ||
| 6/13 | ||
| 7/13 | ||
| 7/13 | ||
| 8/13 | ||
| 9/13 | ||
| 10/13 | ||
| 11/13 | ||
| 12/13 | ||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v2 00/13] tegra114 SPI driver
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%)Signature · 1 line
1.7.10.4