[PATCH] dt-bindings: gpio: cdns: keep AX3000 compatible in enum

Swark Yang <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-gpio
Message-ID <20260805-ax3005-gpio-keep-enum-follow-up-v1-1-9155fc19b631@axiado.com>
Commit e8a40b356688 ("dt-bindings: gpio: cdns: add Axiado AX3005
GPIO variant") replaced the existing single-entry enum for the AX3000
compatible with a const.

Keep the existing enum form as requested during review. This is a
formatting-only change with no effect on schema validation.

Suggested-by: Krzysztof Kozlowski <[email protected]>
Link:
https://lore.kernel.org/all/20260717-prudent-indefinable-labradoodle-fcaa9e@quoll/

Signed-off-by: Swark Yang <[email protected]>
---
This is a follow-up to commit e8a40b356688
("dt-bindings: gpio: cdns: add Axiado AX3005 GPIO variant").

The existing single-entry enum for AX3000 was unintentionally changed
to a const. Restore the original representation as requested during
review.
---
 Documentation/devicetree/bindings/gpio/cdns,gpio.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/gpio/cdns,gpio.yaml b/Documentation/devicetree/bindings/gpio/cdns,gpio.yaml
index 7eacf5af6554..ee3519eba2c2 100644
--- a/Documentation/devicetree/bindings/gpio/cdns,gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/cdns,gpio.yaml
@@ -14,7 +14,8 @@ properties:
     oneOf:
       - const: cdns,gpio-r1p02
       - items:
-          - const: axiado,ax3000-gpio
+          - enum:
+              - axiado,ax3000-gpio
           - const: cdns,gpio-r1p02
       - items:
           - const: axiado,ax3005-gpio

---
base-commit: 6435d21cbd42fea6c66dfd4cfef7d58b9612497e
change-id: 20260805-ax3005-gpio-keep-enum-follow-up-4082c69939e4

Best regards,
-- 
Swark Yang <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.