[PATCH 3/7] soc: qcom: geni-se: Add helper to set SE clock rate via OPP

Mukesh Savaliya mukesh.savaliya at oss.qualcomm.com
Wed Aug 12 01:55:04 PDT 2026



On 8/5/2026 1:27 AM, Praveen Talari wrote:
> GENI protocol drivers need a common way to scale the SE source clock
> through the OPP framework. However, the device that owns the OPP table
> differs depending on how the SE resources are managed. For Linux clock
> managed platforms, the OPP table is associated with the SE device,
> whereas on firmware-managed platforms it is associated with the
> performance power-domain device. This requires protocol drivers to be
> aware of the underlying resource management model when requesting
> frequency changes.
> 
> Introduce geni_se_set_rate(), a common helper that abstracts this
> difference and applies the requested frequency through the appropriate
> device. The helper automatically selects the performance-domain device
> when power domains are attached and falls back to the SE device
> otherwise.
> 
> Signed-off-by: Praveen Talari <praveen.talari at oss.qualcomm.com>
> ---

Acked-by: Mukesh Savaliya <mukesh.savaliya at oss.qualcomm.com>



More information about the linux-arm-kernel mailing list