diff options
author | Amit Kucheria <[email protected]> | 2018-09-06 15:44:34 +0530 |
---|---|---|
committer | Andy Gross <[email protected]> | 2018-11-14 09:32:26 -0800 |
commit | 2b4e5fc0edfe071c7ac625038d38dd7682fe7c5f (patch) | |
tree | bb1b5d955d867ae2e5323324e970b15e6761d9db | |
parent | 95b0ddfd21ed516b8af3375948e0c1e6f409894b (diff) |
arm64: dts: msm8916: thermal: Add "qcom,sensors" property
This new property allows the number of sensors to be configured from DT
instead of being hardcoded in platform data. Use it.
Signed-off-by: Amit Kucheria <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Acked-by: Andy Gross <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8916.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 1bf19a24ffa7..2288826de3cd 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -764,6 +764,7 @@ <0x4a8000 0x1000>; /* SROT */ nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; nvmem-cell-names = "calib", "calib_sel"; + #qcom,sensors = <5>; #thermal-sensor-cells = <1>; }; |