Skip to content

Commit 7a40871

Browse files
robherringvinodkoul
authored andcommitted
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 Signed-off-by: Rob Herring <[email protected]> Acked-by: Michal Simek <[email protected]> Cc: Hyun Kwon <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Michal Simek <[email protected]> Cc: Vinod Koul <[email protected]> Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 7ffd5c8 commit 7a40871

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ examples:
145145
146146
display@fd4a0000 {
147147
compatible = "xlnx,zynqmp-dpsub-1.7";
148-
reg = <0x0 0xfd4a0000 0x0 0x1000>,
149-
<0x0 0xfd4aa000 0x0 0x1000>,
150-
<0x0 0xfd4ab000 0x0 0x1000>,
151-
<0x0 0xfd4ac000 0x0 0x1000>;
148+
reg = <0xfd4a0000 0x1000>,
149+
<0xfd4aa000 0x1000>,
150+
<0xfd4ab000 0x1000>,
151+
<0xfd4ac000 0x1000>;
152152
reg-names = "dp", "blend", "av_buf", "aud";
153153
interrupts = <0 119 4>;
154154
interrupt-parent = <&gic>;

Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ examples:
5757
5858
dma: dma-controller@fd4c0000 {
5959
compatible = "xlnx,zynqmp-dpdma";
60-
reg = <0x0 0xfd4c0000 0x0 0x1000>;
60+
reg = <0xfd4c0000 0x1000>;
6161
interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
6262
interrupt-parent = <&gic>;
6363
clocks = <&dpdma_clk>;

0 commit comments

Comments
 (0)