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

Tom Warren TWarren at nvidia.com
Mon Mar 18 20:34:46 CET 2013


Allen,

> -----Original Message-----
> From: Allen Martin [mailto:amartin at nvidia.com]
> Sent: Saturday, March 16, 2013 9:58 PM
> To: Tom Warren; swarren at wwwdotorg.org; sjg at chromium.org
> Cc: u-boot at lists.denx.de; Allen Martin
> Subject: [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.

Applies cleanly to current u-boot-tegra/next. All Tegra boards build OK.
Tested on Seaboard, Cardhu and Dalmore AOK (no more 'sf' or 'sspi' on Seaboard).

For the series:
Tested-by: Tom Warren <twarren at nvidia.com>

I'll apply this to u-boot-tegra/next under the assumption that it won't require any more work.

Thanks,

Tom
> 
> 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

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------


More information about the U-Boot mailing list