aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kucheria <[email protected]>2018-08-10 10:38:09 +0530
committerAndy Gross <[email protected]>2018-11-14 09:30:33 -0800
commite9d753b820e578745d2d0e558b3797fccef190e6 (patch)
treef3922b3a072149a51985b423ade1d2358234dfc5
parent58443fd91057f073306cbbfc9db3b6a292fd51e5 (diff)
ARM: dts: msm8974: 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: Matthias Kaehlcke <[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/arm/boot/dts/qcom-msm8974.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi
index 35d3d5240996..c3470f9ec747 100644
--- a/arch/arm/boot/dts/qcom-msm8974.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
@@ -433,6 +433,7 @@
<0xfc4a8000 0x1000>; /* SROT */
nvmem-cells = <&tsens_calib>, <&tsens_backup>;
nvmem-cell-names = "calib", "calib_backup";
+ #qcom,sensors = <11>;
#thermal-sensor-cells = <1>;
};