summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRakesh Kota <rakesh.kota@oss.qualcomm.com>2026-07-06 18:01:07 +0530
committerMark Brown <broonie@kernel.org>2026-07-06 23:34:13 +0100
commitd37664f99ef94f7a7bbca4b5ddcb7ab5c801f2e1 (patch)
tree899e5eb501f0f3eaec5ff84b9147256ccd76369a /include/linux
parent56cb4a0e8e7121e58df6395218c8d64bf2ff08d0 (diff)
regulator: qcom_usb_vbus: add support for qcom,pm4125-vbus-reg
The PM4125 PMIC uses a different register layout for USB VBUS control compared to PM8150B. On PM4125, CMD_OTG is at offset 0x50, OTG_CFG is at 0x56, and offset 0x52 is a 2-bit VBOOST voltage selector rather than a current-limit selector. Add pm4125_data using the abstraction introduced for PM8150B, along with dedicated voltage-selector ops and the pm4125_vboost_table covering the four supported boost voltages: 4.25 V, 4.5 V, 4.75 V, and 5.0 V. Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://patch.msgid.link/20260706-add_pm4125-vbus-reg-v3-3-999d78a87b81@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions