Skip to contentSkip to conversation

TI DaVinci: Driver for the davinci SPI controller

PATCH Superseded Sudhakar Rajashekhara 2 participants 2 messages Jan 7, 2010 – Jan 8, 2010

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#1 lore raw

PATCH v5 1/1 TI DaVinci: Driver for the davinci SPI controller

drivers/spi/Makefile

Quoted 24 lines · Sudhakar Rajashekhara

From: Sekhar Nori <[email protected]>

This adds a driver for the SPI controller found on davinci based SoCs from Texas Instruments.

---
From the previous version, following are the modifications:
1. Argument to sizeof() changed in spi_setup_slave() function.
2. Check for NULL before calling free() is removed in spi_free_slave() function.
3. Check for NULL before calling container_of() function in SPI header file was removed.

 drivers/spi/Makefile      |    1 +
 drivers/spi/davinci_spi.c |  223 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/spi/davinci_spi.h |  102 +++++++++++++++++++++
 3 files changed, 326 insertions(+), 0 deletions(-)
 create mode 100644 drivers/spi/davinci_spi.c
 create mode 100644 drivers/spi/davinci_spi.h
drivers/spi/Makefile +0 -0
index 824d8e7..f112ed0 100644

I believe you have addressed all the outstanding issues. Thank you
Ack-ed
Tom