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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/thermal/rcar-gen3-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-gen3-thermal.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/thermal/rcar-gen3-thermal.yaml (Version linux-6.1.116)


  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-gen3-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 Gen3 Thermal Sensor            8 title: Renesas R-Car Gen3 Thermal Sensor
  9                                                     9 
 10 description:                                       10 description:
 11   On most R-Car Gen3 and later SoCs, the therm     11   On most R-Car Gen3 and later SoCs, the thermal sensor controllers (TSC)
 12   control the thermal sensors (THS) which are      12   control the thermal sensors (THS) which are the analog circuits for
 13   measuring temperature (Tj) inside the LSI.       13   measuring temperature (Tj) inside the LSI.
 14                                                    14 
 15 maintainers:                                       15 maintainers:
 16   - Niklas Söderlund <niklas.soderlund@ragnate     16   - Niklas Söderlund <niklas.soderlund@ragnatech.se>
 17                                                    17 
 18 $ref: thermal-sensor.yaml#                     << 
 19                                                << 
 20 properties:                                        18 properties:
 21   compatible:                                      19   compatible:
 22     enum:                                          20     enum:
 23       - renesas,r8a774a1-thermal # RZ/G2M          21       - renesas,r8a774a1-thermal # RZ/G2M
 24       - renesas,r8a774b1-thermal # RZ/G2N          22       - renesas,r8a774b1-thermal # RZ/G2N
 25       - renesas,r8a774e1-thermal # RZ/G2H          23       - renesas,r8a774e1-thermal # RZ/G2H
 26       - renesas,r8a7795-thermal  # R-Car H3        24       - renesas,r8a7795-thermal  # R-Car H3
 27       - renesas,r8a7796-thermal  # R-Car M3-W      25       - renesas,r8a7796-thermal  # R-Car M3-W
 28       - renesas,r8a77961-thermal # R-Car M3-W+     26       - renesas,r8a77961-thermal # R-Car M3-W+
 29       - renesas,r8a77965-thermal # R-Car M3-N      27       - renesas,r8a77965-thermal # R-Car M3-N
 30       - renesas,r8a77980-thermal # R-Car V3H       28       - renesas,r8a77980-thermal # R-Car V3H
 31       - renesas,r8a779a0-thermal # R-Car V3U       29       - renesas,r8a779a0-thermal # R-Car V3U
 32       - renesas,r8a779f0-thermal # R-Car S4-8      30       - renesas,r8a779f0-thermal # R-Car S4-8
 33       - renesas,r8a779g0-thermal # R-Car V4H   << 
 34       - renesas,r8a779h0-thermal # R-Car V4M   << 
 35                                                    31 
 36   reg: true                                        32   reg: true
 37                                                    33 
 38   interrupts:                                      34   interrupts:
 39     items:                                         35     items:
 40       - description: TEMP1 interrupt               36       - description: TEMP1 interrupt
 41       - description: TEMP2 interrupt               37       - description: TEMP2 interrupt
 42       - description: TEMP3 interrupt               38       - description: TEMP3 interrupt
 43                                                    39 
 44   clocks:                                          40   clocks:
 45     maxItems: 1                                    41     maxItems: 1
 46                                                    42 
 47   power-domains:                                   43   power-domains:
 48     maxItems: 1                                    44     maxItems: 1
 49                                                    45 
 50   resets:                                          46   resets:
 51     maxItems: 1                                    47     maxItems: 1
 52                                                    48 
 53   "#thermal-sensor-cells":                         49   "#thermal-sensor-cells":
 54     const: 1                                       50     const: 1
 55                                                    51 
 56 required:                                          52 required:
 57   - compatible                                     53   - compatible
 58   - reg                                            54   - reg
 59   - clocks                                         55   - clocks
 60   - power-domains                                  56   - power-domains
 61   - resets                                         57   - resets
                                                   >>  58   - "#thermal-sensor-cells"
 62                                                    59 
 63 if:                                                60 if:
 64   properties:                                      61   properties:
 65     compatible:                                    62     compatible:
 66       contains:                                    63       contains:
 67         enum:                                      64         enum:
 68           - renesas,r8a779a0-thermal               65           - renesas,r8a779a0-thermal
 69 then:                                              66 then:
 70   properties:                                      67   properties:
 71     reg:                                           68     reg:
 72       items:                                       69       items:
 73         - description: TSC0 registers              70         - description: TSC0 registers
 74         - description: TSC1 registers              71         - description: TSC1 registers
 75         - description: TSC2 registers              72         - description: TSC2 registers
 76         - description: TSC3 registers              73         - description: TSC3 registers
 77         - description: TSC4 registers              74         - description: TSC4 registers
 78 else:                                              75 else:
 79   properties:                                      76   properties:
 80     reg:                                           77     reg:
 81       minItems: 2                                  78       minItems: 2
 82       items:                                       79       items:
 83         - description: TSC1 registers              80         - description: TSC1 registers
 84         - description: TSC2 registers              81         - description: TSC2 registers
 85         - description: TSC3 registers              82         - description: TSC3 registers
 86         - description: TSC4 registers          << 
 87   if:                                              83   if:
 88     not:                                           84     not:
 89       properties:                                  85       properties:
 90         compatible:                                86         compatible:
 91           contains:                                87           contains:
 92             enum:                                  88             enum:
 93               - renesas,r8a779f0-thermal           89               - renesas,r8a779f0-thermal
 94               - renesas,r8a779g0-thermal       << 
 95               - renesas,r8a779h0-thermal       << 
 96   then:                                            90   then:
 97     required:                                      91     required:
 98       - interrupts                                 92       - interrupts
 99                                                    93 
100 unevaluatedProperties: false                   !!  94 additionalProperties: false
101                                                    95 
102 examples:                                          96 examples:
103   - |                                              97   - |
104     #include <dt-bindings/clock/r8a7795-cpg-ms     98     #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
105     #include <dt-bindings/interrupt-controller     99     #include <dt-bindings/interrupt-controller/arm-gic.h>
106     #include <dt-bindings/power/r8a7795-sysc.h    100     #include <dt-bindings/power/r8a7795-sysc.h>
107                                                   101 
108     tsc: thermal@e6198000 {                       102     tsc: thermal@e6198000 {
109         compatible = "renesas,r8a7795-thermal" !! 103             compatible = "renesas,r8a7795-thermal";
110         reg = <0xe6198000 0x100>,              !! 104             reg = <0xe6198000 0x100>,
111               <0xe61a0000 0x100>,              !! 105                   <0xe61a0000 0x100>,
112               <0xe61a8000 0x100>;              !! 106                   <0xe61a8000 0x100>;
113         interrupts = <GIC_SPI 67 IRQ_TYPE_LEVE !! 107             interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>,
114                      <GIC_SPI 68 IRQ_TYPE_LEVE !! 108                          <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
115                      <GIC_SPI 69 IRQ_TYPE_LEVE !! 109                          <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
116         clocks = <&cpg CPG_MOD 522>;           !! 110             clocks = <&cpg CPG_MOD 522>;
117         power-domains = <&sysc R8A7795_PD_ALWA !! 111             power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
118         resets = <&cpg 522>;                   !! 112             resets = <&cpg 522>;
119         #thermal-sensor-cells = <1>;           !! 113             #thermal-sensor-cells = <1>;
120     };                                            114     };
121                                                   115 
122     thermal-zones {                               116     thermal-zones {
123         sensor_thermal: sensor-thermal {       !! 117             sensor_thermal: sensor-thermal {
124             polling-delay-passive = <250>;     !! 118                     polling-delay-passive = <250>;
125             polling-delay = <1000>;            !! 119                     polling-delay = <1000>;
126             thermal-sensors = <&tsc 0>;        !! 120                     thermal-sensors = <&tsc 0>;
127                                                !! 121 
128             trips {                            !! 122                     trips {
129                 sensor1_crit: sensor1-crit {   !! 123                             sensor1_crit: sensor1-crit {
130                     temperature = <90000>;     !! 124                                     temperature = <90000>;
131                     hysteresis = <2000>;       !! 125                                     hysteresis = <2000>;
132                     type = "critical";         !! 126                                     type = "critical";
133                 };                             !! 127                             };
                                                   >> 128                     };
134             };                                    129             };
135         };                                     << 
136     };                                            130     };
137   - |                                             131   - |
138     #include <dt-bindings/clock/r8a779a0-cpg-m    132     #include <dt-bindings/clock/r8a779a0-cpg-mssr.h>
139     #include <dt-bindings/interrupt-controller    133     #include <dt-bindings/interrupt-controller/arm-gic.h>
140     #include <dt-bindings/power/r8a779a0-sysc.    134     #include <dt-bindings/power/r8a779a0-sysc.h>
141                                                   135 
142     tsc_r8a779a0: thermal@e6190000 {              136     tsc_r8a779a0: thermal@e6190000 {
143         compatible = "renesas,r8a779a0-thermal !! 137             compatible = "renesas,r8a779a0-thermal";
144         reg = <0xe6190000 0x200>,              !! 138             reg = <0xe6190000 0x200>,
145               <0xe6198000 0x200>,              !! 139                   <0xe6198000 0x200>,
146               <0xe61a0000 0x200>,              !! 140                   <0xe61a0000 0x200>,
147               <0xe61a8000 0x200>,              !! 141                   <0xe61a8000 0x200>,
148               <0xe61b0000 0x200>;              !! 142                   <0xe61b0000 0x200>;
149         clocks = <&cpg CPG_MOD 919>;           !! 143             clocks = <&cpg CPG_MOD 919>;
150         power-domains = <&sysc R8A779A0_PD_ALW !! 144             power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
151         resets = <&cpg 919>;                   !! 145             resets = <&cpg 919>;
152         #thermal-sensor-cells = <1>;           !! 146             #thermal-sensor-cells = <1>;
153     };                                            147     };
                                                      

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