[U-Boot] [PATCH v2 12/13] tegra114: add SPI driver

Simon Glass sjg at chromium.org
Tue Mar 19 22:22:41 CET 2013


Hi Allen,

On Sat, Mar 16, 2013 at 9:58 PM, Allen Martin <amartin at nvidia.com> wrote:
> Add driver for tegra114 SPI controller.  This controller is not
> compatible with either the tegra20 or tegra30 controllers, so it
> requires a new driver.
>
> Signed-off-by: Allen Martin <amartin at nvidia.com>
> ---
>  arch/arm/include/asm/arch-tegra114/tegra114_spi.h |   41 +++
>  drivers/spi/Makefile                              |    1 +
>  drivers/spi/fdt_spi.c                             |   15 +
>  drivers/spi/tegra114_spi.c                        |  405 +++++++++++++++++++++
>  include/configs/tegra-common-post.h               |    2 +-
>  5 files changed, 463 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/include/asm/arch-tegra114/tegra114_spi.h
>  create mode 100644 drivers/spi/tegra114_spi.c
>

Assuming that my SPI patches are picked up you might want to look at:

http://patchwork.ozlabs.org/bundle/sjg/spi/

I've only had a brief look at this series, but it seems like a
reasonable thing to do. Arguable we should be using something like
driver model to implement this more generally, but that doesn't exist
so...

Regards,
Simon


More information about the U-Boot mailing list