Re: [PATCH] spi: tegra: add spi driver for sflash controller

2012-11-13 Thread Laxman Dewangan
On Tuesday 13 November 2012 10:55 PM, Stephen Warren wrote: On 11/12/2012 10:00 PM, Laxman Dewangan wrote: +static int tegra_sflash_resume(struct device *dev) +{ + struct spi_master *master = dev_get_drvdata(dev); + struct tegra_sflash_data *tsd = spi_master_get_devdata(master); +

Re: [PATCH] spi: tegra: add spi driver for sflash controller

2012-11-13 Thread Stephen Warren
On 11/12/2012 10:00 PM, Laxman Dewangan wrote: > Nvidia's Tegra20 have the SPI (SFLASH) controller to > interface with spi flash device which is used for system > boot. Add the spi driver for this controller. > diff --git a/drivers/spi/spi-tegra20-sflash.c > b/drivers/spi/spi-tegra20-sflash.c >

[PATCH] spi: tegra: add spi driver for sflash controller

2012-11-12 Thread Laxman Dewangan
Nvidia's Tegra20 have the SPI (SFLASH) controller to interface with spi flash device which is used for system boot. Add the spi driver for this controller. Signed-off-by: Laxman Dewangan --- .../bindings/spi/nvidia,tegra20-sflash.txt | 26 + drivers/spi/Kconfig