]> asedeno.scripts.mit.edu Git - linux.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)
commit6d7c70d1cd6526dc79e3d3b3faae1c40c1681168
tree7e8fe054e543f9b9144341c913b20b146b0c5f0e
parentcc50ba5e67da6dc7d554271470a566cc111e0456
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