Commit a9302f8f authored by Aleksander Jan Bajkowski's avatar Aleksander Jan Bajkowski Committed by Daniel Lezcano
Browse files

dt-bindings: thermal: mediatek: Add fallback compatible string for MT7981 and MT8516



The ‘mediatek,mt7981-thermal’ and ‘mediatek,mt8516-thermal’ strings
aren't definied in the driver. Both should have fallback compatible
strings. This commit fixes this issue.

Fixes: 788494ba ("dt-bindings: thermal: convert Mediatek Thermal to the json-schema")
Signed-off-by: default avatarAleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarRafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20250712195904.6988-2-olek2@wp.pl


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 47f4bef6
Loading
Loading
Loading
Loading
+17 −10
Original line number Diff line number Diff line
@@ -20,16 +20,23 @@ allOf:

properties:
  compatible:
    enum:
    oneOf:
      - enum:
          - mediatek,mt2701-thermal
          - mediatek,mt2712-thermal
          - mediatek,mt7622-thermal
      - mediatek,mt7981-thermal
          - mediatek,mt7986-thermal
          - mediatek,mt8173-thermal
          - mediatek,mt8183-thermal
          - mediatek,mt8365-thermal
      - items:
          - enum:
              - mediatek,mt8516-thermal
          - const: mediatek,mt2701-thermal
      - items:
          - enum:
              - mediatek,mt7981-thermal
          - const: mediatek,mt7986-thermal

  reg:
    maxItems: 1