spi: microchip-core-qspi: set min_speed_hz during probe
authorConor Dooley <conor.dooley@microchip.com>
Fri, 20 Jun 2025 13:28:24 +0000 (14:28 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 23 Jun 2025 20:33:53 +0000 (21:33 +0100)
commit76f03ce1c6f22805ecf689b1f3ecfb56582eddd5
treea856ad764a7f90e1caa1c87f73dbe2b258b3e391
parent86731a2a651e58953fc949573895f2fa6d456841
spi: microchip-core-qspi: set min_speed_hz during probe

The controller's minimum possible bus clock is 1/30 the rate of the
input clock. Naively set the minimum bus clock speed the controller
is capable of during probe, assuming that the rate will never reduce
further.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20250620-drained-widen-ac311bd5f172@spud
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-microchip-core-qspi.c