diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2018-08-10 08:08:09 +0300 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2018-11-14 20:30:33 +0300 |
commit | e9d753b820e578745d2d0e558b3797fccef190e6 (patch) | |
tree | f3922b3a072149a51985b423ade1d2358234dfc5 /arch/arm/boot/dts/qcom-msm8974.dtsi | |
parent | 58443fd91057f073306cbbfc9db3b6a292fd51e5 (diff) | |
download | linux-e9d753b820e578745d2d0e558b3797fccef190e6.tar.xz |
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 <amit.kucheria@linaro.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-msm8974.dtsi')
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8974.dtsi | 1 |
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>; }; |