Re: [PATCH 2/2] dt-bindings: thermal: mediatek: add compatible string for MT7986 SoC

From: Krzysztof Kozlowski
Date: Wed Nov 02 2022 - 16:43:45 EST


On 31/10/2022 18:16, Daniel Golle wrote:
> Add compatible string 'mediatek,mt7986-thermal' for V3 thermal unit
> found in MT7981 and MT7986 SoCs.
>
> Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/thermal/mediatek-thermal.txt | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt b/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt
> index 5c7e7bdd029abf..efc16ab5b22b5d 100644
> --- a/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt
> +++ b/Documentation/devicetree/bindings/thermal/mediatek-thermal.txt
> @@ -13,6 +13,7 @@ Required properties:
> - "mediatek,mt2701-thermal" : For MT2701 family of SoCs
> - "mediatek,mt2712-thermal" : For MT2712 family of SoCs
> - "mediatek,mt7622-thermal" : For MT7622 SoC
> + - "mediatek,mt7986-thermal" : For MT7981 and MT7986 SoC

Then recommended is to have specific compatible followed by fallback (so
7986 followed by 7981)

Best regards,
Krzysztof