Skip to content

Commit c65d679

Browse files
Fabio Estevamrobherring
authored andcommitted
dt-bindings: lcdif: Document the dmas/dma-names properties
i.MX28 has an RX DMA channel associated with the LCDIF controller. Document the 'dmas' and 'dma-names' properties to fix the following dt-schema warnings: lcdif@80030000: 'dma-names', 'dmas' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 0416f00 commit c65d679

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Documentation/devicetree/bindings/display/fsl,lcdif.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ properties:
5050
- const: disp_axi
5151
minItems: 1
5252

53+
dmas:
54+
items:
55+
- description: DMA specifier for the RX DMA channel.
56+
57+
dma-names:
58+
items:
59+
- const: rx
60+
5361
interrupts:
5462
items:
5563
- description: LCDIF DMA interrupt
@@ -156,6 +164,18 @@ allOf:
156164
interrupts:
157165
maxItems: 1
158166

167+
- if:
168+
not:
169+
properties:
170+
compatible:
171+
contains:
172+
enum:
173+
- fsl,imx28-lcdif
174+
then:
175+
properties:
176+
dmas: false
177+
dma-names: false
178+
159179
examples:
160180
- |
161181
#include <dt-bindings/clock/imx6sx-clock.h>

0 commit comments

Comments
 (0)