mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
regulator: qcom-rpmh: Add support for PM8350B
The PM8350B has only one LDO, which gets its power from a dedicated input. Add support for it. Signed-off-by: Esteban Urrutia <esteuwu@proton.me> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://patch.msgid.link/20260723-pm8350b-ldo-v1-2-42b5428a0d3f@proton.me Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
90b5df5bf0
commit
6753251cfc
|
|
@ -1269,6 +1269,11 @@ static const struct rpmh_vreg_init_data pm8350_vreg_data[] = {
|
|||
{}
|
||||
};
|
||||
|
||||
static const struct rpmh_vreg_init_data pm8350b_vreg_data[] = {
|
||||
RPMH_VREG("ldo1", LDO, 1, &pmic5_nldo, "vdd-l1"),
|
||||
{}
|
||||
};
|
||||
|
||||
static const struct rpmh_vreg_init_data pm8350c_vreg_data[] = {
|
||||
RPMH_VREG("smps1", SMPS, 1, &pmic5_hfsmps515, "vdd-s1"),
|
||||
RPMH_VREG("smps2", SMPS, 2, &pmic5_ftsmps510, "vdd-s2"),
|
||||
|
|
@ -1868,6 +1873,10 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = {
|
|||
.compatible = "qcom,pm8350-rpmh-regulators",
|
||||
.data = pm8350_vreg_data,
|
||||
},
|
||||
{
|
||||
.compatible = "qcom,pm8350b-rpmh-regulators",
|
||||
.data = pm8350b_vreg_data,
|
||||
},
|
||||
{
|
||||
.compatible = "qcom,pm8350c-rpmh-regulators",
|
||||
.data = pm8350c_vreg_data,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user