[email protected] writes: > The patch adds support for DaVinci SPI driver. > It was tested on the DM355 using the at25 EEPROM driver. > > Signed-off-by: Sandeep Paulraj <[email protected]>
[...] > diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig > index 83a185d..565967b 100644 > --- a/drivers/spi/Kconfig > +++ b/drivers/spi/Kconfig > @@ -77,6 +77,23 @@ config SPI_AU1550 > This driver can also be built as a module. If so, the module > will be called au1550_spi. > > +config SPI_DAVINCI > + tristate "SPI controller driver for DaVinci SoC" > + depends on SPI_MASTER && ARCH_DAVINCI > + select SPI_BITBANG > + default y > + help > + SPI master controller for DaVinci SPI modules. Currently, > + SPI is only officially supported for DM646x, DM355, DM365 and DA8xx. > + > +config SPI_INTERRUPT > + bool "Set DaVinci SPI to Interrupt mode" > + depends on SPI_DAVINCI > + default n > + help > + Select this option to set DaVinci SPI to Interrupt mode, deselect > + to put in polling mode (default) > + I don't we need yet another Kconfig option for this. Especially because the driver implements it as a run-time option, this Kconfig option appears to be specific to board code. Kevin _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
