[PATCH] phy: qcom-qmp-usb: Set regulator load before enabling
Faisal Hassan
faisal.hassan at oss.qualcomm.com
Wed Dec 17 20:35:10 PST 2025
On 9/5/2025 7:16 PM, Dmitry Baryshkov wrote:
> On Fri, Sep 05, 2025 at 03:42:43PM +0530, Faisal Hassan wrote:
>> Set the regulator load before enabling the regulators to ensure stable
>> operation and proper power management on platforms where regulators are
>> shared between the QMP USB PHY and other IP blocks.
>>
>> Introduce a regulator data structure with explicit enable load values and
>> use the regulator framework's `init_load_uA` field along with
>> `devm_regulator_bulk_get_const()` to ensure that `regulator_set_load()` is
>> applied automatically before the first enable, providing consistent power
>> management behavior across platforms.
>>
>> Signed-off-by: Faisal Hassan <faisal.hassan at oss.qualcomm.com>
>> ---
>> drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 27 ++++++-------------------
>> 1 file changed, 6 insertions(+), 21 deletions(-)
>>
>
> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
>
>
Hi Vinod,
Gentle ping on this.
Is this ready to be applied, or do you need anything else from me?
Thanks,
Faisal
More information about the linux-phy
mailing list