Re: [PATCH v3 12/12] i2c: qcom-geni: Enable I2C on SA8255p Qualcomm platforms

From: Konrad Dybcio

Date: Mon Feb 02 2026 - 09:57:17 EST


On 1/30/26 5:44 PM, Praveen Talari wrote:
> Hi Konrad,
>
> On 1/30/2026 6:04 PM, Konrad Dybcio wrote:
>>> +static const struct geni_i2c_desc sa8255p_geni_i2c = {
>>> +    .resources_init = geni_se_domain_attach,
>>> +    .set_rate = geni_se_set_perf_opp,
>> This means, on SCMI devices you won't don't the vote on the POWER
>> domain (or PERF for that matter) and switch the GPIOs to a _suspend
>> state - is that by design?
>
> With PD_FLAG_DEV_LINK_ON enabled, every pm_runtime_get_sync() or pm_runtime_put_sync() on the device triggers a corresponding genpd on/off transition. These transitions are translated into SCMI power‑domain commands, allowing the firmware (GearVM) to perform the actual enable/disable sequencing.

Does that handle the >1 pd case too? If so, then all good

Konrad