All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: net: nfc: s3fwrn5: Add optional clock
@ 2021-05-18 13:39 ` Stephan Gerhold
  0 siblings, 0 replies; 33+ messages in thread
From: Stephan Gerhold @ 2021-05-18 13:39 UTC (permalink / raw)
  To: Krzysztof Kozlowski, David S. Miller, Jakub Kicinski
  Cc: Krzysztof Opasiak, Rob Herring, linux-nfc, netdev, devicetree,
	linux-kernel, Bongsu Jeon, ~postmarketos/upstreaming,
	Stephan Gerhold

On some systems, S3FWRN5 depends on having an external clock enabled
to function correctly. Allow declaring that clock (optionally) in the
device tree.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 .../devicetree/bindings/net/nfc/samsung,s3fwrn5.yaml         | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/nfc/samsung,s3fwrn5.yaml b/Documentation/devicetree/bindings/net/nfc/samsung,s3fwrn5.yaml
index 477066e2b821..081742c2b726 100644
--- a/Documentation/devicetree/bindings/net/nfc/samsung,s3fwrn5.yaml
+++ b/Documentation/devicetree/bindings/net/nfc/samsung,s3fwrn5.yaml
@@ -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
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2021-05-21 15:02 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 13:39 [PATCH 1/2] dt-bindings: net: nfc: s3fwrn5: Add optional clock Stephan Gerhold
2021-05-18 13:39 ` Stephan Gerhold
2021-05-18 13:39 ` [linux-nfc] " Stephan Gerhold
2021-05-18 13:39 ` [PATCH 2/2] nfc: s3fwrn5: i2c: Enable optional clock from device tree Stephan Gerhold
2021-05-18 13:39   ` Stephan Gerhold
2021-05-18 13:39   ` [linux-nfc] " Stephan Gerhold
2021-05-18 14:30   ` Krzysztof Kozlowski
2021-05-18 14:30     ` Krzysztof Kozlowski
2021-05-18 14:30     ` [linux-nfc] " Krzysztof Kozlowski
2021-05-18 15:00     ` [linux-nfc] " Stephan Gerhold
2021-05-18 15:00       ` Stephan Gerhold
2021-05-18 15:00       ` [linux-nfc] " Stephan Gerhold
2021-05-18 15:25       ` Krzysztof Kozlowski
2021-05-18 15:25         ` Krzysztof Kozlowski
2021-05-18 15:25         ` [linux-nfc] " Krzysztof Kozlowski
2021-05-18 15:37         ` Stephan Gerhold
2021-05-18 15:37           ` Stephan Gerhold
2021-05-18 15:37           ` [linux-nfc] " Stephan Gerhold
2021-05-19  8:07         ` Stephan Gerhold
2021-05-19  8:07           ` Stephan Gerhold
2021-05-19  8:07           ` [linux-nfc] " Stephan Gerhold
2021-05-19 15:58           ` Krzysztof Kozlowski
2021-05-19 15:58             ` Krzysztof Kozlowski
2021-05-19 15:58             ` [linux-nfc] " Krzysztof Kozlowski
2021-05-20  7:41             ` Stephan Gerhold
2021-05-20  7:41               ` Stephan Gerhold
2021-05-20  7:41               ` [linux-nfc] " Stephan Gerhold
2021-05-20 11:40             ` Bongsu Jeon
2021-05-20 11:40               ` Bongsu Jeon
2021-05-20 11:40               ` [linux-nfc] " Bongsu Jeon
2021-05-21 15:02               ` Krzysztof Kozlowski
2021-05-21 15:02                 ` Krzysztof Kozlowski
2021-05-21 15:02                 ` [linux-nfc] " Krzysztof Kozlowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.