dt-bindings: net: nfc: s3fwrn5: Add optional clock
authorStephan Gerhold <stephan@gerhold.net>
Wed, 19 May 2021 09:16:12 +0000 (11:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 May 2021 19:44:23 +0000 (12:44 -0700)
On some systems, S3FWRN5 depends on having an external clock enabled
to function correctly. Allow declaring that clock in the device tree.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/nfc/samsung,s3fwrn5.yaml

index 477066e..081742c 100644 (file)
@@ -27,6 +27,9 @@ properties:
   reg:
     maxItems: 1
 
+  clocks:
+    maxItems: 1
+
   wake-gpios:
     maxItems: 1
     description:
@@ -80,6 +83,8 @@ examples:
 
             en-gpios = <&gpf1 4 GPIO_ACTIVE_HIGH>;
             wake-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>;
+
+            clocks = <&rpmcc 20>;
         };
     };
   # UART example on Raspberry Pi