]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: qcom: tsens: Allow number of sensors to come from DT
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 7 May 2018 23:53:39 +0000 (16:53 -0700)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 1 Jun 2018 22:09:15 +0000 (15:09 -0700)
commit3596a19b3a2f5f354a4acd658d0d9c555a09adfb
tree7e8fe054e543f9b9144341c913b20b146b0c5f0e
parent9ff6b80bc2f61c56e8388f002388d1dd2836fb0b
thermal: qcom: tsens: Allow number of sensors to come from DT

For platforms that has multiple copies of the TSENS hardware block it's
necessary to be able to specify the number of sensors per block in DeviceTree.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Documentation/devicetree/bindings/thermal/qcom-tsens.txt
drivers/thermal/qcom/tsens.c