[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-head
Subject: dt-bindings: Fix 'reg' size issues in zynqmp examples
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2020-09-30 0:58:16
Message-ID: git-mailbomb-linux-master-64ff609b551914d8c2c51d828920f2ffc5237de7 () kernel ! org
[Download RAW message or body]
Commit: 64ff609b551914d8c2c51d828920f2ffc5237de7
Parent: 6a7548305a04ae0cd9e9f062c050f265d4bf2d2e
Refname: refs/heads/master
Web: https://git.kernel.org/torvalds/c/64ff609b551914d8c2c51d828920f2ffc5237de7
Author: Rob Herring <robh@kernel.org>
AuthorDate: Mon Sep 28 10:22:56 2020 -0500
Committer: Rob Herring <robh@kernel.org>
CommitDate: Tue Sep 29 15:39:02 2020 -0500
dt-bindings: Fix 'reg' size issues in zynqmp examples
The default sizes in examples for 'reg' are 1 cell each. Fix the
incorrect sizes in zynqmp examples:
Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.example.dt.yaml: \
example-0: dma-controller@fd4c0000:reg:0: [0, 4249616384, 0, 4096] is \
too long
From schema: \
/usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml \
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.example.dt.yaml: \
example-0: display@fd4a0000:reg:0: [0, 4249485312, 0, 4096] is too \
long
From schema: \
/usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml \
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.example.dt.yaml: \
example-0: display@fd4a0000:reg:1: [0, 4249526272, 0, 4096] is too \
long
From schema: \
/usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml \
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.example.dt.yaml: \
example-0: display@fd4a0000:reg:2: [0, 4249530368, 0, 4096] is too \
long
From schema: \
/usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml \
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.example.dt.yaml: \
example-0: display@fd4a0000:reg:3: [0, 4249534464, 0, 4096] is too \
long
From schema: \
/usr/local/lib/python3.8/dist-packages/dtschema/schemas/reg.yaml
Cc: Hyun Kwon <hyun.kwon@xilinx.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Vinod Koul <vkoul@kernel.org>
Cc: dri-devel@lists.freedesktop.org
Cc: dmaengine@vger.kernel.org
Acked-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
.../devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml | 8 ++++----
.../devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml \
b/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml index \
52a939cade3b..7b9d468c3e52 100644
--- a/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml
+++ b/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml
@@ -145,10 +145,10 @@ examples:
display@fd4a0000 {
compatible = "xlnx,zynqmp-dpsub-1.7";
- reg = <0x0 0xfd4a0000 0x0 0x1000>,
- <0x0 0xfd4aa000 0x0 0x1000>,
- <0x0 0xfd4ab000 0x0 0x1000>,
- <0x0 0xfd4ac000 0x0 0x1000>;
+ reg = <0xfd4a0000 0x1000>,
+ <0xfd4aa000 0x1000>,
+ <0xfd4ab000 0x1000>,
+ <0xfd4ac000 0x1000>;
reg-names = "dp", "blend", "av_buf", "aud";
interrupts = <0 119 4>;
interrupt-parent = <&gic>;
diff --git a/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml \
b/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml index \
5de510f8c88c..2a595b18ff6c 100644
--- a/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
+++ b/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
@@ -57,7 +57,7 @@ examples:
dma: dma-controller@fd4c0000 {
compatible = "xlnx,zynqmp-dpdma";
- reg = <0x0 0xfd4c0000 0x0 0x1000>;
+ reg = <0xfd4c0000 0x1000>;
interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
clocks = <&dpdma_clk>;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic