> 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/