[PATCH] dt-bindings: soc: nuvoton: Fix NPCM845 GCR compatibles

Rob Herring (Arm) posted 1 patch 2 days, 17 hours ago
.../bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
[PATCH] dt-bindings: soc: nuvoton: Fix NPCM845 GCR compatibles
Posted by Rob Herring (Arm) 2 days, 17 hours ago
The Nuvoton NPCM845 GCR doesn't have any child nodes and therefore isn't
a simple-mfd device, so drop the compatible for it. This matches the DTS
files.

Assisted-by: LLM
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml
index 23e7e4ea01ff..9f6f009ec991 100644
--- a/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml
+++ b/Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml
@@ -17,13 +17,17 @@ description:
 
 properties:
   compatible:
-    items:
-      - enum:
-          - nuvoton,wpcm450-gcr
-          - nuvoton,npcm750-gcr
-          - nuvoton,npcm845-gcr
-      - const: syscon
-      - const: simple-mfd
+    oneOf:
+      - items:
+          - enum:
+              - nuvoton,npcm845-gcr
+          - const: syscon
+      - items:
+          - enum:
+              - nuvoton,wpcm450-gcr
+              - nuvoton,npcm750-gcr
+          - const: syscon
+          - const: simple-mfd
 
   reg:
     maxItems: 1
-- 
2.53.0