summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-uclass.c
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-12-14 20:06:51 +0300
committerSimon Glass <sjg@chromium.org>2020-12-23 06:39:26 +0300
commita5624c6b4c42560e6072c114ce185c9a4bb3fde4 (patch)
treeba92b529da2a8e4a9689e9290245969e0e4a5aa7 /drivers/spi/spi-uclass.c
parent741280e9accd3da20650a04f716538944d878482 (diff)
downloadu-boot-a5624c6b4c42560e6072c114ce185c9a4bb3fde4.tar.xz
test: dm: spi: Add testcase for spi_claim_bus()
Add testcase for spi_claim_bus(), which checks that sandbox spi bus speed/mode settings are updated correctly when multiple slaves use the bus consecutively. The following configurations are used for the two spi slaves involved: * different max_hz / different modes * different max_hz / same modes * different modes / same max_hz asm/test.h header is added in order to be able to retrieve the current speed/mode of the sandbox spi bus, via sandbox_spi_get_{speed, mode}. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/spi/spi-uclass.c')
0 files changed, 0 insertions, 0 deletions