Re: [PATCH v2 3/6] spi: sandbox_spi: Implement speed/mode setup

2020-12-23 Thread Simon Glass
Implement sandbox_spi_set_{speed, mode} routines, to be able to keep track of the current bus speed/mode. This will help determine whether the values passed from dm_spi_claim_bus() are valid. Signed-off-by: Ovidiu Panait --- Changes in v2: - none drivers/spi/sandbox_spi.c | 26

[PATCH v2 3/6] spi: sandbox_spi: Implement speed/mode setup

2020-12-14 Thread Ovidiu Panait
Implement sandbox_spi_set_{speed, mode} routines, to be able to keep track of the current bus speed/mode. This will help determine whether the values passed from dm_spi_claim_bus() are valid. Signed-off-by: Ovidiu Panait --- Changes in v2: - none drivers/spi/sandbox_spi.c | 26