* [PATCH] dt-bindings: phy: zynqmp-psgtr: Fix example's numbers of cells in reg
@ 2020-07-01 13:48 Laurent Pinchart
2020-07-01 14:07 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Laurent Pinchart @ 2020-07-01 13:48 UTC (permalink / raw)
To: devicetree
Cc: Kishon Vijay Abraham I, Vinod Koul, Anurag Kumar Vulisha,
linux-kernel, Rob Herring
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@ideasonboard.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@fd400000 {
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: phy: zynqmp-psgtr: Fix example's numbers of cells in reg
2020-07-01 13:48 [PATCH] dt-bindings: phy: zynqmp-psgtr: Fix example's numbers of cells in reg Laurent Pinchart
@ 2020-07-01 14:07 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2020-07-01 14:07 UTC (permalink / raw)
To: Laurent Pinchart
Cc: devicetree, Kishon Vijay Abraham I, Anurag Kumar Vulisha,
linux-kernel, Rob Herring
On 01-07-20, 16:48, Laurent Pinchart wrote:
> 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.
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-01 14:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 13:48 [PATCH] dt-bindings: phy: zynqmp-psgtr: Fix example's numbers of cells in reg Laurent Pinchart
2020-07-01 14:07 ` Vinod Koul
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).