mediatek: filogic: consolidate adc '32k' clock
authorDaniel Golle <daniel@makrotopia.org>
Thu, 20 Oct 2022 19:20:41 +0000 (20:20 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 20 Oct 2022 19:37:50 +0000 (20:37 +0100)
commitc15e7e291072b90cc23884d25f0462bc358e8e4a
treebeddb869fa71394ed6f35984814c5ad4d86c999b
parenta53f29b583dd974b8b65737bab7fbca7753c738c
mediatek: filogic: consolidate adc '32k' clock

Add dependency to '32k' ADC clock so it is always enabled for thermal
and raw access to ADC values. This allows to remove the patch for the
ADC driver and reduce the patch adding thermal support for MT7986 to
only add the new efuse layout and temperature decoding for V3.

Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/files-5.15/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
target/linux/mediatek/files-5.15/drivers/clk/mediatek/clk-mt7986-infracfg.c
target/linux/mediatek/patches-5.15/501-auxadc-add-auxadc-32k-clk.patch [deleted file]
target/linux/mediatek/patches-5.15/805-thermal-drivers-mediatek-add-support-for-MT7986-and-.patch