aboutsummaryrefslogtreecommitdiff
path: root/drivers/timer/sandbox_timer.c
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-12-14 19:06:47 +0200
committerSimon Glass <sjg@chromium.org>2020-12-22 20:39:25 -0700
commit1dc53ce71d961a0404c0d785fb0b66f351a7b730 (patch)
treea7710af87cc6f698b8d8ea33391ef370d38f4ef7 /drivers/timer/sandbox_timer.c
parent1f6d618bb16e10bdba5cb08733e228367662b12c (diff)
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>
Diffstat (limited to 'drivers/timer/sandbox_timer.c')
0 files changed, 0 insertions, 0 deletions