Thread (5 messages) flat view 5 messages, 2 authors, 2021-08-18

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for mt8195 thermal controller

From: Rob Herring <robh@kernel.org>
Date: 2021-08-18 01:07:19
Also in: linux-arm-kernel, linux-devicetree, linux-pm, lkml

On Mon, Aug 16, 2021 at 06:43:05PM +0200, Alexandre Bailon wrote:
quoted hunk ↗ jump to hunk
This patch adds binding document for mt8195 thermal controller.

Signed-off-by: Alexandre Bailon <redacted>
---
 .../devicetree/bindings/thermal/mediatek-thermal-lvts.yaml  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml b/Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml
index 69ffe7b14c212..2e1ae00d4fd18 100644
--- a/Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml
+++ b/Documentation/devicetree/bindings/thermal/mediatek-thermal-lvts.yaml
@@ -12,7 +12,11 @@ maintainers:
 
 properties:
   compatible:
-    const: mediatek,mt6873-lvts
+    oneOf:
+      - items:
+          - enum:
+              - mediatek,mt6873-lvts
+              - mediatek,mt8195-lvts
You don't need 'oneOf' when only one clause. Just changing the const to 
enum is enough. 

Rob

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help