1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: QCOM SMD RPM REGULATOR 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotdescription: 10c66ec88fSEmmanuel Vadot The Qualcomm RPM over SMD regulator is modelled as a subdevice of the RPM. 11c66ec88fSEmmanuel Vadot Because SMD is used as the communication transport mechanism, the RPM 12c66ec88fSEmmanuel Vadot resides as a subnode of the SMD. As such, the SMD-RPM regulator requires 13c66ec88fSEmmanuel Vadot that the SMD and RPM nodes be present. 14c66ec88fSEmmanuel Vadot 15d5b0e70fSEmmanuel Vadot Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml for 16c66ec88fSEmmanuel Vadot information pertaining to the SMD node. 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadot Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml 19c66ec88fSEmmanuel Vadot for information regarding the RPM node. 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot The regulator node houses sub-nodes for each regulator within the device. 22c66ec88fSEmmanuel Vadot Each sub-node is identified using the node's name, with valid values listed 23c66ec88fSEmmanuel Vadot for each of the pmics below. 24c66ec88fSEmmanuel Vadot 25fac71e4eSEmmanuel Vadot For mp5496, s1, s2 26c66ec88fSEmmanuel Vadot 277ef62cebSEmmanuel Vadot For pm2250, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 287ef62cebSEmmanuel Vadot l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22 297ef62cebSEmmanuel Vadot 307ef62cebSEmmanuel Vadot For pm6125 s1, s2, s3, s4, s5, s6, s7, s8, l1, l2, l3, l5, l6, l7, l8, l9, 317ef62cebSEmmanuel Vadot l10, l22, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24 327ef62cebSEmmanuel Vadot 337ef62cebSEmmanuel Vadot For pm660, s1, s2, s3, s4, s5, s6, l1, l2, l3, l5, l6, l7, l8, l9, l10, l22, 347ef62cebSEmmanuel Vadot l12, l13, l14, l15, l16, l17, l18, l19 357ef62cebSEmmanuel Vadot 367ef62cebSEmmanuel Vadot For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob 377ef62cebSEmmanuel Vadot 385956d97fSEmmanuel Vadot For pm8226, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, 395956d97fSEmmanuel Vadot l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, 405956d97fSEmmanuel Vadot l26, l27, l28, lvs1 415956d97fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot For pm8841, s1, s2, s3, s4, s5, s6, s7, s8 43c66ec88fSEmmanuel Vadot 44b97ee269SEmmanuel Vadot For pm8909, s1, s2, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, 45b97ee269SEmmanuel Vadot l14, l15, l17, l18 46b97ee269SEmmanuel Vadot 47c66ec88fSEmmanuel Vadot For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 48c66ec88fSEmmanuel Vadot l12, l13, l14, l15, l16, l17, l18 49c66ec88fSEmmanuel Vadot 50*8d13bc63SEmmanuel Vadot For pm8937, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, 51*8d13bc63SEmmanuel Vadot l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23 52*8d13bc63SEmmanuel Vadot 53c66ec88fSEmmanuel Vadot For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 54c66ec88fSEmmanuel Vadot l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, lvs1, lvs2, 55c66ec88fSEmmanuel Vadot lvs3, 5vs1, 5vs2 56c66ec88fSEmmanuel Vadot 576be33864SEmmanuel Vadot For pm8950 and pm8953, s1, s2, s3, s4, s5, s6, s7, l1, l2, l3, l4, l5, l6, 586be33864SEmmanuel Vadot l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, 596be33864SEmmanuel Vadot l23 606be33864SEmmanuel Vadot 61c66ec88fSEmmanuel Vadot For pm8994, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, 62c66ec88fSEmmanuel Vadot l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, 63c66ec88fSEmmanuel Vadot l20, l21, l22, l23, l24, l25, l26, l27, l28, l29, l30, l31, l32, lvs1, lvs2 64c66ec88fSEmmanuel Vadot 65c66ec88fSEmmanuel Vadot For pm8998, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, l1, l2, 66c66ec88fSEmmanuel Vadot l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, 67c66ec88fSEmmanuel Vadot l20, l21, l22, l23, l24, l25, l26, l27, l28, lvs1, lvs2 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel Vadot For pma8084, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, 70c66ec88fSEmmanuel Vadot l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, 71c66ec88fSEmmanuel Vadot l20, l21, l22, l23, l24, l25, l26, l27, lvs1, lvs2, lvs3, lvs4, 5vs1 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot For pmi8994, s1, s2, s3, boost-bypass 74c66ec88fSEmmanuel Vadot 75c66ec88fSEmmanuel Vadot For pmi8998, bob 76c66ec88fSEmmanuel Vadot 778bab661aSEmmanuel Vadot For pmr735a, s1, s2, s3, l1, l2, l3, l4, l5, l6, l7 788bab661aSEmmanuel Vadot 79c66ec88fSEmmanuel Vadot For pms405, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 80c66ec88fSEmmanuel Vadot l12, l13 81c66ec88fSEmmanuel Vadot 82c66ec88fSEmmanuel Vadotmaintainers: 83d5b0e70fSEmmanuel Vadot - Andy Gross <agross@kernel.org> 84d5b0e70fSEmmanuel Vadot - Bjorn Andersson <bjorn.andersson@linaro.org> 85c66ec88fSEmmanuel Vadot 86c66ec88fSEmmanuel Vadotproperties: 87c66ec88fSEmmanuel Vadot compatible: 88c66ec88fSEmmanuel Vadot enum: 89c66ec88fSEmmanuel Vadot - qcom,rpm-mp5496-regulators 907ef62cebSEmmanuel Vadot - qcom,rpm-pm2250-regulators 917ef62cebSEmmanuel Vadot - qcom,rpm-pm6125-regulators 927ef62cebSEmmanuel Vadot - qcom,rpm-pm660-regulators 937ef62cebSEmmanuel Vadot - qcom,rpm-pm660l-regulators 945956d97fSEmmanuel Vadot - qcom,rpm-pm8226-regulators 95c66ec88fSEmmanuel Vadot - qcom,rpm-pm8841-regulators 96b97ee269SEmmanuel Vadot - qcom,rpm-pm8909-regulators 97c66ec88fSEmmanuel Vadot - qcom,rpm-pm8916-regulators 98*8d13bc63SEmmanuel Vadot - qcom,rpm-pm8937-regulators 99c66ec88fSEmmanuel Vadot - qcom,rpm-pm8941-regulators 100c66ec88fSEmmanuel Vadot - qcom,rpm-pm8950-regulators 1016be33864SEmmanuel Vadot - qcom,rpm-pm8953-regulators 102c66ec88fSEmmanuel Vadot - qcom,rpm-pm8994-regulators 103c66ec88fSEmmanuel Vadot - qcom,rpm-pm8998-regulators 104c66ec88fSEmmanuel Vadot - qcom,rpm-pma8084-regulators 105c66ec88fSEmmanuel Vadot - qcom,rpm-pmi8994-regulators 106c66ec88fSEmmanuel Vadot - qcom,rpm-pmi8998-regulators 1078bab661aSEmmanuel Vadot - qcom,rpm-pmr735a-regulators 108c66ec88fSEmmanuel Vadot - qcom,rpm-pms405-regulators 109c66ec88fSEmmanuel Vadot 110c66ec88fSEmmanuel VadotpatternProperties: 111c66ec88fSEmmanuel Vadot ".*-supply$": 112c66ec88fSEmmanuel Vadot description: Input supply phandle(s) for this node 113c66ec88fSEmmanuel Vadot 114c66ec88fSEmmanuel Vadot "^((s|l|lvs|5vs)[0-9]*)|(boost-bypass)|(bob)$": 115c66ec88fSEmmanuel Vadot description: List of regulators and its properties 116c66ec88fSEmmanuel Vadot $ref: regulator.yaml# 117aa1a8ff2SEmmanuel Vadot unevaluatedProperties: false 118c66ec88fSEmmanuel Vadot 119c66ec88fSEmmanuel VadotadditionalProperties: false 120c66ec88fSEmmanuel Vadot 121c66ec88fSEmmanuel Vadotrequired: 122c66ec88fSEmmanuel Vadot - compatible 123c66ec88fSEmmanuel Vadot 124c66ec88fSEmmanuel Vadotexamples: 125c66ec88fSEmmanuel Vadot - | 126c66ec88fSEmmanuel Vadot pm8941-regulators { 127c66ec88fSEmmanuel Vadot compatible = "qcom,rpm-pm8941-regulators"; 128c66ec88fSEmmanuel Vadot vdd_l13_l20_l23_l24-supply = <&pm8941_boost>; 129c66ec88fSEmmanuel Vadot 130c66ec88fSEmmanuel Vadot pm8941_s3: s3 { 131c66ec88fSEmmanuel Vadot regulator-min-microvolt = <1800000>; 132c66ec88fSEmmanuel Vadot regulator-max-microvolt = <1800000>; 133c66ec88fSEmmanuel Vadot }; 134c66ec88fSEmmanuel Vadot 135c66ec88fSEmmanuel Vadot pm8941_boost: s4 { 136c66ec88fSEmmanuel Vadot regulator-min-microvolt = <5000000>; 137c66ec88fSEmmanuel Vadot regulator-max-microvolt = <5000000>; 138c66ec88fSEmmanuel Vadot }; 139c66ec88fSEmmanuel Vadot 140c66ec88fSEmmanuel Vadot pm8941_l20: l20 { 141c66ec88fSEmmanuel Vadot regulator-min-microvolt = <2950000>; 142c66ec88fSEmmanuel Vadot regulator-max-microvolt = <2950000>; 143c66ec88fSEmmanuel Vadot }; 144c66ec88fSEmmanuel Vadot }; 145c66ec88fSEmmanuel Vadot... 146