提交 2b4e5fc0 编写于 作者: A Amit Kucheria 提交者: Andy Gross

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: NAmit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: NAndy Gross <andy.gross@linaro.org>
Signed-off-by: NAndy Gross <andy.gross@linaro.org>
上级 95b0ddfd
......@@ -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>;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册