- 01 Oct, 2012 1 commit
-
-
Stephen Warren authored
The current SPI driver has many issues. Examples are: * Segfaulting on most transfers due to expecting all transfers to have both RX and TX buffers. * Hanging on TX transfers since the whole driver flow is driven by RX DMA completion, but the HW is only told to enable RX for RX transfers. * Use of clk_disable_unprepare() from atomic context. * Once those and other minor issues are fixed, the driver still doesn't actually work. * The driver also implements a deprecated API to the SPI core. For this reason, simply remove the driver completely. This has two advantages: 1) This will remove the last use of Tegra's <mach/dma.h>, which will allow that file to be removed, which is required for single zImage work. 2) The downstream driver is significaly different from the current code. I believe a patch to re-add the downstream driver (with appropriate cleanup) will be much simpler to review if it's a new file rather than randomly interspered with essentially unrelated existing code. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 17 Sep, 2012 1 commit
-
-
Laxman Dewangan authored
Remove the support code which uses the legacy APB DMA driver for accessing the SPI FIFO. The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to SPI FIFO. Signed-off-by:
Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 01 Sep, 2012 1 commit
-
-
Vinod Koul authored
Reported-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Vinod Koul <vinod.koul@linux.intel.com>
-
- 22 Aug, 2012 2 commits
-
-
David Daney authored
Add the driver, link it into the kbuild system and provide device tree binding documentation. Signed-off-by:
David Daney <david.daney@cavium.com> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Patchwork: http://patchwork.linux-mips.org/patch/4292/ Signed-off-by:
John Crispin <blogic@openwrt.org>
-
Guenter Roeck authored
This driver adds support for NXP SC18IS602/603 I2C to SPI bus bridge. Signed-off-by:
Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 17 Aug, 2012 1 commit
-
-
Marek Vasut authored
This is slightly reworked version of the SPI driver. Support for DT has been added and it's been converted to queued API. Based on previous attempt by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Marek Vasut <marex@denx.de> Acked-by:
Chris Ball <cjb@laptop.org> Acked-by:
Shawn Guo <shawn.guo@linaro.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 23 Jul, 2012 1 commit
-
-
Thomas Langer authored
The external bus unit (EBU) found on the FALCON SoC has spi emulation that is designed for serial flash access. This driver has only been tested with m25p80 type chips. The hardware has no support for other types of spi peripherals. Signed-off-by:
Thomas Langer <thomas.langer@lantiq.com> Signed-off-by:
John Crispin <blogic@openwrt.org> Cc: spi-devel-general@lists.sourceforge.net Cc: linux-mips@linux-mips.org Acked-by:
Grant Likely <grant.likely@secretlab.ca> Patchwork: https://patchwork.linux-mips.org/patch/3844/ Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
- 20 Jul, 2012 1 commit
-
-
Lars-Peter Clausen authored
This patch adds support for the I2C-SPI bridge which can be found on the Analog Devices AD-FMCOMMS1-EBZ board. Signed-off-by:
Lars-Peter Clausen <lars@metafoo.de> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 15 Jul, 2012 1 commit
-
-
Steven King authored
The Coldfire 5251/5253 have a QSPI controller. Enable selection of the coldfire-qspi driver if the M525x is selected. Signed-off-by:
Steven King <sfking@fdwdc.com> Signed-off-by:
Greg Ungerer <gerg@uclinux.org>
-
- 10 Jul, 2012 1 commit
-
-
Laxman Dewangan authored
Use the dmaengine based Tegra APB DMA driver for data transfer between SPI FIFO and memory in place of legacy Tegra APB DMA. The new driver is selected if legacy driver is not selected and new DMA driver is enabled through config file. Signed-off-by:
Laxman Dewangan <ldewangan@nvidia.com> Acked-by:
Stephen Warren <swarren@wwwdotorg.org> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- 27 Apr, 2012 1 commit
-
-
Scott Jiang authored
This controller is only for blackfin 5xx soc, so rename it to BFIN5XX Signed-off-by:
Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 25 Apr, 2012 1 commit
-
-
Heiko Stuebner authored
Newer SoCs from the S3C24XX line, namely S3C2416/2443/2450 contain hsspi-controllers compatible with the s3c64xx type. The previous patches enabled platform support for it, so make the driver also usable for the S3C24xx architecture. Signed-off-by:
Heiko Stuebner <heiko@sntech.de> Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Kukjin Kim <kgene.kim@samsung.com>
-
- 09 Mar, 2012 4 commits
-
-
Florian Fainelli authored
This patch adds support for the SPI controller found on the Broadcom BCM63xx SoCs. Signed-off-by:
Tanguy Bouzeloc <tanguy.bouzeloc@efixo.com> Signed-off-by:
Florian Fainelli <florian@openwrt.org> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Zhiwu Song authored
CSR SiRFprimaII has two SPIs (SPI0 and SPI1). Features: * Master and slave modes * 8-/12-/16-/32-bit data unit * 256 bytes receive data FIFO and 256 bytes transmit data FIFO * Multi-unit frame * Configurable SPI_EN (chip select pin) active state * Configurable SPI_CLK polarity * Configurable SPI_CLK phase * Configurable MSB/LSB first Signed-off-by:
Zhiwu Song <zhiwu.song@csr.com> Signed-off-by:
Barry Song <Baohua.Song@csr.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Uwe Kleine-König authored
They are all defined in an if SPI_MASTER ... endif block. Signed-off-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Kuninori Morimoto authored
This patch adds SuperH HSPI driver. It is still prototype driver, but has enough function at this point. Signed-off-by:
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 08 Mar, 2012 1 commit
-
-
Shimoda, Yoshihiro authored
The SH7757 has RSPI module. This patch supports it. Signed-off-by:
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 02 Mar, 2012 1 commit
-
-
Kukjin Kim authored
This patch changes the ARCH name to "ARCH_S3C24XX" for Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, and S3C2450 SoCs so that we can merge the mach-xxx directories and plat-s3c24xx dir. to just one mach-s3c24xx for them. I think this should be sent to upstream via samsung tree because this touches many samsung stuff. Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Chris Ball <cjb@laptop.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Greg Kroah-Hartman <gregkh@suse.de> [for the gadget part:] Acked-by:
Felipe Balbi <balbi@ti.com> [for the framebuffer (video) part:] Acked-by:
Florian Tobias Schandinat <FlorianSchandinat@gmx.de> [For the watchdog-part:] Acked-by:
Wim Van Sebroeck <wim@iguana.be> Cc: Sangbeom Kim <sbkim73@samsung.com> Cc: Liam Girdwood <lrg@ti.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Kukjin Kim <kgene.kim@samsung.com>
-
- 06 Feb, 2012 1 commit
-
-
Sylwester Nawrocki authored
The spi-s3c64xx driver is also used on Exynos4 so update the dependency to enable build on those platforms. Signed-off-by:
Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> [grant.likely: relax depends to ARCH_EXYNOS instead of ARCH_EXYNOS4] Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 02 Jan, 2012 1 commit
-
-
Olof Johansson authored
It's unlikely that anyone ever wants to turn off SYSTEM_DMA, but just in case, it makes more sense to have the driver depend on it than select it. Signed-off-by:
Olof Johansson <olof@lixom.net> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 07 Dec, 2011 2 commits
-
-
Manuel Lauss authored
Add basic support for the Au1300 variant(s): - New GPIO/Interrupt controller - DBDMA ids - USB setup - MMC support - enable various PSC drivers - detection code. Signed-off-by:
Manuel Lauss <manuel.lauss@googlemail.com> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2866/ Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
Jiri Slaby authored
When spi_fsl_espi is chosen to be built as a module, there is a build error because we test only CONFIG_SPI_FSL_ESPI in declaration of struct mpc8xxx_spi in drivers/spi/spi_fsl_lib.h. Also some called functions are not exported. So we forbid CONFIG_SPI_FSL_ESPI to be tristate here. The error looks like: drivers/spi/spi_fsl_espi.c: In function 'fsl_espi_bufs': drivers/spi/spi_fsl_espi.c:232: error: 'struct mpc8xxx_spi' has no member named 'len' ... Signed-off-by:
Jiri Slaby <jslaby@suse.cz> Acked-by:
Kumar Gala <galak@kernel.crashing.org> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Wolfram Sang <w.sang@pengutronix.de>
-
- 14 Nov, 2011 1 commit
-
-
Paul Bolle authored
There is no Kconfig symbol named SPI_MASTER_OF. The select statement for that symbol is a nop. Drop it. While we're touching that Kconfig entry also drop a superfluous dependency on SPI (this entry is wrapped in "if SPI" / "endif"). Signed-off-by:
Paul Bolle <pebolle@tiscali.nl> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- 29 Oct, 2011 1 commit
-
-
Tomoya MORINAGA authored
ML7831 is companion chip for Intel Atom E6xx series. Signed-off-by:
Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 24 Oct, 2011 1 commit
-
-
Manuel Lauss authored
Now that no driver any longer depends on the CONFIG_SOC_AU1??? symbols, it's time to get rid of them: Move some of the platform devices to the boards which can use them, Rename a few (unused) constants in the header, Replace them with MIPS_ALCHEMY in the various Kconfig files. Finally delete them altogether from the Alchemy Kconfig file. Signed-off-by:
Manuel Lauss <manuel.lauss@googlemail.com> To: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/2707/ Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-
- 14 Jul, 2011 2 commits
-
-
Shawn Guo authored
Software defined version number is not stable enough to be used in device type naming scheme. The patch changes it to use implicit soc name for spi device type definition. In this way, we can easily align the naming scheme with device tree binding, which comes later. It removes fifosize from spi_imx_data and adds devtype there, so that fifosize can be set in an inline function according to devtype. Also, cpu_is_mx can be replaced by inline functions checking devtype. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Shawn Guo authored
The only difference between SPI_IMX_VER_0_7 and SPI_IMX_VER_0_4 is .config function. The patch uses cpu_is_mx35 (to be removed) as the temporary solution to consolidate functions spi_imx0_4_config and spi_imx0_7_config into mx31_config. As a result, type SPI_IMX_VER_0_7 can be merged into SPI_IMX_VER_0_4. It also renames function spi_imx0_4_reset to mx31_reset to keep consistency with other function naming. A couple of redundant macros, MX3_CSPISTAT and MX3_CSPISTAT_RR, together with the useless type SPI_IMX_VER_0_5 also get cleaned up. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 04 Jul, 2011 1 commit
-
-
Peter Korsgaard authored
It was equivalent to spi-gpio, and there's no longer any in-tree users of it, so get rid of it. Signed-off-by:
Peter Korsgaard <jacmet@sunsite.dk> Acked-by:
Ben Dooks <ben-linux@fluff.org> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 08 Jun, 2011 1 commit
-
-
Tomoya MORINAGA authored
Support ML7213 device of OKI SEMICONDUCTOR. ML7213 is companion chip of Intel Atom E6xx series for IVI(In-Vehicle Infotainment). ML7213 is compatible for Intel EG20T PCH. v4: - Delete unrelated whitespace - Prevent device driver from accessing platform data - Add __devinit and __devexit - Save pdev->dev to pd_dev->dev.parent - Have own suspend/resume processing in platform_driver. - Care returned value in pch_spi_init - Change unregister order Signed-off-by:
Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 06 Jun, 2011 1 commit
-
-
Grant Likely authored
Sort the SPI makefile and enforce the naming convention spi_*.c for spi drivers. This change also rolls the contents of atmel_spi.h into the .c file since there is only one user of that particular include file. v2: - Use 'spi-' prefix instead of 'spi_' to match what seems to be be the predominant pattern for subsystem prefixes. - Clean up filenames in Kconfig and header comment blocks Signed-off-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
Wolfram Sang <w.sang@pengutronix.de> Acked-by:
Linus Walleij <linus.walleij@linaro.org>
-
- 27 May, 2011 1 commit
-
-
Cliff Cai authored
The Blackfin SPORT peripheral is a pretty flexible device. With enough coaching, we can make it generate SPI compatible waveforms. This is desirable as the SPORT can run at much higher clock frequencies than the dedicated on-chip SPI peripheral, and it can do full duplex DMA. It also opens up the possibility of multiple SPI buses in case someone wants to dedicate a whole bus to a specific part that does not play well with others. Signed-off-by:
Cliff Cai <cliff.cai@analog.com> Signed-off-by:
Bryan Wu <cooloney@kernel.org> Signed-off-by:
Michael Hennerich <michael.hennerich@analog.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 20 May, 2011 1 commit
-
-
Linus Walleij authored
This driver has no TODO, and is now used on several platforms: ARM, U300, Ux500, SPEAr and more. So drop the EXPERIMENTAL requirement. Signed-off-by:
Linus Walleij <linus.walleij@stericsson.com> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 15 Mar, 2011 1 commit
-
-
Cyril Chemparathy authored
This patch adds an SPI master implementation that operates on top of an underlying TI-SSP port. Acked-by:
Grant Likely <grant.likely@secretlab.ca> Signed-off-by:
Cyril Chemparathy <cyril@ti.com> Signed-off-by:
Sekhar Nori <nsekhar@ti.com> Signed-off-by:
Kevin Hilman <khilman@ti.com>
-
- 08 Mar, 2011 1 commit
-
-
Alberto Panizzo authored
This fix a kernel NULL pointer error while initialising SPI introduced by: 4d2f13be1e370a670c1cae20c194d5ce961e0fa5 Signed-off-by:
Alberto Panizzo <alberto@amarulasolutions.com> Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de>
-
- 07 Mar, 2011 2 commits
-
-
Richard Zhao authored
Move to SOC_SOC_IMX3X. Leave ARCH_MX31/35 definitions there, in case some place prevent multi-soc single image. Signed-off-by:
Richard Zhao <richard.zhao@freescale.com> Acked-by:
Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de>
-
Richard Zhao authored
Move to SOC_SOC_IMX5X. Leave only places which prevent multi-soc using ARCH_MX5X. Signed-off-by:
Richard Zhao <richard.zhao@freescale.com> Acked-by:
Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by:
Sascha Hauer <s.hauer@pengutronix.de>
-
- 22 Feb, 2011 3 commits
-
-
Yoshihiro Shimoda authored
The SH7757 has SPI0 module. This patch supports it. Signed-off-by:
Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> [grant.likely@secretlab.ca: fixed Makefile ordering, added __dev{init,exit} annotations, removed DRIVER_VERSION (this is mainline, the version == the kernel version) and tidied some indentation & style stuff] Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Thomas Chou authored
This patch adds a new SPI driver to support the Altera SOPC Builder SPI component. It uses the bitbanging library. Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
Thomas Chou authored
This patch adds support of OpenCores tiny SPI driver. http://opencores.org/project,tiny_spi Signed-off-by:
Thomas Chou <thomas@wytron.com.tw> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
-
- 18 Jan, 2011 1 commit
-
-
Gabor Juhos authored
The Atheros AR71XX/AR724X/AR913X SoCs have a built-in SPI controller. This patch implements a driver for that. Signed-off-by:
Gabor Juhos <juhosg@openwrt.org> Cc: David Brownell <dbrownell@users.sourceforge.net> Cc: spi-devel-general@lists.sourceforge.net Acked-by:
Grant Likely <grant.likely@secretlab.ca> Cc: linux-mips@linux-mips.org Cc: Imre Kaloz <kaloz@openwrt.org> Cc: Luis R. Rodriguez <lrodriguez@atheros.com> Cc: Cliff Holden <Cliff.Holden@Atheros.com> Cc: Kathy Giori <Kathy.Giori@Atheros.com> Patchwork: https://patchwork.linux-mips.org/patch/1960/ Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
-