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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/soc/qcom/qcom,saw2.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,saw2.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm Subsystem Power Manager / SPM AVS Wrapper 2 (SAW2)
  8 
  9 maintainers:
 10   - Andy Gross <agross@kernel.org>
 11   - Bjorn Andersson <bjorn.andersson@linaro.org>
 12 
 13 description: |
 14   The Qualcomm Subsystem Power Manager is used to control the peripheral logic
 15   surrounding the application cores in Qualcomm platforms.
 16 
 17   The SAW2 is a wrapper around the Subsystem Power Manager (SPM) and the
 18   Adaptive Voltage Scaling (AVS) hardware. The SPM is a programmable
 19   power-controller that transitions a piece of hardware (like a processor or
 20   subsystem) into and out of low power modes via a direct connection to
 21   the PMIC. It can also be wired up to interact with other processors in the
 22   system, notifying them when a low power state is entered or exited.
 23 
 24 properties:
 25   compatible:
 26     items:
 27       - enum:
 28           - qcom,ipq4019-saw2-cpu
 29           - qcom,ipq4019-saw2-l2
 30           - qcom,ipq8064-saw2-cpu
 31           - qcom,sdm660-gold-saw2-v4.1-l2
 32           - qcom,sdm660-silver-saw2-v4.1-l2
 33           - qcom,msm8998-gold-saw2-v4.1-l2
 34           - qcom,msm8998-silver-saw2-v4.1-l2
 35           - qcom,msm8909-saw2-v3.0-cpu
 36           - qcom,msm8916-saw2-v3.0-cpu
 37           - qcom,msm8939-saw2-v3.0-cpu
 38           - qcom,msm8226-saw2-v2.1-cpu
 39           - qcom,msm8226-saw2-v2.1-l2
 40           - qcom,msm8960-saw2-cpu
 41           - qcom,msm8974-saw2-v2.1-cpu
 42           - qcom,msm8974-saw2-v2.1-l2
 43           - qcom,msm8976-gold-saw2-v2.3-l2
 44           - qcom,msm8976-silver-saw2-v2.3-l2
 45           - qcom,apq8084-saw2-v2.1-cpu
 46           - qcom,apq8084-saw2-v2.1-l2
 47           - qcom,apq8064-saw2-v1.1-cpu
 48       - const: qcom,saw2
 49 
 50   reg:
 51     items:
 52       - description: Base address and size of the SPM register region
 53       - description: Base address and size of the alias register region
 54     minItems: 1
 55 
 56   regulator:
 57     $ref: /schemas/regulator/regulator.yaml#
 58     description: Indicates that this SPM device acts as a regulator device
 59       device for the core (CPU or Cache) the SPM is attached to.
 60 
 61 required:
 62   - compatible
 63   - reg
 64 
 65 additionalProperties: false
 66 
 67 examples:
 68   - |
 69 
 70     /* Example 1: SoC using SAW2 and kpss-acc-v2 CPUIdle */
 71     cpus {
 72         #address-cells = <1>;
 73         #size-cells = <0>;
 74 
 75         cpu@0 {
 76             compatible = "qcom,kryo";
 77             device_type = "cpu";
 78             enable-method = "qcom,kpss-acc-v2";
 79             qcom,saw = <&saw0>;
 80             reg = <0x0>;
 81             operating-points-v2 = <&cpu_opp_table>;
 82         };
 83     };
 84 
 85     saw0: power-manager@f9089000 {
 86         compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
 87         reg = <0xf9089000 0x1000>;
 88     };
 89 
 90   - |
 91 
 92     /*
 93      * Example 2: New-gen multi cluster SoC using SAW only for L2;
 94      * This does not require any cpuidle driver, nor any cpu phandle.
 95      */
 96     power-manager@17812000 {
 97         compatible = "qcom,msm8998-gold-saw2-v4.1-l2", "qcom,saw2";
 98         reg = <0x17812000 0x1000>;
 99     };
100 
101     power-manager@17912000 {
102         compatible = "qcom,msm8998-silver-saw2-v4.1-l2", "qcom,saw2";
103         reg = <0x17912000 0x1000>;
104     };
105 
106   - |
107     /*
108      * Example 3: SAW2 with the bundled regulator definition.
109      */
110     power-manager@2089000 {
111         compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
112         reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
113 
114         regulator {
115             regulator-min-microvolt = <850000>;
116             regulator-max-microvolt = <1300000>;
117         };
118     };
119 ...

~ [ 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