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

Maxim Kiselev bigunclemax at gmail.com
Sat May 6 16:34:24 PDT 2023


> 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@gmail.com/



More information about the linux-arm-kernel mailing list