Re: [PATCH v2 1/2] dt-bindings: thermal: mediatek: Make resets optional for MT8196
From: Chen-Yu Tsai
Date: Tue Jul 21 2026 - 23:35:42 EST
On Tue, Jul 21, 2026 at 6:52 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno@xxxxxxxxxxxxx> wrote:
>
> Both LVTS-AP and LVTS-MCU may be shared with SoC-internal MCUs
> running some sort of firmware that checks thermals in order to
> scale frequency, or to take action for critical SoC thermal
> protection - and this is seen on most MT8196 boards.
Yes the number of MCUs on this SoC is a bit crazy, and the OS
has almost no control over them. :D
> Make resets optional, as doing a HW reset on such boards will
> result in either an immediate thermal protect shutdown or in
> a rather important and usually permanent system slowdown.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
Reviewed-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
> ---
> .../bindings/thermal/mediatek,lvts-thermal.yaml | 13 ++++++++++++-
> 1 file changed, 12 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
> index 975235130670..29f431fcdcd5 100644
> --- a/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
> +++ b/Documentation/devicetree/bindings/thermal/mediatek,lvts-thermal.yaml
> @@ -94,12 +94,23 @@ allOf:
> nvmem-cell-names:
> minItems: 2
>
> + - if:
> + properties:
> + compatible:
> + not:
> + contains:
> + enum:
> + - mediatek,mt8196-lvts-ap
> + - mediatek,mt8196-lvts-mcu
> + then:
> + required:
> + - resets
> +
> required:
> - compatible
> - reg
> - interrupts
> - clocks
> - - resets
> - nvmem-cells
> - nvmem-cell-names
>
> --
> 2.55.0
>