arm64: dts: mediatek: mt7986: drop invalid thermal block clock
authorRafał Miłecki <rafal@milecki.pl>
Tue, 13 Feb 2024 05:37:39 +0000 (06:37 +0100)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fri, 5 Apr 2024 07:49:23 +0000 (09:49 +0200)
commit970f8b01bd7719a22e577ba6c78e27f9ccf22783
treea5517893599614b7d6d763700ffc75b6734f8264
parent9bd88afc94c3570289a0f1c696578b3e1f4e3169
arm64: dts: mediatek: mt7986: drop invalid thermal block clock

Thermal block uses only two clocks. Its binding doesn't document or
allow "adc_32k". Also Linux driver doesn't support it.

It has been additionally verified by Angelo by his detailed research on
MT7981 / MT7986 clocks (thanks!).

This fixes:
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: thermal@1100c800: clocks: [[4, 27], [4, 44], [4, 45]] is too long
        from schema $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml#
arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: thermal@1100c800: clock-names: ['therm', 'auxadc', 'adc_32k'] is too long
        from schema $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml#

Fixes: 0a9615d58d04 ("arm64: dts: mt7986: add thermal and efuse")
Cc: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/linux-devicetree/17d143aa-576e-4d67-a0ea-b79f3518b81c@collabora.com/
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240213053739.14387-3-zajec5@gmail.com
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt7986a.dtsi