* [PATCH 7/7] spi: realtek-rtl: update devicetree documentation
@ 2022-08-01 6:22 Birger Koblitz
0 siblings, 0 replies; only message in thread
From: Birger Koblitz @ 2022-08-01 6:22 UTC (permalink / raw)
To: Martin Blumenstingl; +Cc: linux-spi, linux-kernel, bert, sander
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-08-01 6:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 6:22 [PATCH 7/7] spi: realtek-rtl: update devicetree documentation Birger Koblitz
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).