Skip to contentSkip to conversation

spi: add support SuperH SPI module

PATCH Superseded Yoshihiro Shimoda 2 participants 2 messages Jan 18, 2011 SPI

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 spi: add support SuperH SPI module

SH7757 has SPI module. This patch supports it.

---
about v2:
- add prefix of "SH_" to some defines.
- modify spi_cs_is_valid()

 drivers/spi/Makefile |    1 +
 drivers/spi/sh_spi.c |  301 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 302 insertions(+), 0 deletions(-)
 create mode 100644 drivers/spi/sh_spi.c
drivers/spi/Makefile +1 -0
index e34a124..d582fbb 100644
@@ -37,6 +37,7 @@ COBJS-$(CONFIG_MPC8XXX_SPI) += mpc8xxx_spi.o
 COBJS-$(CONFIG_MXC_SPI) += mxc_spi.o
 COBJS-$(CONFIG_OMAP3_SPI) += omap3_spi.o
 COBJS-$(CONFIG_SOFT_SPI) += soft_spi.o
+COBJS-$(CONFIG_SH_SPI) += sh_spi.o
 
 COBJS	:= $(COBJS-y)
 SRCS	:= $(COBJS:.o=.c)
drivers/spi/sh_spi.c new file +301 -0

301 lines not on this page · raw message

Signature · 1 line
1.7.1
#1 lore raw

PATCH v2 1/1 spi: add support SuperH SPI module

Dear Yoshihiro Shimoda,

Quoted 8 lines · In message <[email protected]> you wrote:

SH7757 has SPI module. This patch supports it.

---
about v2:
- add prefix of "SH_" to some defines.
- modify spi_cs_is_valid()

Quoted 4 lines
 drivers/spi/Makefile |    1 +
 drivers/spi/sh_spi.c |  301 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 302 insertions(+), 0 deletions(-)
 create mode 100644 drivers/spi/sh_spi.c

Please see my additional review comments to V1 of this and the other patches of this series.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In Nature there are neither rewards nor punishments, there are conse-
quences.                                            -- R.G. Ingersoll