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/hisilicon-thermal.txt

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 * Temperature Sensor on hisilicon SoCs
    2 
    3 ** Required properties :
    4 
    5 - compatible: "hisilicon,tsensor".
    6 - reg: physical base address of thermal sensor and length of memory mapped
    7   region.
    8 - interrupt: The interrupt number to the cpu. Defines the interrupt used
    9   by /SOCTHERM/tsensor.
   10 - clock-names: Input clock name, should be 'thermal_clk'.
   11 - clocks: phandles for clock specified in "clock-names" property.
   12 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for a description.
   13 
   14 Example :
   15 
   16 for Hi6220:
   17         tsensor: tsensor@0,f7030700 {
   18                 compatible = "hisilicon,tsensor";
   19                 reg = <0x0 0xf7030700 0x0 0x1000>;
   20                 interrupts = <0 7 0x4>;
   21                 clocks = <&sys_ctrl HI6220_TSENSOR_CLK>;
   22                 clock-names = "thermal_clk";
   23                 #thermal-sensor-cells = <1>;
   24         }
   25 
   26 for Hi3660:
   27         tsensor: tsensor@fff30000 {
   28                 compatible = "hisilicon,hi3660-tsensor";
   29                 reg = <0x0 0xfff30000 0x0 0x1000>;
   30                 interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
   31                 #thermal-sensor-cells = <1>;
   32         };

Cache object: c604ca6038e706d45e91927699b30de0


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