arm64: dts: mediatek: cherry: Add platform thermal configuration
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 24 Apr 2023 11:25:20 +0000 (13:25 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 Dec 2023 10:12:52 +0000 (11:12 +0100)
commit729f30eac8bce6783f889cf8390ea869d03407e6
treeb2fc433d6d8545b6300942e190c86548e2b71a2b
parentb85ea95d086471afb4ad062012a4d73cd328fa86
arm64: dts: mediatek: cherry: Add platform thermal configuration

This platform has three auxiliary NTC thermistors, connected to the
SoC's ADC pins. Enable the auxadc in order to be able to read the
ADC values, add a generic-adc-thermal LUT for each and finally assign
them to the SoC's thermal zones.

Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230424112523.1436926-2-angelogioacchino.delregno@collabora.com
arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi