public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sumit Garg <sumit.garg@kernel.org>
To: Luca Weiss <luca.weiss@fairphone.com>
Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io,
	Tom Rini <trini@konsulko.com>,
	Casey Connolly <casey.connolly@linaro.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Varadarajan Narayanan <quic_varada@quicinc.com>,
	Aswin Murugan <aswin.murugan@oss.qualcomm.com>,
	Danila Tikhonov <danila@jiaxyga.com>,
	David Wronek <david.wronek@mainlining.org>,
	Alexey Minnekhanov <alexeymin@postmarketos.org>,
	Lukasz Majewski <lukma@denx.de>,
	Aelin Reidel <aelin@mainlining.org>,
	Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Peng Fan <peng.fan@nxp.com>,
	Rui Miguel Silva <rui.silva@linaro.org>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Sam Day <me@samcday.com>
Subject: Re: [PATCH 4/7] regulator: qcom-rpmh-regulator: add support for PM7550 regulators
Date: Thu, 12 Mar 2026 13:18:46 +0530	[thread overview]
Message-ID: <abJv3hHkspjvsplW@sumit-xelite> (raw)
In-Reply-To: <20260311-milos-bringup-v1-4-eb905c467f10@fairphone.com>

On Wed, Mar 11, 2026 at 03:20:44PM +0100, Luca Weiss wrote:
> Add the PM7550 regulator data found on Qualcomm Milos devices.
> The tables are imported from the Linux driver. The SMPS regulators were
> not added now.

Extend commit message with Linux tag/commit for the imported tables,
with that:

Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com>

-Sumit

> 
> Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
> ---
>  drivers/power/regulator/qcom-rpmh-regulator.c | 33 +++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
> 
> diff --git a/drivers/power/regulator/qcom-rpmh-regulator.c b/drivers/power/regulator/qcom-rpmh-regulator.c
> index 3f0f1845469..4d65aae1690 100644
> --- a/drivers/power/regulator/qcom-rpmh-regulator.c
> +++ b/drivers/power/regulator/qcom-rpmh-regulator.c
> @@ -640,6 +640,35 @@ static const struct rpmh_vreg_init_data pm6150l_vreg_data[] = {
>  	{}
>  };
>  
> +static const struct rpmh_vreg_init_data pm7550_vreg_data[] = {
> +	/* smps1 - smps6 are not added to u-boot yet */
> +	RPMH_VREG("ldo1",  "ldo%s1",  &pmic5_nldo515,      "vdd-l1"),
> +	RPMH_VREG("ldo2",  "ldo%s2",  &pmic5_nldo515,      "vdd-l2-l3"),
> +	RPMH_VREG("ldo3",  "ldo%s3",  &pmic5_nldo515,      "vdd-l2-l3"),
> +	RPMH_VREG("ldo4",  "ldo%s4",  &pmic5_nldo515,      "vdd-l4-l5"),
> +	RPMH_VREG("ldo5",  "ldo%s5",  &pmic5_nldo515,      "vdd-l4-l5"),
> +	RPMH_VREG("ldo6",  "ldo%s6",  &pmic5_nldo515,      "vdd-l6"),
> +	RPMH_VREG("ldo7",  "ldo%s7",  &pmic5_nldo515,      "vdd-l7"),
> +	RPMH_VREG("ldo8",  "ldo%s8",  &pmic5_nldo515,      "vdd-l8"),
> +	RPMH_VREG("ldo9",  "ldo%s9",  &pmic5_nldo515,      "vdd-l9-l10"),
> +	RPMH_VREG("ldo10", "ldo%s10", &pmic5_nldo515,      "vdd-l9-l10"),
> +	RPMH_VREG("ldo11", "ldo%s11", &pmic5_nldo515,      "vdd-l11"),
> +	RPMH_VREG("ldo12", "ldo%s12", &pmic5_pldo515_mv,   "vdd-l12-l14"),
> +	RPMH_VREG("ldo13", "ldo%s13", &pmic5_pldo515_mv,   "vdd-l13-l16"),
> +	RPMH_VREG("ldo14", "ldo%s14", &pmic5_pldo,         "vdd-l12-l14"),
> +	RPMH_VREG("ldo15", "ldo%s15", &pmic5_pldo,         "vdd-l15-l17-l18-l19-l20-l21-l22-l23"),
> +	RPMH_VREG("ldo16", "ldo%s16", &pmic5_pldo,         "vdd-l13-l16"),
> +	RPMH_VREG("ldo17", "ldo%s17", &pmic5_pldo,         "vdd-l15-l17-l18-l19-l20-l21-l22-l23"),
> +	RPMH_VREG("ldo18", "ldo%s18", &pmic5_pldo,         "vdd-l15-l17-l18-l19-l20-l21-l22-l23"),
> +	RPMH_VREG("ldo19", "ldo%s19", &pmic5_pldo,         "vdd-l15-l17-l18-l19-l20-l21-l22-l23"),
> +	RPMH_VREG("ldo20", "ldo%s20", &pmic5_pldo,         "vdd-l15-l17-l18-l19-l20-l21-l22-l23"),
> +	RPMH_VREG("ldo21", "ldo%s21", &pmic5_pldo,         "vdd-l15-l17-l18-l19-l20-l21-l22-l23"),
> +	RPMH_VREG("ldo22", "ldo%s22", &pmic5_pldo,         "vdd-l15-l17-l18-l19-l20-l21-l22-l23"),
> +	RPMH_VREG("ldo23", "ldo%s23", &pmic5_pldo,         "vdd-l15-l17-l18-l19-l20-l21-l22-l23"),
> +	RPMH_VREG("bob",   "bob%s1",  &pmic5_bob,          "vdd-bob"),
> +	{}
> +};
> +
>  static const struct rpmh_vreg_init_data pm8150_vreg_data[] = {
>  	RPMH_VREG("smps1",  "smp%s1",  &pmic5_ftsmps510, "vdd-s1"),
>  	RPMH_VREG("smps2",  "smp%s2",  &pmic5_ftsmps510, "vdd-s2"),
> @@ -946,6 +975,10 @@ static const struct udevice_id rpmh_regulator_ids[] = {
>  		.compatible = "qcom,pm7325-rpmh-regulators",
>  		.data = (ulong)pm7325_vreg_data,
>  	},
> +	{
> +		.compatible = "qcom,pm7550-rpmh-regulators",
> +		.data = (ulong)pm7550_vreg_data,
> +	},
>  	{
>  		.compatible = "qcom,pm8150-rpmh-regulators",
>  		.data = (ulong)pm8150_vreg_data,
> 
> -- 
> 2.53.0
> 

  reply	other threads:[~2026-03-12  7:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-11 14:20 [PATCH 0/7] Qualcomm Milos SoC bringup Luca Weiss
2026-03-11 14:20 ` [PATCH 1/7] drivers: pinctrl: Add Qualcomm Milos TLMM driver Luca Weiss
2026-03-12  7:39   ` Sumit Garg
2026-03-11 14:20 ` [PATCH 2/7] clk/qcom: Add Milos clock driver Luca Weiss
2026-03-12  7:45   ` Sumit Garg
2026-03-11 14:20 ` [PATCH 3/7] phy: qcom: Add Milos to QMP UFS PHY driver Luca Weiss
2026-03-12  7:47   ` Sumit Garg
2026-03-11 14:20 ` [PATCH 4/7] regulator: qcom-rpmh-regulator: add support for PM7550 regulators Luca Weiss
2026-03-12  7:48   ` Sumit Garg [this message]
2026-03-11 14:20 ` [PATCH 5/7] gpio: qcom: Support GPIOs on PM7550 PMIC Luca Weiss
2026-03-12  7:49   ` Sumit Garg
2026-03-11 14:20 ` [PATCH 6/7] qcom_defconfig: Enable Milos clock driver Luca Weiss
2026-03-12  7:50   ` Sumit Garg
2026-03-11 14:20 ` [PATCH 7/7] board/qualcomm: add debug config fragment for Milos Luca Weiss
2026-03-12  7:51   ` Sumit Garg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=abJv3hHkspjvsplW@sumit-xelite \
    --to=sumit.garg@kernel.org \
    --cc=aelin@mainlining.org \
    --cc=alexeymin@postmarketos.org \
    --cc=aswin.murugan@oss.qualcomm.com \
    --cc=balaji.selvanathan@oss.qualcomm.com \
    --cc=casey.connolly@linaro.org \
    --cc=danila@jiaxyga.com \
    --cc=david.wronek@mainlining.org \
    --cc=jh80.chung@samsung.com \
    --cc=luca.weiss@fairphone.com \
    --cc=lukma@denx.de \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=me@samcday.com \
    --cc=neil.armstrong@linaro.org \
    --cc=peng.fan@nxp.com \
    --cc=quic_varada@quicinc.com \
    --cc=rui.silva@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox