[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210518133935.571298-1-stephan@gerhold.net>
Date: Tue, 18 May 2021 15:39:34 +0200
From: Stephan Gerhold <stephan@...hold.net>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: Krzysztof Opasiak <k.opasiak@...sung.com>,
Rob Herring <robh+dt@...nel.org>, linux-nfc@...ts.01.org,
netdev@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Bongsu Jeon <bongsu.jeon@...sung.com>,
~postmarketos/upstreaming@...ts.sr.ht,
Stephan Gerhold <stephan@...hold.net>
Subject: [PATCH 1/2] dt-bindings: net: nfc: s3fwrn5: Add optional clock
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@...hold.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
Powered by blists - more mailing lists