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: <20200701134853.30656-1-laurent.pinchart@ideasonboard.com>
Date:   Wed,  1 Jul 2020 16:48:53 +0300
From:   Laurent Pinchart <laurent.pinchart@...asonboard.com>
To:     devicetree@...r.kernel.org
Cc:     Kishon Vijay Abraham I <kishon@...com>,
        Vinod Koul <vkoul@...nel.org>,
        Anurag Kumar Vulisha <anurag.kumar.vulisha@...inx.com>,
        linux-kernel@...r.kernel.org, Rob Herring <robh@...nel.org>
Subject: [PATCH] dt-bindings: phy: zynqmp-psgtr: Fix example's numbers of cells in reg

The DT examples are by default compiled in a parent that has
 #address-cells and #size-cells both set to 1. Fix the example
accordingly, even if it doesn't match the actual hardware, as this is
the recommended practice for DT bindings examples.

Fixes: cea0f76a483d ("dt-bindings: phy: Add DT bindings for Xilinx ZynqMP PSGTR PHY")
Signed-off-by: Laurent Pinchart <laurent.pinchart@...asonboard.com>
---
 Documentation/devicetree/bindings/phy/xlnx,zynqmp-psgtr.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/phy/xlnx,zynqmp-psgtr.yaml b/Documentation/devicetree/bindings/phy/xlnx,zynqmp-psgtr.yaml
index 09e3cde7ebca..04d5654efb38 100644
--- a/Documentation/devicetree/bindings/phy/xlnx,zynqmp-psgtr.yaml
+++ b/Documentation/devicetree/bindings/phy/xlnx,zynqmp-psgtr.yaml
@@ -94,8 +94,8 @@ examples:
   - |
     phy: phy@...00000 {
         compatible = "xlnx,zynqmp-psgtr-v1.1";
-        reg = <0x0 0xfd400000 0x0 0x40000>,
-              <0x0 0xfd3d0000 0x0 0x1000>;
+        reg = <0xfd400000 0x40000>,
+              <0xfd3d0000 0x1000>;
         reg-names = "serdes", "siou";
         clocks = <&refclks 3>, <&refclks 2>, <&refclks 0>;
         clock-names = "ref1", "ref2", "ref3";
-- 
Regards,

Laurent Pinchart

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ