public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add PMAU0102 RPMH regulator support
@ 2026-04-27  1:11 Shawn Guo
  2026-04-27  1:11 ` [PATCH v2 1/2] regulator: dt-bindings: qcom,rpmh: Add PMAU0102 support Shawn Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shawn Guo @ 2026-04-27  1:11 UTC (permalink / raw)
  To: Mark Brown
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
	Dmitry Baryshkov, Kamal Wadhwa, Bartosz Golaszewski, Deepti Jaggi,
	devicetree, linux-arm-msm, linux-kernel, Shawn Guo

This series adds RPMH regulator support for PMAU0102 PMIC found on
Qualcomm Nord SoC based devices.

Patch 1 adds the PMAU0102 compatible to the dt-bindings for
qcom,rpmh-regulator, documenting its 8 SMPSes and 3 LDOs.

Patch 2 adds the corresponding vreg data to the rpmh-regulator driver.

Changes in v2:
 - Add supply name for LDOs instead of using NULL (Thanks Konrad!)
 - Link to v1: https://lore.kernel.org/all/20260420072639.1249984-1-shengchao.guo@oss.qualcomm.com/

Kamal Wadhwa (1):
  regulator: rpmh-regulator: Add RPMH regulator support for Nord

Shawn Guo (1):
  regulator: dt-bindings: qcom,rpmh: Add PMAU0102 support

 .../regulator/qcom,rpmh-regulator.yaml        |  3 +++
 drivers/regulator/qcom-rpmh-regulator.c       | 19 +++++++++++++++++++
 2 files changed, 22 insertions(+)

-- 
2.43.0


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

* [PATCH v2 1/2] regulator: dt-bindings: qcom,rpmh: Add PMAU0102 support
  2026-04-27  1:11 [PATCH v2 0/2] Add PMAU0102 RPMH regulator support Shawn Guo
@ 2026-04-27  1:11 ` Shawn Guo
  2026-04-27  1:11 ` [PATCH v2 2/2] regulator: rpmh-regulator: Add RPMH regulator support for Nord Shawn Guo
  2026-04-27 23:29 ` [PATCH v2 0/2] Add PMAU0102 RPMH regulator support Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Shawn Guo @ 2026-04-27  1:11 UTC (permalink / raw)
  To: Mark Brown
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
	Dmitry Baryshkov, Kamal Wadhwa, Bartosz Golaszewski, Deepti Jaggi,
	devicetree, linux-arm-msm, linux-kernel, Shawn Guo

Add support for PMAU0102 PMIC used on Nord boards.

Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
index 58bb0ad5dda4..d93594304651 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,rpmh-regulator.yaml
@@ -51,6 +51,7 @@ description: |
       For PM8450, smps1 - smps6, ldo1 - ldo4
       For PM8550, smps1 - smps6, ldo1 - ldo17, bob1 - bob2
       For PM8998, smps1 - smps13, ldo1 - ldo28, lvs1 - lvs2
+      For PMAU0102, smps1 - smps8, ldo1 - ldo3
       For PMH0101, ldo1 - ldo18, bob1 - bob2
       For PMH0104, smps1 - smps4
       For PMH0110, smps1 - smps10, ldo1 - ldo4
@@ -87,6 +88,7 @@ properties:
       - qcom,pm8550ve-rpmh-regulators
       - qcom,pm8550vs-rpmh-regulators
       - qcom,pm8998-rpmh-regulators
+      - qcom,pmau0102-rpmh-regulators
       - qcom,pmc8180-rpmh-regulators
       - qcom,pmc8180c-rpmh-regulators
       - qcom,pmc8380-rpmh-regulators
@@ -417,6 +419,7 @@ allOf:
       properties:
         compatible:
           enum:
+            - qcom,pmau0102-rpmh-regulators
             - qcom,pmc8380-rpmh-regulators
             - qcom,pm8550ve-rpmh-regulators
     then:
-- 
2.43.0


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

* [PATCH v2 2/2] regulator: rpmh-regulator: Add RPMH regulator support for Nord
  2026-04-27  1:11 [PATCH v2 0/2] Add PMAU0102 RPMH regulator support Shawn Guo
  2026-04-27  1:11 ` [PATCH v2 1/2] regulator: dt-bindings: qcom,rpmh: Add PMAU0102 support Shawn Guo
@ 2026-04-27  1:11 ` Shawn Guo
  2026-04-27 10:30   ` Konrad Dybcio
  2026-04-27 23:29 ` [PATCH v2 0/2] Add PMAU0102 RPMH regulator support Mark Brown
  2 siblings, 1 reply; 5+ messages in thread
From: Shawn Guo @ 2026-04-27  1:11 UTC (permalink / raw)
  To: Mark Brown
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
	Dmitry Baryshkov, Kamal Wadhwa, Bartosz Golaszewski, Deepti Jaggi,
	devicetree, linux-arm-msm, linux-kernel, Shawn Guo

From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>

Add support for PMAU0102 PMIC voltage regulators which are present on
Nord boards.

Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
 drivers/regulator/qcom-rpmh-regulator.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c
index 6e4cb2871fca..87cba629860c 100644
--- a/drivers/regulator/qcom-rpmh-regulator.c
+++ b/drivers/regulator/qcom-rpmh-regulator.c
@@ -1100,6 +1100,21 @@ static const struct rpmh_vreg_init_data pm8998_vreg_data[] = {
 	{}
 };
 
+static const struct rpmh_vreg_init_data pmau0102_vreg_data[] = {
+	RPMH_VREG("smps1",  SMPS, 1,  &pmic5_ftsmps527,  "vdd-s1"),
+	RPMH_VREG("smps2",  SMPS, 2,  &pmic5_ftsmps527,  "vdd-s2"),
+	RPMH_VREG("smps3",  SMPS, 3,  &pmic5_ftsmps527,  "vdd-s3"),
+	RPMH_VREG("smps4",  SMPS, 4,  &pmic5_ftsmps527,  "vdd-s4"),
+	RPMH_VREG("smps5",  SMPS, 5,  &pmic5_ftsmps527,  "vdd-s5"),
+	RPMH_VREG("smps6",  SMPS, 6,  &pmic5_ftsmps527,  "vdd-s6"),
+	RPMH_VREG("smps7",  SMPS, 7,  &pmic5_ftsmps527,  "vdd-s7"),
+	RPMH_VREG("smps8",  SMPS, 8,  &pmic5_ftsmps527,  "vdd-s8"),
+	RPMH_VREG("ldo1",   LDO,  1,  &pmic5_nldo515,    "vdd-l1"),
+	RPMH_VREG("ldo2",   LDO,  2,  &pmic5_nldo515,    "vdd-l2"),
+	RPMH_VREG("ldo3",   LDO,  3,  &pmic5_pldo515_mv, "vdd-l3"),
+	{}
+};
+
 static const struct rpmh_vreg_init_data pmg1110_vreg_data[] = {
 	RPMH_VREG("smps1",  SMPS, 1, &pmic5_ftsmps510,  "vdd-s1"),
 	{}
@@ -1877,6 +1892,10 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = {
 		.compatible = "qcom,pm8998-rpmh-regulators",
 		.data = pm8998_vreg_data,
 	},
+	{
+		.compatible = "qcom,pmau0102-rpmh-regulators",
+		.data = pmau0102_vreg_data,
+	},
 	{
 		.compatible = "qcom,pmg1110-rpmh-regulators",
 		.data = pmg1110_vreg_data,
-- 
2.43.0


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

* Re: [PATCH v2 2/2] regulator: rpmh-regulator: Add RPMH regulator support for Nord
  2026-04-27  1:11 ` [PATCH v2 2/2] regulator: rpmh-regulator: Add RPMH regulator support for Nord Shawn Guo
@ 2026-04-27 10:30   ` Konrad Dybcio
  0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2026-04-27 10:30 UTC (permalink / raw)
  To: Shawn Guo, Mark Brown
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
	Dmitry Baryshkov, Kamal Wadhwa, Bartosz Golaszewski, Deepti Jaggi,
	devicetree, linux-arm-msm, linux-kernel

On 4/27/26 3:11 AM, Shawn Guo wrote:
> From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
> 
> Add support for PMAU0102 PMIC voltage regulators which are present on
> Nord boards.
> 
> Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

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

* Re: [PATCH v2 0/2] Add PMAU0102 RPMH regulator support
  2026-04-27  1:11 [PATCH v2 0/2] Add PMAU0102 RPMH regulator support Shawn Guo
  2026-04-27  1:11 ` [PATCH v2 1/2] regulator: dt-bindings: qcom,rpmh: Add PMAU0102 support Shawn Guo
  2026-04-27  1:11 ` [PATCH v2 2/2] regulator: rpmh-regulator: Add RPMH regulator support for Nord Shawn Guo
@ 2026-04-27 23:29 ` Mark Brown
  2 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2026-04-27 23:29 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
	Dmitry Baryshkov, Kamal Wadhwa, Bartosz Golaszewski, Deepti Jaggi,
	devicetree, linux-arm-msm, linux-kernel

On Mon, 27 Apr 2026 09:11:57 +0800, Shawn Guo wrote:
> Add PMAU0102 RPMH regulator support
> 
> This series adds RPMH regulator support for PMAU0102 PMIC found on
> Qualcomm Nord SoC based devices.
> 
> Patch 1 adds the PMAU0102 compatible to the dt-bindings for
> qcom,rpmh-regulator, documenting its 8 SMPSes and 3 LDOs.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-7.2

Thanks!

[1/2] regulator: dt-bindings: qcom,rpmh: Add PMAU0102 support
      https://git.kernel.org/broonie/regulator/c/1804b8a1b436
[2/2] regulator: rpmh-regulator: Add RPMH regulator support for Nord
      https://git.kernel.org/broonie/regulator/c/bb6ea5ae0b27

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


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

end of thread, other threads:[~2026-04-28  3:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27  1:11 [PATCH v2 0/2] Add PMAU0102 RPMH regulator support Shawn Guo
2026-04-27  1:11 ` [PATCH v2 1/2] regulator: dt-bindings: qcom,rpmh: Add PMAU0102 support Shawn Guo
2026-04-27  1:11 ` [PATCH v2 2/2] regulator: rpmh-regulator: Add RPMH regulator support for Nord Shawn Guo
2026-04-27 10:30   ` Konrad Dybcio
2026-04-27 23:29 ` [PATCH v2 0/2] Add PMAU0102 RPMH regulator support Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox