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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/thermal/rockchip-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/rockchip-thermal.yaml (Architecture m68k) and /Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml (Architecture ppc)


  1 # SPDX-License-Identifier: GPL-2.0-only             1 # SPDX-License-Identifier: GPL-2.0-only
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/thermal/roc      4 $id: http://devicetree.org/schemas/thermal/rockchip-thermal.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Temperature Sensor ADC (TSADC) on Rockc      7 title: Temperature Sensor ADC (TSADC) on Rockchip SoCs
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Heiko Stuebner <heiko@sntech.de>                10   - Heiko Stuebner <heiko@sntech.de>
 11                                                    11 
 12 $ref: thermal-sensor.yaml#                         12 $ref: thermal-sensor.yaml#
 13                                                    13 
 14 properties:                                        14 properties:
 15   compatible:                                      15   compatible:
 16     enum:                                          16     enum:
 17       - rockchip,px30-tsadc                        17       - rockchip,px30-tsadc
 18       - rockchip,rk3228-tsadc                      18       - rockchip,rk3228-tsadc
 19       - rockchip,rk3288-tsadc                      19       - rockchip,rk3288-tsadc
 20       - rockchip,rk3328-tsadc                      20       - rockchip,rk3328-tsadc
 21       - rockchip,rk3368-tsadc                      21       - rockchip,rk3368-tsadc
 22       - rockchip,rk3399-tsadc                      22       - rockchip,rk3399-tsadc
 23       - rockchip,rk3568-tsadc                      23       - rockchip,rk3568-tsadc
 24       - rockchip,rk3588-tsadc                      24       - rockchip,rk3588-tsadc
 25       - rockchip,rv1108-tsadc                      25       - rockchip,rv1108-tsadc
 26                                                    26 
 27   reg:                                             27   reg:
 28     maxItems: 1                                    28     maxItems: 1
 29                                                    29 
 30   interrupts:                                      30   interrupts:
 31     maxItems: 1                                    31     maxItems: 1
 32                                                    32 
 33   clocks:                                          33   clocks:
 34     minItems: 2                                    34     minItems: 2
 35     maxItems: 2                                    35     maxItems: 2
 36                                                    36 
 37   clock-names:                                     37   clock-names:
 38     items:                                         38     items:
 39       - const: tsadc                               39       - const: tsadc
 40       - const: apb_pclk                            40       - const: apb_pclk
 41                                                    41 
 42   resets:                                          42   resets:
 43     minItems: 1                                    43     minItems: 1
 44     maxItems: 3                                    44     maxItems: 3
 45                                                    45 
 46   reset-names:                                     46   reset-names:
 47     minItems: 1                                    47     minItems: 1
 48     items:                                         48     items:
 49       - const: tsadc-apb                           49       - const: tsadc-apb
 50       - const: tsadc                               50       - const: tsadc
 51       - const: tsadc-phy                           51       - const: tsadc-phy
 52                                                    52 
 53   "#thermal-sensor-cells":                         53   "#thermal-sensor-cells":
 54     const: 1                                       54     const: 1
 55                                                    55 
 56   rockchip,grf:                                    56   rockchip,grf:
 57     description: The phandle of the syscon nod     57     description: The phandle of the syscon node for the general register file.
 58     $ref: /schemas/types.yaml#/definitions/pha     58     $ref: /schemas/types.yaml#/definitions/phandle
 59                                                    59 
 60   rockchip,hw-tshut-temp:                          60   rockchip,hw-tshut-temp:
 61     description: The hardware-controlled shutd     61     description: The hardware-controlled shutdown temperature value.
 62     $ref: /schemas/types.yaml#/definitions/uin     62     $ref: /schemas/types.yaml#/definitions/uint32
 63                                                    63 
 64   rockchip,hw-tshut-mode:                          64   rockchip,hw-tshut-mode:
 65     description: The hardware-controlled shutd     65     description: The hardware-controlled shutdown mode 0:CRU 1:GPIO.
 66     $ref: /schemas/types.yaml#/definitions/uin     66     $ref: /schemas/types.yaml#/definitions/uint32
 67     enum: [0, 1]                                   67     enum: [0, 1]
 68                                                    68 
 69   rockchip,hw-tshut-polarity:                      69   rockchip,hw-tshut-polarity:
 70     description: The hardware-controlled activ     70     description: The hardware-controlled active polarity 0:LOW 1:HIGH.
 71     $ref: /schemas/types.yaml#/definitions/uin     71     $ref: /schemas/types.yaml#/definitions/uint32
 72     enum: [0, 1]                                   72     enum: [0, 1]
 73                                                    73 
 74 required:                                          74 required:
 75   - compatible                                     75   - compatible
 76   - reg                                            76   - reg
 77   - interrupts                                     77   - interrupts
 78   - clocks                                         78   - clocks
 79   - clock-names                                    79   - clock-names
 80   - resets                                         80   - resets
 81                                                    81 
 82 unevaluatedProperties: false                       82 unevaluatedProperties: false
 83                                                    83 
 84 examples:                                          84 examples:
 85   - |                                              85   - |
 86     #include <dt-bindings/interrupt-controller     86     #include <dt-bindings/interrupt-controller/arm-gic.h>
 87     #include <dt-bindings/clock/rk3288-cru.h>      87     #include <dt-bindings/clock/rk3288-cru.h>
 88                                                    88 
 89     tsadc: tsadc@ff280000 {                        89     tsadc: tsadc@ff280000 {
 90         compatible = "rockchip,rk3288-tsadc";      90         compatible = "rockchip,rk3288-tsadc";
 91         reg = <0xff280000 0x100>;                  91         reg = <0xff280000 0x100>;
 92         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVE     92         interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
 93         clocks = <&cru SCLK_TSADC>, <&cru PCLK     93         clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
 94         clock-names = "tsadc", "apb_pclk";         94         clock-names = "tsadc", "apb_pclk";
 95         resets = <&cru SRST_TSADC>;                95         resets = <&cru SRST_TSADC>;
 96         reset-names = "tsadc-apb";                 96         reset-names = "tsadc-apb";
 97         #thermal-sensor-cells = <1>;               97         #thermal-sensor-cells = <1>;
 98         rockchip,hw-tshut-temp = <95000>;          98         rockchip,hw-tshut-temp = <95000>;
 99         rockchip,hw-tshut-mode = <0>;              99         rockchip,hw-tshut-mode = <0>;
100         rockchip,hw-tshut-polarity = <0>;         100         rockchip,hw-tshut-polarity = <0>;
101     };                                            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