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>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1645776611-24774-1-git-send-email-vincent.sunplus@gmail.com>
Date:   Fri, 25 Feb 2022 16:10:11 +0800
From:   Vincent Shih <vincent.sunplus@...il.com>
To:     srinivas.kandagatla@...aro.org, robh+dt@...nel.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        wells.lu@...plus.com
Cc:     Vincent Shih <vincent.sunplus@...il.com>
Subject: [PATCH] nvmem: dt-bindings: Fix the error of dt-bindings check

1. Remove the unnecessary header file for dt-binding check
2. Replace OTPRX with 0x15 since it is not defined here.
3. Modify the name of the node of the clock driver.

Fixes: e15d2e3fd7("nvmem: Fix the compilation error for SP7021")

Reported-by: Rob Herring <robh+dt@...nel.org>
Signed-off-by: Vincent Shih <vincent.sunplus@...il.com>
---
 Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml b/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
index 4b28f37..a7644eb 100644
--- a/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
+++ b/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml
@@ -60,13 +60,11 @@ unevaluatedProperties: false
 
 examples:
   - |
-    #include <dt-bindings/clock/sp-sp7021.h>
-
     otp: otp@...0af00 {
         compatible = "sunplus,sp7021-ocotp";
         reg = <0x9c00af00 0x34>, <0x9c00af80 0x58>;
         reg-names = "hb_gpio", "otprx";
-        clocks = <&clks OTPRX>;
+        clocks = <&clkc 0x15>;
 
         #address-cells = <1>;
         #size-cells = <1>;
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ