All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] regulator: qcom_usb_vbus: add pm4125 VBUS regulator support
@ 2026-07-06 12:31 Rakesh Kota
  2026-07-06 12:31 ` [PATCH v3 1/4] dt-bindings: regulator: qcom,usb-vbus-regulator: add qcom,pm4125-vbus-reg Rakesh Kota
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Rakesh Kota @ 2026-07-06 12:31 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Wesley Cheng, Bjorn Andersson, Konrad Dybcio,
	Bryan O'Donoghue
  Cc: linux-arm-msm, linux-kernel, devicetree, jishnu.prakash,
	kamal.wadhwa, Krzysztof Kozlowski, Rakesh Kota,
	Krzysztof Kozlowski

Add support for PM4125 USB VBUS regulator. Unlike PM8150B which uses
a current-limit selector, PM4125 uses a 2-bit VBOOST voltage selector
supporting 4.25 V, 4.5 V, 4.75 V and 5.0 V output.

Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
---
Changes in v3:
- Updates the Vbus voltage min/max to 5V as per Konrad's and Dmitry suggestions.
- Split the Driver change into two part as per the Bryan O'Donoghue suggestions.
     - Patch 1: Add register abstraction logic + PM8150B support
     - Patch 2: Add PM4125 compatible
- Dropped Konrad's and Dmitry Reviewed-by tags on the Drivers change as I've split it into two patches.
- Link to v2: https://lore.kernel.org/r/20260701-add_pm4125-vbus-reg-v2-0-6bac2bac7131@oss.qualcomm.com

Changes in v2:
- Fix the registers name and unit-address as per Konrad's suggestions.
- Use microvolt instead of microamp for qrb2210.
- Link to v1: https://lore.kernel.org/r/20260520-add_pm4125-vbus-reg-v1-0-f6d15d7dbbe8@oss.qualcomm.com

---
Rakesh Kota (4):
      dt-bindings: regulator: qcom,usb-vbus-regulator: add qcom,pm4125-vbus-reg
      regulator: qcom_usb_vbus: add register abstraction and PM8150B support
      regulator: qcom_usb_vbus: add support for qcom,pm4125-vbus-reg
      arm64: dts: qcom: Fix pm4125 vbus regulator compatible and constraints

 .../regulator/qcom,usb-vbus-regulator.yaml         |  50 +++++++++-
 arch/arm64/boot/dts/qcom/pm4125.dtsi               |   2 +-
 arch/arm64/boot/dts/qcom/qrb2210-arduino-imola.dts |   4 +-
 arch/arm64/boot/dts/qcom/qrb2210-rb1.dts           |   4 +-
 drivers/regulator/qcom_usb_vbus-regulator.c        | 102 ++++++++++++++++++---
 5 files changed, 138 insertions(+), 24 deletions(-)
---
base-commit: be5c93fa674f0fc3c8f359c2143abce6bbb422e6
change-id: 20260520-add_pm4125-vbus-reg-95c858c6ae43

Best regards,
-- 
Rakesh Kota <rakesh.kota@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2026-07-11 19:50 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06 12:31 [PATCH v3 0/4] regulator: qcom_usb_vbus: add pm4125 VBUS regulator support Rakesh Kota
2026-07-06 12:31 ` [PATCH v3 1/4] dt-bindings: regulator: qcom,usb-vbus-regulator: add qcom,pm4125-vbus-reg Rakesh Kota
2026-07-06 17:24   ` Mark Brown
2026-07-06 12:31 ` [PATCH v3 2/4] regulator: qcom_usb_vbus: add register abstraction and PM8150B support Rakesh Kota
2026-07-06 13:45   ` Bryan O'Donoghue
2026-07-06 13:46     ` Mark Brown
2026-07-06 14:29   ` Dmitry Baryshkov
2026-07-06 12:31 ` [PATCH v3 3/4] regulator: qcom_usb_vbus: add support for qcom,pm4125-vbus-reg Rakesh Kota
2026-07-06 13:48   ` Bryan O'Donoghue
2026-07-06 14:29   ` Dmitry Baryshkov
2026-07-06 15:31   ` Konrad Dybcio
2026-07-06 12:31 ` [PATCH v3 4/4] arm64: dts: qcom: Fix pm4125 vbus regulator compatible and constraints Rakesh Kota
2026-07-06 13:08   ` Konrad Dybcio
2026-07-06 13:49   ` Bryan O'Donoghue
2026-07-07  8:33     ` Rakesh Kota
2026-07-07  8:38       ` Krzysztof Kozlowski
2026-07-07  9:25       ` Konrad Dybcio
2026-07-07  9:30       ` Bryan O'Donoghue
2026-07-06 14:30   ` Dmitry Baryshkov
2026-07-07 14:03   ` Krzysztof Kozlowski
2026-07-11 19:49   ` (subset) " Bjorn Andersson
2026-07-06 22:35 ` (subset) [PATCH v3 0/4] regulator: qcom_usb_vbus: add pm4125 VBUS regulator support Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.