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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/thermal/rcar-thermal.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 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/thermal/rcar-thermal.yaml (Architecture alpha) and /Documentation/devicetree/bindings/thermal/rcar-thermal.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 # Copyright (C) 2020 Renesas Electronics Corp.      2 # Copyright (C) 2020 Renesas Electronics Corp.
  3 %YAML 1.2                                           3 %YAML 1.2
  4 ---                                                 4 ---
  5 $id: http://devicetree.org/schemas/thermal/rca      5 $id: http://devicetree.org/schemas/thermal/rcar-thermal.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Renesas R-Car Thermal                        8 title: Renesas R-Car Thermal
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Niklas Söderlund <niklas.soderlund@ragnate     11   - Niklas Söderlund <niklas.soderlund@ragnatech.se>
 12                                                    12 
 13 properties:                                        13 properties:
 14   compatible:                                      14   compatible:
 15     oneOf:                                         15     oneOf:
 16       - items:                                     16       - items:
 17           - enum:                                  17           - enum:
 18               - renesas,thermal-r8a73a4 # R-Mo     18               - renesas,thermal-r8a73a4 # R-Mobile APE6
 19               - renesas,thermal-r8a7779 # R-Ca     19               - renesas,thermal-r8a7779 # R-Car H1
 20           - const: renesas,rcar-thermal # Gene     20           - const: renesas,rcar-thermal # Generic without thermal-zone
 21       - items:                                     21       - items:
 22           - enum:                                  22           - enum:
 23               - renesas,thermal-r8a7742 # RZ/G     23               - renesas,thermal-r8a7742 # RZ/G1H
 24               - renesas,thermal-r8a7743 # RZ/G     24               - renesas,thermal-r8a7743 # RZ/G1M
 25               - renesas,thermal-r8a7744 # RZ/G     25               - renesas,thermal-r8a7744 # RZ/G1N
 26           - const: renesas,rcar-gen2-thermal #     26           - const: renesas,rcar-gen2-thermal # Generic thermal-zone
 27       - items:                                     27       - items:
 28           - enum:                                  28           - enum:
 29               - renesas,thermal-r8a7790 # R-Ca     29               - renesas,thermal-r8a7790 # R-Car H2
 30               - renesas,thermal-r8a7791 # R-Ca     30               - renesas,thermal-r8a7791 # R-Car M2-W
 31               - renesas,thermal-r8a7792 # R-Ca     31               - renesas,thermal-r8a7792 # R-Car V2H
 32               - renesas,thermal-r8a7793 # R-Ca     32               - renesas,thermal-r8a7793 # R-Car M2-N
 33           - const: renesas,rcar-gen2-thermal #     33           - const: renesas,rcar-gen2-thermal # Generic thermal-zone
 34           - const: renesas,rcar-thermal # Gene     34           - const: renesas,rcar-thermal # Generic without thermal-zone
 35       - items:                                     35       - items:
 36           - enum:                                  36           - enum:
 37               - renesas,thermal-r8a774c0 # RZ/     37               - renesas,thermal-r8a774c0 # RZ/G2E
 38               - renesas,thermal-r8a77970 # R-C     38               - renesas,thermal-r8a77970 # R-Car V3M
 39               - renesas,thermal-r8a77990 # R-C     39               - renesas,thermal-r8a77990 # R-Car E3
 40               - renesas,thermal-r8a77995 # R-C     40               - renesas,thermal-r8a77995 # R-Car D3
 41   reg:                                             41   reg:
 42     description:                                   42     description:
 43       Address ranges of the thermal registers.     43       Address ranges of the thermal registers. If more then one range is given
 44       the first one must be the common registe     44       the first one must be the common registers followed by each sensor
 45       according to the datasheet.                  45       according to the datasheet.
 46     minItems: 1                                    46     minItems: 1
 47     maxItems: 4                                    47     maxItems: 4
 48                                                    48 
 49   interrupts:                                      49   interrupts:
 50     minItems: 1                                    50     minItems: 1
 51     maxItems: 3                                    51     maxItems: 3
 52                                                    52 
 53   clocks:                                          53   clocks:
 54     maxItems: 1                                    54     maxItems: 1
 55                                                    55 
 56   power-domains:                                   56   power-domains:
 57     maxItems: 1                                    57     maxItems: 1
 58                                                    58 
 59   resets:                                          59   resets:
 60     maxItems: 1                                    60     maxItems: 1
 61                                                    61 
 62   "#thermal-sensor-cells":                         62   "#thermal-sensor-cells":
 63     const: 0                                       63     const: 0
 64                                                    64 
 65 required:                                          65 required:
 66   - compatible                                     66   - compatible
 67   - reg                                            67   - reg
 68                                                    68 
 69 allOf:                                             69 allOf:
 70   - if:                                            70   - if:
 71       not:                                         71       not:
 72         properties:                                72         properties:
 73           compatible:                              73           compatible:
 74             contains:                              74             contains:
 75               enum:                                75               enum:
 76                 - renesas,thermal-r8a73a4 # R-     76                 - renesas,thermal-r8a73a4 # R-Mobile APE6
 77                 - renesas,thermal-r8a7779 # R-     77                 - renesas,thermal-r8a7779 # R-Car H1
 78     then:                                          78     then:
 79       required:                                    79       required:
 80         - resets                                   80         - resets
 81         - '#thermal-sensor-cells'                  81         - '#thermal-sensor-cells'
 82                                                    82 
 83   - if:                                            83   - if:
 84       not:                                         84       not:
 85         properties:                                85         properties:
 86           compatible:                              86           compatible:
 87             contains:                              87             contains:
 88               const: renesas,thermal-r8a7779 #     88               const: renesas,thermal-r8a7779 # R-Car H1
 89     then:                                          89     then:
 90       required:                                    90       required:
 91         - interrupts                               91         - interrupts
 92         - clocks                                   92         - clocks
 93         - power-domains                            93         - power-domains
 94                                                    94 
 95 additionalProperties: false                        95 additionalProperties: false
 96                                                    96 
 97 examples:                                          97 examples:
 98   # Example (non interrupt support)                98   # Example (non interrupt support)
 99   - |                                              99   - |
100     thermal@ffc48000 {                            100     thermal@ffc48000 {
101         compatible = "renesas,thermal-r8a7779"    101         compatible = "renesas,thermal-r8a7779", "renesas,rcar-thermal";
102         reg = <0xffc48000 0x38>;                  102         reg = <0xffc48000 0x38>;
103     };                                            103     };
104                                                   104 
105   # Example (interrupt support)                   105   # Example (interrupt support)
106   - |                                             106   - |
107     #include <dt-bindings/clock/r8a73a4-clock.    107     #include <dt-bindings/clock/r8a73a4-clock.h>
108     #include <dt-bindings/interrupt-controller    108     #include <dt-bindings/interrupt-controller/arm-gic.h>
109     #include <dt-bindings/interrupt-controller    109     #include <dt-bindings/interrupt-controller/irq.h>
110                                                   110 
111     thermal@e61f0000 {                            111     thermal@e61f0000 {
112         compatible = "renesas,thermal-r8a73a4"    112         compatible = "renesas,thermal-r8a73a4", "renesas,rcar-thermal";
113         reg = <0xe61f0000 0x14>, <0xe61f0100 0    113         reg = <0xe61f0000 0x14>, <0xe61f0100 0x38>,
114               <0xe61f0200 0x38>, <0xe61f0300 0    114               <0xe61f0200 0x38>, <0xe61f0300 0x38>;
115         interrupts = <GIC_SPI 69 IRQ_TYPE_LEVE    115         interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
116         clocks = <&mstp5_clks R8A73A4_CLK_THER    116         clocks = <&mstp5_clks R8A73A4_CLK_THERMAL>;
117         power-domains = <&pd_c5>;                 117         power-domains = <&pd_c5>;
118     };                                            118     };
119                                                   119 
120   # Example (with thermal-zone)                   120   # Example (with thermal-zone)
121   - |                                             121   - |
122     #include <dt-bindings/clock/r8a7790-cpg-ms    122     #include <dt-bindings/clock/r8a7790-cpg-mssr.h>
123     #include <dt-bindings/interrupt-controller    123     #include <dt-bindings/interrupt-controller/arm-gic.h>
124     #include <dt-bindings/power/r8a7790-sysc.h    124     #include <dt-bindings/power/r8a7790-sysc.h>
125                                                   125 
126     thermal: thermal@e61f0000 {                   126     thermal: thermal@e61f0000 {
127         compatible = "renesas,thermal-r8a7790"    127         compatible = "renesas,thermal-r8a7790",
128                      "renesas,rcar-gen2-therma    128                      "renesas,rcar-gen2-thermal",
129                      "renesas,rcar-thermal";      129                      "renesas,rcar-thermal";
130         reg = <0xe61f0000 0x10>, <0xe61f0100 0    130         reg = <0xe61f0000 0x10>, <0xe61f0100 0x38>;
131         interrupts = <GIC_SPI 69 IRQ_TYPE_LEVE    131         interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
132         clocks = <&cpg CPG_MOD 522>;              132         clocks = <&cpg CPG_MOD 522>;
133         power-domains = <&sysc R8A7790_PD_ALWA    133         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
134         resets = <&cpg 522>;                      134         resets = <&cpg 522>;
135         #thermal-sensor-cells = <0>;              135         #thermal-sensor-cells = <0>;
136     };                                            136     };
137                                                   137 
138     thermal-zones {                               138     thermal-zones {
139         cpu_thermal: cpu-thermal {                139         cpu_thermal: cpu-thermal {
140             polling-delay-passive = <1000>;       140             polling-delay-passive = <1000>;
141             polling-delay = <5000>;               141             polling-delay = <5000>;
142                                                   142 
143             thermal-sensors = <&thermal>;         143             thermal-sensors = <&thermal>;
144                                                   144 
145             trips {                               145             trips {
146                 cpu-crit {                        146                 cpu-crit {
147                     temperature = <115000>;       147                     temperature = <115000>;
148                     hysteresis = <0>;             148                     hysteresis = <0>;
149                     type = "critical";            149                     type = "critical";
150                 };                                150                 };
151             };                                    151             };
152             cooling-maps {                        152             cooling-maps {
153             };                                    153             };
154         };                                        154         };
155     };                                            155     };
                                                      

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