u-boot/arch/sandbox
Ovidiu Panait 1dc53ce71d sandbox: test: Add a second SPI slave on sandbox_spi bus
Place a second spi slave on the sandbox_spi bus, to be used by the
spi_claim_bus() testcase we are about to introduce. We need to make sure
that jumping between slaves calling spi_claim_bus() sets the bus speed and
mode appropriately. Use different max-hz and mode properties for this new
slave.

Also, update sandbox_spi cs_info call to allow activity on CS0/CS1 and
adapt dm_test_spi_find() testcase for this new setup.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-12-22 20:39:25 -07:00
..
cpu sandbox: implement invalidate_icache_all() 2020-12-22 20:39:25 -07:00
dts sandbox: test: Add a second SPI slave on sandbox_spi bus 2020-12-22 20:39:25 -07:00
include/asm sandbox: spi: Drop unused sandbox_spi_parse_spec function 2020-12-22 20:39:25 -07:00
lib sandbox: add handler for exceptions 2020-12-13 07:58:17 -07:00
config.mk sandbox: sdl: Move to use SDL2 2020-02-05 19:33:46 -07:00
Kconfig sandbox: add handler for exceptions 2020-12-13 07:58:17 -07:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00