Skip to content

Commit a9302f8

Browse files
abajkdlezcano
authored andcommitted
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: 788494b ("dt-bindings: thermal: convert Mediatek Thermal to the json-schema") Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Rafał Miłecki <rafal@milecki.pl> Link: https://lore.kernel.org/r/20250712195904.6988-2-olek2@wp.pl Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 47f4bef commit a9302f8

1 file changed

Lines changed: 17 additions & 10 deletions

File tree

Documentation/devicetree/bindings/thermal/mediatek,thermal.yaml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,23 @@ allOf:
2020

2121
properties:
2222
compatible:
23-
enum:
24-
- mediatek,mt2701-thermal
25-
- mediatek,mt2712-thermal
26-
- mediatek,mt7622-thermal
27-
- mediatek,mt7981-thermal
28-
- mediatek,mt7986-thermal
29-
- mediatek,mt8173-thermal
30-
- mediatek,mt8183-thermal
31-
- mediatek,mt8365-thermal
32-
- mediatek,mt8516-thermal
23+
oneOf:
24+
- enum:
25+
- mediatek,mt2701-thermal
26+
- mediatek,mt2712-thermal
27+
- mediatek,mt7622-thermal
28+
- mediatek,mt7986-thermal
29+
- mediatek,mt8173-thermal
30+
- mediatek,mt8183-thermal
31+
- mediatek,mt8365-thermal
32+
- items:
33+
- enum:
34+
- mediatek,mt8516-thermal
35+
- const: mediatek,mt2701-thermal
36+
- items:
37+
- enum:
38+
- mediatek,mt7981-thermal
39+
- const: mediatek,mt7986-thermal
3340

3441
reg:
3542
maxItems: 1

0 commit comments

Comments
 (0)