summaryrefslogtreecommitdiffstats
path: root/drivers/spi/sandbox_spi.c
Commit message (Collapse)AuthorAgeFilesLines
* dm: spi: Move the per-child data size to the uclassSimon Glass2015-01-291-1/+0
| | | | | | | | This is common to all SPI drivers and specifies a structure used by the uclass. It makes more sense to define it in the uclass. Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Simon Glass <sjg@chromium.org>
* dm: sandbox: spi: Move to driver modelSimon Glass2014-10-221-126/+74
| | | | | | | | Adjust the sandbox SPI driver to support driver model and move sandbox over to driver model for SPI. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
* sandbox: Add implementation of spi_setup_slave_fdt()Simon Glass2014-03-171-0/+13
| | | | | | This function is needed when CONFIG_OF_SPI is defined. Signed-off-by: Simon Glass <sjg@chromium.org>
* sandbox: spi: Add SPI emulation busMike Frysinger2013-12-091-0/+204
This adds a SPI framework for people to hook up simulated SPI clients. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Simon Glass <sjg@chromium.org>
OpenPOWER on IntegriCloud