Re: [PATCH v2 3/6] spi: sun6i: add quirk for in-controller clock divider

From: Maxim Kiselev
Date: Sat May 06 2023 - 19:34:44 EST


> Don't we need to set tfr->effective_speed_hz to the actually programmed
> clock rate here?

Yes, we should. Also we need to configure SPI sample mode by setting
SDM and SDC bits in the SPI_TCR register.

Please check a new version of this patch.
https://lore.kernel.org/linux-arm-kernel/20230506232616.1792109-5-bigunclemax@xxxxxxxxx/