1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Resource Power Manager (RPM)
10 This driver is used to interface with the Resource Power Manager (RPM) found
11 in various Qualcomm platforms. The RPM allows each component in the system
12 to vote for state of the system resources, such as clocks, regulators and bus
16 - Bjorn Andersson <andersson@kernel.org>
40 $ref: /schemas/types.yaml#/definitions/phandle-array
43 - description: phandle to a syscon node representing the APCS registers
44 - description: u32 representing offset to the register within the syscon
45 - description: u32 representing the ipc bit within the register
47 Three entries specifying the outgoing ipc bit used for signaling the RPM.
50 "^regulators(-[01])?$":
52 $ref: /schemas/regulator/qcom,rpm-regulator.yaml#
53 unevaluatedProperties: false
62 additionalProperties: false
66 #include <dt-bindings/interrupt-controller/arm-gic.h>
67 #include <dt-bindings/interrupt-controller/irq.h>
68 #include <dt-bindings/mfd/qcom-rpm.h>
71 compatible = "qcom,rpm-msm8960";
72 reg = <0x108000 0x1000>;
73 qcom,ipc = <&apcs 0x8 2>;
75 interrupts = <GIC_SPI 19 IRQ_TYPE_NONE>, <GIC_SPI 21 IRQ_TYPE_NONE>, <GIC_SPI 22 IRQ_TYPE_NONE>;
76 interrupt-names = "ack", "err", "wakeup";
79 compatible = "qcom,rpm-pm8921-regulators";
80 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
83 regulator-min-microvolt = <1225000>;
84 regulator-max-microvolt = <1225000>;
88 qcom,switch-mode-frequency = <3200000>;
92 regulator-min-microvolt = <1800000>;
93 regulator-max-microvolt = <1800000>;
95 qcom,switch-mode-frequency = <1600000>;
98 qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;