Skip to contentSkip to conversation

Patch "arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block" has been added to the 4.19-stable tree

DISCUSSION Matthias Brugger 2 participants 2 messages Apr 30, 2024 1 message not in the archive Stable branch

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 20 lines · Sasha Levin

This is a note to let you know that I've just added the patch titled

arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block

to the 4.19-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:

      arm64-dts-mediatek-mt7622-drop-reset-names-from-ther.patch

and it can be found in the queue-4.19 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit 9628765c4a0eefa9474ef4a0698691a10395a469

Author: Rafał Miłecki <[email protected]>
Date:   Sun Mar 17 23:10:50 2024 +0100
Quoted 7 lines

arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block

[ Upstream commit ecb5b0034f5bcc35003b4b965cf50c6e98316e79 ]

Binding doesn't specify "reset-names" property and Linux driver also doesn't use it.

I think that's an open discussion item if fixes to DTS checks are valid stable backports. From my point of view there is no bug so it shouldn't be in stable.

Regards,
Matthias

Quoted 23 lines

Fix following validation error:
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dtb: thermal@1100b000: Unevaluated properties are not allowed ('reset-names' was unexpected)
from schema $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml#

Fixes ae457b7679c4 ("arm64: dts: mt7622: add SoC and peripheral related device nodes")
arch/arm64/boot/dts/mediatek/mt7622.dtsi +0 -1
index 76297dac2d459..f8df34ac1e64d 100644
@@ -459,7 +459,6 @@ thermal: thermal@1100b000 {
  			 <&pericfg CLK_PERI_AUXADC_PD>;
  		clock-names = "therm", "auxadc";
  		resets = <&pericfg MT7622_PERI_THERM_SW_RST>;
-		reset-names = "therm";
  		mediatek,auxadc = <&auxadc>;
  		mediatek,apmixedsys = <&apmixedsys>;
  		nvmem-cells = <&thermal_calibration>;
#2 lore raw

Il 30/04/24 16:24, Matthias Brugger ha scritto:

Quoted 23 lines · Sasha Levin
Quoted 20 lines

This is a note to let you know that I've just added the patch titled

     arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block

to the 4.19-stable tree which can be found at:
     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
      arm64-dts-mediatek-mt7622-drop-reset-names-from-ther.patch and it can be found in the queue-4.19 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit 9628765c4a0eefa9474ef4a0698691a10395a469
Author: Rafał Miłecki <[email protected]>
Date:   Sun Mar 17 23:10:50 2024 +0100

Quoted 7 lines
Quoted 4 lines

     arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block [ Upstream commit ecb5b0034f5bcc35003b4b965cf50c6e98316e79 ] Binding doesn't specify "reset-names" property and Linux driver also doesn't use it.

I think that's an open discussion item if fixes to DTS checks are valid stable backports. From my point of view there is no bug so it shouldn't be in stable.

The only benefit apart from one less warning is a few bytes less in a *.dtb file...

I don't feel like I agree with you, but at the same time I also don't feel like disagreeing - as those are not "fixing practical issues" in the end.

Passing the word to devicetree/bindings maintainers... :-)

Cheers,
Angelo

Quoted 25 lines

Regards,
Matthias

Quoted 22 lines

     Fix following validation error:
     arch/arm64/boot/dts/mediatek/mt7622-rfb1.dtb: thermal@1100b000: Unevaluated properties are not allowed ('reset-names' was unexpected) from schema $id: http://devicetree.org/schemas/thermal/mediatek,thermal.yaml#

Fixes ae457b7679c4 ("arm64: dts: mt7622: add SoC and peripheral related device nodes")
arch/arm64/boot/dts/mediatek/mt7622.dtsi +0 -1
index 76297dac2d459..f8df34ac1e64d 100644
@@ -459,7 +459,6 @@ thermal: thermal@1100b000 {
                <&pericfg CLK_PERI_AUXADC_PD>;
           clock-names = "therm", "auxadc";
           resets = <&pericfg MT7622_PERI_THERM_SW_RST>;
-        reset-names = "therm";
           mediatek,auxadc = <&auxadc>;
           mediatek,apmixedsys = <&apmixedsys>;
           nvmem-cells = <&thermal_calibration>;