Commit d5897d60 authored by Victhor Foster's avatar Victhor Foster Committed by Bjorn Andersson

ARM: dts: qcom: apq8084: Change tsens definition to new style

This patch changes the tsens peripheral definition to the new style,
which fixes a kernel panic caused by a change in the tsens driver,
introduced by commit 37624b58.  There
was a patch submitted recently to this list that should fix this problem
with old device trees and the new driver, so it may be redundant at this
point, in terms of fixing the kernel panic, but this should align the
APQ8084 device tree with the others.

Signed-off by: Victhor Foster <victhor.foster@ufpe.br>
Link: https://lore.kernel.org/r/108381142.9510389.1577057823350.JavaMail.zimbra@ufpe.brSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent b1ca5b49
...@@ -253,9 +253,11 @@ tsens_backup: backup@440 { ...@@ -253,9 +253,11 @@ tsens_backup: backup@440 {
tsens: thermal-sensor@fc4a8000 { tsens: thermal-sensor@fc4a8000 {
compatible = "qcom,msm8974-tsens"; compatible = "qcom,msm8974-tsens";
reg = <0xfc4a8000 0x2000>; reg = <0xfc4a9000 0x1000>, /* TM */
<0xfc4a8000 0x1000>; /* SROT */
nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cells = <&tsens_calib>, <&tsens_backup>;
nvmem-cell-names = "calib", "calib_backup"; nvmem-cell-names = "calib", "calib_backup";
#qcom,sensors = <11>;
#thermal-sensor-cells = <1>; #thermal-sensor-cells = <1>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment