Re: [PATCH 2/6] sandbox: test: Add a second SPI slave on sandbox_spi bus

2020-12-12 Thread Simon Glass
On Sun, 6 Dec 2020 at 14:23, Ovidiu Panait wrote: > > 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.

[PATCH 2/6] sandbox: test: Add a second SPI slave on sandbox_spi bus

2020-12-06 Thread Ovidiu Panait
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.