Skip to contentSkip to conversation

dt-bindings: soc: nuvoton: Fix NPCM845 GCR compatibles

PATCH Applied Rob Herring (Arm) 1 participant 2 messages Sep 21 – Sep 25

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: soc: nuvoton: Fix NPCM845 GCR compatibles

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
---
 .../bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)
Documentation/devicetree/bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml +11 -7
index 23e7e4ea01ff..9f6f009ec991 100644
@@ -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
Signature · 1 line
2.53.0
author maintainer Applied
#1 lore raw
Quoted 10 lines · Rob Herring (Arm)

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
---
 .../bindings/soc/nuvoton/nuvoton,npcm-gcr.yaml | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Applied, thanks!