dt-bindings: nfc: nxp,nci: document NXP PN547 binding
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Mon, 11 Oct 2021 07:39:28 +0000 (09:39 +0200)
committerRob Herring <robh@kernel.org>
Mon, 18 Oct 2021 20:16:13 +0000 (15:16 -0500)
NXP PN547 NFC controller seems to be compatible with the NXP NCI and
there already DTS files using two compatibles.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20211011073934.34340-3-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/net/nfc/nxp,nci.yaml

index 70634d2..7465aea 100644 (file)
@@ -12,7 +12,11 @@ maintainers:
 
 properties:
   compatible:
-    const: nxp,nxp-nci-i2c
+    oneOf:
+      - const: nxp,nxp-nci-i2c
+      - items:
+          - const: nxp,pn547
+          - const: nxp,nxp-nci-i2c
 
   enable-gpios:
     description: Output GPIO pin used for enabling/disabling the controller