From: Birger Koblitz <mail@birger-koblitz.de>
To: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
bert@biot.com, sander@svanheule.net
Subject: [PATCH 7/7] spi: realtek-rtl: update devicetree documentation
Date: Mon, 1 Aug 2022 08:22:45 +0200 [thread overview]
Message-ID: <c17f79c7-40ba-ab10-dd0a-0f6e2634717a@birger-koblitz.de> (raw)
Update documentation to include the optional clocks and
spi-max-frequency properties in the devicetree node.
Signed-off-by: Birger Koblitz <mail@birger-koblitz.de>
---
.../devicetree/bindings/spi/realtek,rtl-spi.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml b/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml
index 2f938c293f70..e790a85067d3 100644
--- a/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/realtek,rtl-spi.yaml
@@ -21,9 +21,17 @@ properties:
- realtek,rtl8391-spi
- realtek,rtl8392-spi
- realtek,rtl8393-spi
+ - realtek,rtl9300-spi
+ - realtek,rtl9310-spi
reg:
maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ spi-max-frequency: 1
+ maxItems: 1
required:
- compatible
@@ -36,6 +44,8 @@ examples:
spi: spi@1200 {
compatible = "realtek,rtl8382-spi";
reg = <0x1200 0x100>;
+ clocks = <&lx_clk>
+ spi-max-requency = <25000000>;
#address-cells = <1>;
#size-cells = <0>;
};
--
2.25.1
reply other threads:[~2022-08-01 6:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c17f79c7-40ba-ab10-dd0a-0f6e2634717a@birger-koblitz.de \
--to=mail@birger-koblitz.de \
--cc=bert@biot.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=sander@svanheule.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).