Skip to content

Commit 9367ab5

Browse files
committed
dt-bindings: display/xlnx/zynqmp-dpsub: Add audio DMAs
The DP subsystem for ZynqMP supports audio via two channels, and the DP DMA has dma-engines for those channels. For some reason the DT binding has not specified those channels, even if the picture included in xlnx,zynqmp-dpsub.yaml shows "2 x aud" DMAs. This hasn't caused any issues as the drivers have not supported audio, and has thus gone unnoticed. To make it possible to add the audio support to the driver, add the two audio DMAs to the binding. While strictly speaking this is an ABI break, there should be no regressions caused by this as we're adding new entries at the end of the dmas list, and, after the audio support has been added in "arm64: dts: zynqmp: Add DMA for DP audio", the driver will treat the audio DMAs as optional to also support the old bindings. Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 77b1ccb commit 9367ab5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,16 @@ properties:
100100
- description: Video layer, plane 1 (U/V or U)
101101
- description: Video layer, plane 2 (V)
102102
- description: Graphics layer
103+
- description: Audio channel 0
104+
- description: Audio channel 1
103105
dma-names:
104106
items:
105107
- const: vid0
106108
- const: vid1
107109
- const: vid2
108110
- const: gfx0
111+
- const: aud0
112+
- const: aud1
109113

110114
phys:
111115
description: PHYs for the DP data lanes
@@ -194,11 +198,13 @@ examples:
194198
power-domains = <&pd_dp>;
195199
resets = <&reset ZYNQMP_RESET_DP>;
196200
197-
dma-names = "vid0", "vid1", "vid2", "gfx0";
201+
dma-names = "vid0", "vid1", "vid2", "gfx0", "aud0", "aud1";
198202
dmas = <&xlnx_dpdma 0>,
199203
<&xlnx_dpdma 1>,
200204
<&xlnx_dpdma 2>,
201-
<&xlnx_dpdma 3>;
205+
<&xlnx_dpdma 3>,
206+
<&xlnx_dpdma 4>,
207+
<&xlnx_dpdma 5>;
202208
203209
phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
204210
<&psgtr 0 PHY_TYPE_DP 1 3>;

0 commit comments

Comments
 (0)