Re: [PATCH v3 6/8] i2c: qcom-geni: Vote for SE clock rate using OPP

From: Mukesh Savaliya

Date: Thu Oct 22 2026 - 08:29:16 EST




On 10/15/2026 6:28 PM, Praveen Talari wrote:
The GENI I2C driver selects a source clock based on the requested bus
frequency and programs the corresponding clock selector. However, it
does not request the selected source clock rate when OPP-based clock
scaling is used.

Store the matched source clock frequency and vote for it through
dev_pm_opp_set_rate() before programming the clock selector. Also remove
and restore the vote during runtime suspend and resume.

Signed-off-by: Praveen Talari <praveen.talari@xxxxxxxxxxxxxxxx>
---
Reviewed-by: Mukesh Kumar Savaliya <mukesh.savaliya@xxxxxxxxxxxxxxxx>