dt-bindings: thermal: tsens: support per-sensor calibration cells
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 1 Jan 2023 19:40:16 +0000 (21:40 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 16 Jan 2023 10:22:30 +0000 (11:22 +0100)
commit4f4292bf12f2dd12b4c69e4d3479fc561b1577bb
tree3672a355e2c03d14c9155db9cf25bc803d6e465c
parent8c1421456073aa00af651704a8f4cf0b2f50dc4a
dt-bindings: thermal: tsens: support per-sensor calibration cells

Allow specifying the exact calibration mode and calibration data as nvmem
cells, rather than specifying just a single calibration data blob.

Note, unlike the vendor kernel the calibration data uses hw_ids rather
than software sensor indices (to match actual tsens usage in
thermal zones).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230101194034.831222-3-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Documentation/devicetree/bindings/thermal/qcom-tsens.yaml