spi: add support SuperH SPI module
PATCH v2 1/1 spi: add support SuperH SPI module
SH7757 has SPI module. This patch supports it.
Signed-off-by Yoshihiro Shimoda <[email protected]>
---
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
@@ -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
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.
Signed-off-by Yoshihiro Shimoda <[email protected]>---
about v2:
- add prefix of "SH_" to some defines.
- modifyspi_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