[PATCH 05/24] spi: cadence-qspi: Support per spi-mem operation frequency switches

Tudor Ambarus tudor.ambarus at linaro.org
Mon Nov 11 05:50:41 PST 2024



On 10/25/24 5:14 PM, Miquel Raynal wrote:
> Every ->exec_op() call correctly configures the spi bus speed to the
> maximum allowed frequency for the memory using the constant spi default
> parameter. Since we can now have per-operation constraints, let's use
> the value that comes from the spi-mem operation structure instead. In
> case there is no specific limitation for this operation, the default spi
> device value will be given anyway.
> 
> The per-operation frequency capability is thus advertised to the spi-mem
> core.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

Reviewed-by: Tudor Ambarus <tudor.ambarus at linaro.org>



More information about the linux-mtd mailing list