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

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


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/thermal/imx      4 $id: http://devicetree.org/schemas/thermal/imx-thermal.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: NXP i.MX Thermal                             7 title: NXP i.MX Thermal
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Shawn Guo <shawnguo@kernel.org>                 10   - Shawn Guo <shawnguo@kernel.org>
                                                   >>  11   - Anson Huang <Anson.Huang@nxp.com>
 11                                                    12 
 12 properties:                                        13 properties:
 13   compatible:                                      14   compatible:
 14     oneOf:                                         15     oneOf:
 15       - enum:                                      16       - enum:
 16           - fsl,imx6q-tempmon                      17           - fsl,imx6q-tempmon
 17           - fsl,imx6sx-tempmon                     18           - fsl,imx6sx-tempmon
 18           - fsl,imx7d-tempmon                      19           - fsl,imx7d-tempmon
 19       - items:                                     20       - items:
 20           - enum:                                  21           - enum:
 21               - fsl,imx6sll-tempmon                22               - fsl,imx6sll-tempmon
 22               - fsl,imx6ul-tempmon                 23               - fsl,imx6ul-tempmon
 23           - const: fsl,imx6sx-tempmon              24           - const: fsl,imx6sx-tempmon
 24                                                    25 
 25   interrupts:                                      26   interrupts:
 26     description: |                                 27     description: |
 27       The interrupt output of the controller,      28       The interrupt output of the controller, i.MX6Q has IRQ_HIGH which
 28       will be triggered when temperature is hi     29       will be triggered when temperature is higher than high threshold,
 29       i.MX6SX and i.MX7S/D have two more IRQs      30       i.MX6SX and i.MX7S/D have two more IRQs than i.MX6Q, one is IRQ_LOW
 30       and the other is IRQ_PANIC, when tempera     31       and the other is IRQ_PANIC, when temperature is lower than low
 31       threshold, IRQ_LOW will be triggered, wh     32       threshold, IRQ_LOW will be triggered, when temperature is higher
 32       than panic threshold, IRQ_PANIC will be      33       than panic threshold, IRQ_PANIC will be triggered, and system can
 33       be configured to auto reboot by SRC modu     34       be configured to auto reboot by SRC module for IRQ_PANIC. IRQ_HIGH,
 34       IRQ_LOW and IRQ_PANIC share same interru     35       IRQ_LOW and IRQ_PANIC share same interrupt output of controller.
 35     maxItems: 1                                    36     maxItems: 1
 36                                                    37 
 37   nvmem-cells:                                     38   nvmem-cells:
 38     items:                                         39     items:
 39       - description: Phandle to the calibratio     40       - description: Phandle to the calibration data provided by ocotp
 40       - description: Phandle to the temperatur     41       - description: Phandle to the temperature grade provided by ocotp
 41                                                    42 
 42   nvmem-cell-names:                                43   nvmem-cell-names:
 43     items:                                         44     items:
 44       - const: calib                               45       - const: calib
 45       - const: temp_grade                          46       - const: temp_grade
 46                                                    47 
 47   fsl,tempmon:                                     48   fsl,tempmon:
 48     $ref: /schemas/types.yaml#/definitions/pha     49     $ref: /schemas/types.yaml#/definitions/phandle
 49     description: Phandle to anatop system cont     50     description: Phandle to anatop system controller node.
 50                                                    51 
 51   fsl,tempmon-data:                                52   fsl,tempmon-data:
 52     $ref: /schemas/types.yaml#/definitions/pha     53     $ref: /schemas/types.yaml#/definitions/phandle
 53     description: |                                 54     description: |
 54       Deprecated property, phandle pointer to      55       Deprecated property, phandle pointer to fuse controller that contains
 55       TEMPMON calibration data, e.g. OCOTP on      56       TEMPMON calibration data, e.g. OCOTP on imx6q. The details about
 56       calibration data can be found in SoC Ref     57       calibration data can be found in SoC Reference Manual.
 57     deprecated: true                               58     deprecated: true
 58                                                    59 
 59   clocks:                                          60   clocks:
 60     maxItems: 1                                    61     maxItems: 1
 61                                                    62 
 62   "#thermal-sensor-cells":                     << 
 63     const: 0                                   << 
 64                                                << 
 65 required:                                          63 required:
 66   - compatible                                     64   - compatible
 67   - interrupts                                     65   - interrupts
 68   - fsl,tempmon                                    66   - fsl,tempmon
 69   - nvmem-cells                                    67   - nvmem-cells
 70   - nvmem-cell-names                               68   - nvmem-cell-names
 71                                                    69 
 72 allOf:                                         << 
 73   - $ref: thermal-sensor.yaml#                 << 
 74                                                << 
 75 additionalProperties: false                        70 additionalProperties: false
 76                                                    71 
 77 examples:                                          72 examples:
 78   - |                                              73   - |
 79     #include <dt-bindings/clock/imx6sx-clock.h     74     #include <dt-bindings/clock/imx6sx-clock.h>
 80     #include <dt-bindings/interrupt-controller     75     #include <dt-bindings/interrupt-controller/arm-gic.h>
 81                                                    76 
 82     efuse@21bc000 {                                77     efuse@21bc000 {
 83          #address-cells = <1>;                     78          #address-cells = <1>;
 84          #size-cells = <1>;                        79          #size-cells = <1>;
 85          compatible = "fsl,imx6sx-ocotp", "sys     80          compatible = "fsl,imx6sx-ocotp", "syscon";
 86          reg = <0x021bc000 0x4000>;                81          reg = <0x021bc000 0x4000>;
 87          clocks = <&clks IMX6SX_CLK_OCOTP>;        82          clocks = <&clks IMX6SX_CLK_OCOTP>;
 88                                                    83 
 89          tempmon_calib: calib@38 {                 84          tempmon_calib: calib@38 {
 90              reg = <0x38 4>;                       85              reg = <0x38 4>;
 91          };                                        86          };
 92                                                    87 
 93          tempmon_temp_grade: temp-grade@20 {       88          tempmon_temp_grade: temp-grade@20 {
 94              reg = <0x20 4>;                       89              reg = <0x20 4>;
 95          };                                        90          };
 96     };                                             91     };
 97                                                    92 
 98     anatop@20c8000 {                               93     anatop@20c8000 {
 99         compatible = "fsl,imx6q-anatop", "sysc     94         compatible = "fsl,imx6q-anatop", "syscon", "simple-mfd";
100         reg = <0x020c8000 0x1000>;                 95         reg = <0x020c8000 0x1000>;
101         interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH     96         interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
102                      <0 54 IRQ_TYPE_LEVEL_HIGH     97                      <0 54 IRQ_TYPE_LEVEL_HIGH>,
103                      <0 127 IRQ_TYPE_LEVEL_HIG     98                      <0 127 IRQ_TYPE_LEVEL_HIGH>;
104                                                    99 
105         tempmon {                                 100         tempmon {
106              compatible = "fsl,imx6sx-tempmon"    101              compatible = "fsl,imx6sx-tempmon";
107              interrupts = <GIC_SPI 49 IRQ_TYPE    102              interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
108              fsl,tempmon = <&anatop>;             103              fsl,tempmon = <&anatop>;
109              nvmem-cells = <&tempmon_calib>, <    104              nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
110              nvmem-cell-names = "calib", "temp    105              nvmem-cell-names = "calib", "temp_grade";
111              clocks = <&clks IMX6SX_CLK_PLL3_U    106              clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>;
112              #thermal-sensor-cells = <0>;      << 
113         };                                        107         };
114     };                                            108     };
                                                      

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