From: "Jaehoon Chung" <jh80.chung@samsung.com>
To: "'Neil Armstrong'" <neil.armstrong@linaro.org>,
"'Caleb Connolly'" <caleb.connolly@linaro.org>,
"'Sumit Garg'" <sumit.garg@linaro.org>,
"'Tom Rini'" <trini@konsulko.com>
Cc: <u-boot-qcom@groups.io>, <u-boot@lists.denx.de>
Subject: RE: [PATCH] regulator: qcom-rpmh-regulator: add support for pmc8380 regulators
Date: Mon, 25 Nov 2024 20:00:26 +0900 [thread overview]
Message-ID: <03b101db3f29$3c0f3440$b42d9cc0$@samsung.com> (raw)
In-Reply-To: <20241125-topic-hamoa-pmc8380-rpmh-regulators-v1-1-695c44ea8586@linaro.org>
> -----Original Message-----
> From: Neil Armstrong <neil.armstrong@linaro.org>
> Sent: Monday, November 25, 2024 5:25 PM
> To: Jaehoon Chung <jh80.chung@samsung.com>; Caleb Connolly <caleb.connolly@linaro.org>; Sumit Garg
> <sumit.garg@linaro.org>; Tom Rini <trini@konsulko.com>
> Cc: u-boot-qcom@groups.io; u-boot@lists.denx.de; Neil Armstrong <neil.armstrong@linaro.org>
> Subject: [PATCH] regulator: qcom-rpmh-regulator: add support for pmc8380 regulators
>
> Add the PMC8380 regulator data found on the Snapdragon X Elite platforms.
> The tables are imported from the Linux driver.
>
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Best Regards,
Jaehoon Chung
> ---
> drivers/power/regulator/qcom-rpmh-regulator.c | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/drivers/power/regulator/qcom-rpmh-regulator.c b/drivers/power/regulator/qcom-rpmh-
> regulator.c
> index 2dc261d83e3727a5b2f72a5d13c1ef17a9677a8c..70df51b5fa4ee4001b7eff6facc80957ada84391 100644
> --- a/drivers/power/regulator/qcom-rpmh-regulator.c
> +++ b/drivers/power/regulator/qcom-rpmh-regulator.c
> @@ -536,6 +536,21 @@ static const struct rpmh_vreg_init_data pm8550ve_vreg_data[] = {
> {}
> };
>
> +static const struct rpmh_vreg_init_data pmc8380_vreg_data[] = {
> + RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps525_lv, "vdd-s1"),
> + RPMH_VREG("smps2", "smp%s2", &pmic5_ftsmps525_lv, "vdd-s2"),
> + RPMH_VREG("smps3", "smp%s3", &pmic5_ftsmps525_lv, "vdd-s3"),
> + RPMH_VREG("smps4", "smp%s4", &pmic5_ftsmps525_mv, "vdd-s4"),
> + RPMH_VREG("smps5", "smp%s5", &pmic5_ftsmps525_lv, "vdd-s5"),
> + RPMH_VREG("smps6", "smp%s6", &pmic5_ftsmps525_lv, "vdd-s6"),
> + RPMH_VREG("smps7", "smp%s7", &pmic5_ftsmps525_lv, "vdd-s7"),
> + RPMH_VREG("smps8", "smp%s8", &pmic5_ftsmps525_lv, "vdd-s8"),
> + RPMH_VREG("ldo1", "ldo%s1", &pmic5_nldo515, "vdd-l1"),
> + RPMH_VREG("ldo2", "ldo%s2", &pmic5_nldo515, "vdd-l2"),
> + RPMH_VREG("ldo3", "ldo%s3", &pmic5_nldo515, "vdd-l3"),
> + {}
> +};
> +
> /* probe an individual regulator */
> static int rpmh_regulator_probe(struct udevice *dev)
> {
> @@ -662,6 +677,10 @@ static const struct udevice_id rpmh_regulator_ids[] = {
> .compatible = "qcom,pm8550vs-rpmh-regulators",
> .data = (ulong)pm8550vs_vreg_data,
> },
> + {
> + .compatible = "qcom,pmc8380-rpmh-regulators",
> + .data = (ulong)pmc8380_vreg_data,
> + },
> { /* sentinal */ },
> };
>
>
> ---
> base-commit: 7fe55182d9263a62e18b450c97bdf0b8031e5667
> change-id: 20241125-topic-hamoa-pmc8380-rpmh-regulators-2b9460fcd7bd
>
> Best regards,
> --
> Neil Armstrong <neil.armstrong@linaro.org>
next prev parent reply other threads:[~2024-11-25 11:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20241125082454epcas1p34e985704b3a152b589a57954976db4ed@epcas1p3.samsung.com>
2024-11-25 8:24 ` [PATCH] regulator: qcom-rpmh-regulator: add support for pmc8380 regulators Neil Armstrong
2024-11-25 11:00 ` Jaehoon Chung [this message]
2025-01-22 16:12 ` Caleb Connolly
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='03b101db3f29$3c0f3440$b42d9cc0$@samsung.com' \
--to=jh80.chung@samsung.com \
--cc=caleb.connolly@linaro.org \
--cc=neil.armstrong@linaro.org \
--cc=sumit.garg@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