[PATCH] dt-bindings: mfd: hisilicon: Fix Hi6421 SPMI compatible

Rob Herring (Arm) posted 1 patch 2 days, 17 hours ago
There is a newer version of this series
.../bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml           | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
[PATCH] dt-bindings: mfd: hisilicon: Fix Hi6421 SPMI compatible
Posted by Rob Herring (Arm) 2 days, 17 hours ago
Use the hisilicon,hi6421-spmi compatible documented by the in-tree DTS
and matched by the Hi6421 SPMI PMIC driver. Also allow the GPIO
interrupt line property used by the HiKey970 PMIC node.

Assisted-by: LLM
Fixes: dee8a4e807dc ("dt-bindings: mfd: Convert hisilicon,hi6421-pmic to DT schema")
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml           | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml
index 6a824351834e..9275c561e9d4 100644
--- a/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml
@@ -24,7 +24,7 @@ properties:
     pattern: "pmic@[0-9a-f]"
 
   compatible:
-    const: hisilicon,hi6421v600-spmi
+    const: hisilicon,hi6421-spmi
 
   reg:
     maxItems: 1
@@ -32,6 +32,9 @@ properties:
   '#interrupt-cells':
     const: 2
 
+  gpios:
+    maxItems: 1
+
   interrupt-controller: true
 
   interrupts:
@@ -66,7 +69,7 @@ examples:
         #size-cells = <0>;
 
         pmic@0 {
-            compatible = "hisilicon,hi6421v600-spmi";
+            compatible = "hisilicon,hi6421-spmi";
             reg = <0 SPMI_USID>;
 
             #interrupt-cells = <2>;
-- 
2.53.0