Skip to content

Commit

Permalink
dt-bindings: net: nfc: s3fwrn5: Add optional clock
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephan Gerhold authored and David S. Miller committed May 19, 2021
1 parent f7e0318 commit 9cc52f5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ properties:
reg:
maxItems: 1

clocks:
maxItems: 1

wake-gpios:
maxItems: 1
description:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9cc52f5

Please sign in to comment.