mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
6d7c70d1cd
For platforms that has multiple copies of the TSENS hardware block it's necessary to be able to specify the number of sensors per block in DeviceTree. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
23 lines
727 B
Plaintext
23 lines
727 B
Plaintext
* QCOM SoC Temperature Sensor (TSENS)
|
|
|
|
Required properties:
|
|
- compatible :
|
|
- "qcom,msm8916-tsens" : For 8916 Family of SoCs
|
|
- "qcom,msm8974-tsens" : For 8974 Family of SoCs
|
|
- "qcom,msm8996-tsens" : For 8996 Family of SoCs
|
|
|
|
- reg: Address range of the thermal registers
|
|
- #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description.
|
|
- #qcom,sensors: Number of sensors in tsens block
|
|
- Refer to Documentation/devicetree/bindings/nvmem/nvmem.txt to know how to specify
|
|
nvmem cells
|
|
|
|
Example:
|
|
tsens: thermal-sensor@900000 {
|
|
compatible = "qcom,msm8916-tsens";
|
|
reg = <0x4a8000 0x2000>;
|
|
nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
|
|
nvmem-cell-names = "caldata", "calsel";
|
|
#thermal-sensor-cells = <1>;
|
|
};
|