18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 28c2ecf20Sopenharmony_ci%YAML 1.2 38c2ecf20Sopenharmony_ci--- 48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml# 58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_cititle: QCOM SMD RPM REGULATOR 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cidescription: 108c2ecf20Sopenharmony_ci The Qualcomm RPM over SMD regulator is modelled as a subdevice of the RPM. 118c2ecf20Sopenharmony_ci Because SMD is used as the communication transport mechanism, the RPM 128c2ecf20Sopenharmony_ci resides as a subnode of the SMD. As such, the SMD-RPM regulator requires 138c2ecf20Sopenharmony_ci that the SMD and RPM nodes be present. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd.txt for 168c2ecf20Sopenharmony_ci information pertaining to the SMD node. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml 198c2ecf20Sopenharmony_ci for information regarding the RPM node. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci The regulator node houses sub-nodes for each regulator within the device. 228c2ecf20Sopenharmony_ci Each sub-node is identified using the node's name, with valid values listed 238c2ecf20Sopenharmony_ci for each of the pmics below. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci For mp5496, s2 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci For pm8841, s1, s2, s3, s4, s5, s6, s7, s8 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 308c2ecf20Sopenharmony_ci l12, l13, l14, l15, l16, l17, l18 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 338c2ecf20Sopenharmony_ci l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, lvs1, lvs2, 348c2ecf20Sopenharmony_ci lvs3, 5vs1, 5vs2 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci For pm8950 and pm8953, s1, s2, s3, s4, s5, s6, s7, l1, l2, l3, l4, l5, l6, 378c2ecf20Sopenharmony_ci l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, 388c2ecf20Sopenharmony_ci l23 398c2ecf20Sopenharmony_ci 408c2ecf20Sopenharmony_ci For pm8994, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, 418c2ecf20Sopenharmony_ci l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, 428c2ecf20Sopenharmony_ci l20, l21, l22, l23, l24, l25, l26, l27, l28, l29, l30, l31, l32, lvs1, lvs2 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci For pm8998, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, l1, l2, 458c2ecf20Sopenharmony_ci l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, 468c2ecf20Sopenharmony_ci l20, l21, l22, l23, l24, l25, l26, l27, l28, lvs1, lvs2 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ci For pm660, s1, s2, s3, s4, s5, s6, l1, l2, l3, l5, l6, l7, l8, l9, l10, l22, 498c2ecf20Sopenharmony_ci l12, l13, l14, l15, l16, l17, l18, l19 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ci For pma8084, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, 548c2ecf20Sopenharmony_ci l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, 558c2ecf20Sopenharmony_ci l20, l21, l22, l23, l24, l25, l26, l27, lvs1, lvs2, lvs3, lvs4, 5vs1 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci For pmi8994, s1, s2, s3, boost-bypass 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci For pmi8998, bob 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci For pms405, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 628c2ecf20Sopenharmony_ci l12, l13 638c2ecf20Sopenharmony_ci 648c2ecf20Sopenharmony_cimaintainers: 658c2ecf20Sopenharmony_ci - Kathiravan T <kathirav@codeaurora.org> 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ciproperties: 688c2ecf20Sopenharmony_ci compatible: 698c2ecf20Sopenharmony_ci enum: 708c2ecf20Sopenharmony_ci - qcom,rpm-mp5496-regulators 718c2ecf20Sopenharmony_ci - qcom,rpm-pm8841-regulators 728c2ecf20Sopenharmony_ci - qcom,rpm-pm8916-regulators 738c2ecf20Sopenharmony_ci - qcom,rpm-pm8941-regulators 748c2ecf20Sopenharmony_ci - qcom,rpm-pm8950-regulators 758c2ecf20Sopenharmony_ci - qcom,rpm-pm8953-regulators 768c2ecf20Sopenharmony_ci - qcom,rpm-pm8994-regulators 778c2ecf20Sopenharmony_ci - qcom,rpm-pm8998-regulators 788c2ecf20Sopenharmony_ci - qcom,rpm-pm660-regulators 798c2ecf20Sopenharmony_ci - qcom,rpm-pm660l-regulators 808c2ecf20Sopenharmony_ci - qcom,rpm-pma8084-regulators 818c2ecf20Sopenharmony_ci - qcom,rpm-pmi8994-regulators 828c2ecf20Sopenharmony_ci - qcom,rpm-pmi8998-regulators 838c2ecf20Sopenharmony_ci - qcom,rpm-pms405-regulators 848c2ecf20Sopenharmony_ci 858c2ecf20Sopenharmony_cipatternProperties: 868c2ecf20Sopenharmony_ci ".*-supply$": 878c2ecf20Sopenharmony_ci description: Input supply phandle(s) for this node 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci "^((s|l|lvs|5vs)[0-9]*)|(boost-bypass)|(bob)$": 908c2ecf20Sopenharmony_ci description: List of regulators and its properties 918c2ecf20Sopenharmony_ci $ref: regulator.yaml# 928c2ecf20Sopenharmony_ci 938c2ecf20Sopenharmony_ciadditionalProperties: false 948c2ecf20Sopenharmony_ci 958c2ecf20Sopenharmony_cirequired: 968c2ecf20Sopenharmony_ci - compatible 978c2ecf20Sopenharmony_ci 988c2ecf20Sopenharmony_ciexamples: 998c2ecf20Sopenharmony_ci - | 1008c2ecf20Sopenharmony_ci pm8941-regulators { 1018c2ecf20Sopenharmony_ci compatible = "qcom,rpm-pm8941-regulators"; 1028c2ecf20Sopenharmony_ci vdd_l13_l20_l23_l24-supply = <&pm8941_boost>; 1038c2ecf20Sopenharmony_ci 1048c2ecf20Sopenharmony_ci pm8941_s3: s3 { 1058c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 1068c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 1078c2ecf20Sopenharmony_ci }; 1088c2ecf20Sopenharmony_ci 1098c2ecf20Sopenharmony_ci pm8941_boost: s4 { 1108c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 1118c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 1128c2ecf20Sopenharmony_ci }; 1138c2ecf20Sopenharmony_ci 1148c2ecf20Sopenharmony_ci pm8941_l20: l20 { 1158c2ecf20Sopenharmony_ci regulator-min-microvolt = <2950000>; 1168c2ecf20Sopenharmony_ci regulator-max-microvolt = <2950000>; 1178c2ecf20Sopenharmony_ci }; 1188c2ecf20Sopenharmony_ci }; 1198c2ecf20Sopenharmony_ci... 120