~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm Resource Power Manager (RPM)
  8 
  9 description:
 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
 13   frequencies.
 14 
 15 maintainers:
 16   - Bjorn Andersson <andersson@kernel.org>
 17 
 18 properties:
 19   compatible:
 20     enum:
 21       - qcom,rpm-apq8064
 22       - qcom,rpm-msm8660
 23       - qcom,rpm-msm8960
 24       - qcom,rpm-ipq8064
 25       - qcom,rpm-mdm9615
 26 
 27   reg:
 28     maxItems: 1
 29 
 30   interrupts:
 31     maxItems: 3
 32 
 33   interrupt-names:
 34     items:
 35       - const: ack
 36       - const: err
 37       - const: wakeup
 38 
 39   qcom,ipc:
 40     $ref: /schemas/types.yaml#/definitions/phandle-array
 41     items:
 42       - items:
 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
 46     description:
 47       Three entries specifying the outgoing ipc bit used for signaling the RPM.
 48 
 49 patternProperties:
 50   "^regulators(-[01])?$":
 51     type: object
 52     $ref: /schemas/regulator/qcom,rpm-regulator.yaml#
 53     unevaluatedProperties: false
 54 
 55 required:
 56   - compatible
 57   - reg
 58   - interrupts
 59   - interrupt-names
 60   - qcom,ipc
 61 
 62 additionalProperties: false
 63 
 64 examples:
 65   - |
 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>
 69 
 70     rpm@108000 {
 71       compatible = "qcom,rpm-msm8960";
 72       reg = <0x108000 0x1000>;
 73       qcom,ipc = <&apcs 0x8 2>;
 74 
 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";
 77 
 78       regulators {
 79         compatible = "qcom,rpm-pm8921-regulators";
 80         vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
 81 
 82         s1 {
 83           regulator-min-microvolt = <1225000>;
 84           regulator-max-microvolt = <1225000>;
 85 
 86           bias-pull-down;
 87 
 88           qcom,switch-mode-frequency = <3200000>;
 89         };
 90 
 91         pm8921_s4: s4 {
 92           regulator-min-microvolt = <1800000>;
 93           regulator-max-microvolt = <1800000>;
 94 
 95           qcom,switch-mode-frequency = <1600000>;
 96           bias-pull-down;
 97 
 98           qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
 99         };
100       };
101     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php