The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/thermal/rockchip-thermal.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

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

Cache object: 9e37996936af73f4a34246bb09539925


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.