[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250818124110.8136-1-quic_nitirawa@quicinc.com>
Date: Mon, 18 Aug 2025 18:11:08 +0530
From: Nitin Rawat <quic_nitirawa@...cinc.com>
To: vkoul@...nel.org, kishon@...nel.org, mani@...nel.org,
dmitry.baryshkov@....qualcomm.com, andersson@...nel.org,
konradybcio@...nel.org
Cc: linux-arm-msm@...r.kernel.org, linux-phy@...ts.infradead.org,
linux-kernel@...r.kernel.org, Nitin Rawat <quic_nitirawa@...cinc.com>
Subject: [PATCH V2 0/2] Add regulator load support for QMP UFS PHY
This patch series adds regulator load support to the QMP UFS PHY driver.
Currently, the driver only sets regulator supply names without specifying
load requirements, which can lead to suboptimal power management.
On some SoCs, regulators are shared between the QMP UFS PHY and other IP
blocks. The regulator framework needs to know the maximum load
requirements from all consumers to determine the appropriate
regulator mode (Low Power Mode vs High Power Mode) and ensure stable
operation.
The series implements a simple and efficient approach for regulator load
handling, with varying load requirements across different SoC
configurations.
Changes from v1:
1. Addressed comments to move load configuration from device tree to
hardcoded, per-compatible data within the driver.
2. Accordingly updated commit text to reflect the same.
3. Addressed Manivannan's comment to avoid initialization of load.
Nitin Rawat (2):
phy: qcom-qmp-ufs: Add regulator load voting for UFS QMP Phy
phy: qcom-qmp-ufs: Add regulator loads for SM8550 and SM8750
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
--
2.48.1
Powered by blists - more mailing lists