Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.
1 * QCOM SoC Temperature Sensor (TSENS) 2 3 Required properties: 4 - compatible : 5 - "qcom,msm8916-tsens" : For 8916 Family of SoCs 6 - "qcom,msm8974-tsens" : For 8974 Family of SoCs 7 - "qcom,msm8996-tsens" : For 8996 Family of SoCs 8 9 - reg: Address range of the thermal registers 10 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description. 11 - Refer to Documentation/devicetree/bindings/nvmem/nvmem.txt to know how to specify 12 nvmem cells 13 14 Example: 15 tsens: thermal-sensor@900000 { 16 compatible = "qcom,msm8916-tsens"; 17 reg = <0x4a8000 0x2000>; 18 nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; 19 nvmem-cell-names = "caldata", "calsel"; 20 #thermal-sensor-cells = <1>; 21 };