lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <c17f79c7-40ba-ab10-dd0a-0f6e2634717a@birger-koblitz.de>
Date:   Mon, 1 Aug 2022 08:22:45 +0200
From:   Birger Koblitz <mail@...ger-koblitz.de>
To:     Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Cc:     linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
        bert@...t.com, sander@...nheule.net
Subject: [PATCH 7/7] spi: realtek-rtl: update devicetree documentation

Update documentation to include the optional clocks and
spi-max-frequency properties in the devicetree node.

Signed-off-by: Birger Koblitz <mail@...ger-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@...0 {
          compatible = "realtek,rtl8382-spi";
          reg = <0x1200 0x100>;
+        clocks = <&lx_clk>
+        spi-max-requency = <25000000>;
          #address-cells = <1>;
          #size-cells = <0>;
      };
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ