Skip to content

Commit 970f8b0

Browse files
Rafał MiłeckiAngeloGioacchino Del Regno
authored andcommitted
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: 0a9615d ("arm64: dts: mt7986: add thermal and efuse") Cc: Daniel Golle <[email protected]> Link: https://lore.kernel.org/linux-devicetree/[email protected]/ Signed-off-by: Rafał Miłecki <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
1 parent 9bd88af commit 970f8b0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

arch/arm64/boot/dts/mediatek/mt7986a.dtsi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,8 @@
332332
reg = <0 0x1100c800 0 0x800>;
333333
interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
334334
clocks = <&infracfg CLK_INFRA_THERM_CK>,
335-
<&infracfg CLK_INFRA_ADC_26M_CK>,
336-
<&infracfg CLK_INFRA_ADC_FRC_CK>;
337-
clock-names = "therm", "auxadc", "adc_32k";
335+
<&infracfg CLK_INFRA_ADC_26M_CK>;
336+
clock-names = "therm", "auxadc";
338337
nvmem-cells = <&thermal_calibration>;
339338
nvmem-cell-names = "calibration-data";
340339
#thermal-sensor-cells = <1>;

0 commit comments

Comments
 (0)