All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 00/13] tegra114 SPI driver
@ 2013-03-17  4:58 Allen Martin
  2013-03-17  4:58 ` [U-Boot] [PATCH v2 01/13] tegra: remove support for UART SPI switch Allen Martin
                   ` (14 more replies)
  0 siblings, 15 replies; 28+ messages in thread
From: Allen Martin @ 2013-03-17  4:58 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2013-05-29  1:00 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-17  4:58 [U-Boot] [PATCH v2 00/13] tegra114 SPI driver Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 01/13] tegra: remove support for UART SPI switch Allen Martin
2013-03-19 18:14   ` Stephen Warren
2013-03-19 19:01   ` Simon Glass
2013-03-19 19:13     ` Stephen Warren
2013-03-21 21:04       ` Simon Glass
2013-03-17  4:58 ` [U-Boot] [PATCH v2 02/13] tegra: spi: rename tegra SPI drivers Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 03/13] tegra: spi: remove non fdt support Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 04/13] tegra: spi: pull register structs out of headers Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 05/13] tegra20: spi: move fdt probe to spi_init Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 06/13] spi: add common fdt SPI driver interface Allen Martin
2013-03-19 18:24   ` Stephen Warren
2013-03-21 21:05     ` Simon Glass
2013-03-17  4:58 ` [U-Boot] [PATCH v2 07/13] sf: winbond: add W25Q32DW Allen Martin
2013-05-23  7:45   ` Jagan Teki
2013-05-24 20:39     ` Jagan Teki
2013-05-29  0:28       ` Allen Martin
2013-05-29  1:00         ` Jagan Teki
2013-03-17  4:58 ` [U-Boot] [PATCH v2 08/13] tegra114: fdt: add compatible string for tegra114 SPI ctrl Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 09/13] tegra114: fdt: add apbdma block Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 10/13] tegra114: fdt: add SPI blocks Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 11/13] tegra114: dalmore: fdt: enable dalmore SPI controller Allen Martin
2013-03-17  4:58 ` [U-Boot] [PATCH v2 12/13] tegra114: add SPI driver Allen Martin
2013-03-19 21:22   ` Simon Glass
2013-03-17  4:58 ` [U-Boot] [PATCH v2 13/13] tegra114: dalmore: config: enable SPI Allen Martin
2013-03-18 19:34 ` [U-Boot] [PATCH v2 00/13] tegra114 SPI driver Tom Warren
2013-03-19 18:23 ` Stephen Warren
2013-03-21 21:07   ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.