On Tue, 19 Mar 2024, AngeloGioacchino Del Regno wrote: > Il 18/03/24 22:22, Nicolas Pitre ha scritto: > > From: Nicolas Pitre <npitre@xxxxxxxxxxxx> > > > > Inspired by the vendor kernel but adapted to the upstream thermal > > driver version. > > > > Signed-off-by: Nicolas Pitre <npitre@xxxxxxxxxxxx> > > --- > > arch/arm64/boot/dts/mediatek/mt8186.dtsi | 236 +++++++++++++++++++++++ > > 1 file changed, 236 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi > > b/arch/arm64/boot/dts/mediatek/mt8186.dtsi > > index 7b7a517a41..9865926459 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi > > @@ -13,6 +13,8 @@ > > #include <dt-bindings/power/mt8186-power.h> > > #include <dt-bindings/phy/phy.h> > > #include <dt-bindings/reset/mt8186-resets.h> > > +#include <dt-bindings/thermal/thermal.h> > > +#include <dt-bindings/thermal/mediatek,lvts-thermal.h> > > / { > > compatible = "mediatek,mt8186"; > > @@ -2115,4 +2117,238 @@ larb19: smi@1c10f000 { > > power-domains = <&spm MT8186_POWER_DOMAIN_IPE>; > > }; > > }; > > + > > + thermal_zones: thermal-zones { > > + cluster0-thermal { > > Please use the names that are expected by the SVS driver. And what would those be in this case? I've used the names that were suggested here: https://lore.kernel.org/all/20240111223020.3593558-1-nico@xxxxxxxxxxx/T/#m05936e84a2efe5c431bad39c24d66c246fb8ca38 Nicolas