mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
regulator: Add PMAU0102 RPMH regulator support
Shawn Guo <shengchao.guo@oss.qualcomm.com> says: This series adds RPMH regulator support for PMAU0102 PMIC found on Qualcomm Nord SoC based devices.
This commit is contained in:
commit
dfa2186f3f
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user