regulator: rpmh-regulator: Add RPMH regulator support for PMR735D

Add support for PMR735D PMIC voltage regulators which are present on
Kaanapali boards.

Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Jishnu Prakash <jishnu.prakash@oss.qualcomm.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20251023-pmr735d_regulator-v2-2-452e1b28cd38@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Jishnu Prakash 2025-10-23 14:14:37 +05:30 committed by Mark Brown
parent f76dbe127f
commit d054cc3a2c
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 15 additions and 0 deletions

View File

@ -1735,6 +1735,17 @@ static const struct rpmh_vreg_init_data pmr735b_vreg_data[] = {
{}
};
static const struct rpmh_vreg_init_data pmr735d_vreg_data[] = {
RPMH_VREG("ldo1", LDO, 1, &pmic5_nldo515, "vdd-l1-l2-l5"),
RPMH_VREG("ldo2", LDO, 2, &pmic5_nldo515, "vdd-l1-l2-l5"),
RPMH_VREG("ldo3", LDO, 3, &pmic5_nldo515, "vdd-l3-l4"),
RPMH_VREG("ldo4", LDO, 4, &pmic5_nldo515, "vdd-l3-l4"),
RPMH_VREG("ldo5", LDO, 5, &pmic5_nldo515, "vdd-l1-l2-l5"),
RPMH_VREG("ldo6", LDO, 6, &pmic5_nldo515, "vdd-l6"),
RPMH_VREG("ldo7", LDO, 7, &pmic5_nldo515, "vdd-l7"),
{}
};
static const struct rpmh_vreg_init_data pm660_vreg_data[] = {
RPMH_VREG("smps1", SMPS, 1, &pmic4_ftsmps426, "vdd-s1"),
RPMH_VREG("smps2", SMPS, 2, &pmic4_ftsmps426, "vdd-s2"),
@ -1950,6 +1961,10 @@ static const struct of_device_id __maybe_unused rpmh_regulator_match_table[] = {
.compatible = "qcom,pmr735b-rpmh-regulators",
.data = pmr735b_vreg_data,
},
{
.compatible = "qcom,pmr735d-rpmh-regulators",
.data = pmr735d_vreg_data,
},
{
.compatible = "qcom,pm660-rpmh-regulators",
.data = pm660_vreg_data,