diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-12-14 19:06:47 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-12-22 20:39:25 -0700 |
commit | 1dc53ce71d961a0404c0d785fb0b66f351a7b730 (patch) | |
tree | a7710af87cc6f698b8d8ea33391ef370d38f4ef7 /drivers/timer/sandbox_timer.c | |
parent | 1f6d618bb16e10bdba5cb08733e228367662b12c (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