[PATCH v2 6/9] spi: qcom-geni: Use geni_se_set_rate() for setting source clock frequency

Mukesh Savaliya mukesh.savaliya at oss.qualcomm.com
Thu Oct 8 12:45:29 PDT 2026



On 8/27/2026 11:29 PM, Praveen Talari wrote:
> On the SA8255P platform there is no Linux clock handler for the SE
> source clock, so the driver has no way to look up the source clock
> index and divider needed to fill the GSI CONFIG0 TRE for a requested
> transfer frequency. To work around this, firmware instead exposes the
> SE HW supported source clock frequencies as OPPs on the perf domain
> device.
> 
> geni_se_domain_attach() now populates clk_perf_tbl from
> the performance-domain OPP table, allowing firmware-managed
> platforms to use geni_se_clk_freq_match().
> 
> Use geni_se_set_rate() instead of dev_pm_opp_set_rate()
> so clock programming is handled centrally by the GENI core,
> independent of the underlying clock-control mechanism.
> 
> Acked-by: Mark Brown <broonie at kernel.org>
> Signed-off-by: Praveen Talari <praveen.talari at oss.qualcomm.com>
> ---
Reviewed-by: Mukesh Kumar Savaliya <mukesh.savaliya at oss.qualcomm.com>




More information about the linux-arm-kernel mailing list