dt-bindings: lcdif: Document the dmas/dma-names properties
Subsystems (4)
PATCH v2 1/1 dt-bindings: lcdif: Document the dmas/dma-names properties
From: Fabio Estevam <[email protected]>
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]+'
---
Changes since v1:
- Add a blank line before the examples. (Krzysztof)
.../bindings/display/fsl,lcdif.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+)
Documentation/devicetree/bindings/display/fsl,lcdif.yaml +20 -0
@@ -50,6 +50,14 @@ properties: - const: disp_axi minItems: 1 + dmas: + items: + - description: DMA specifier for the RX DMA channel. + + dma-names: + items: + - const: rx + interrupts: items: - description: LCDIF DMA interrupt
@@ -156,6 +164,18 @@ allOf: interrupts: maxItems: 1 + - if: + not: + properties: + compatible: + contains: + enum: + - fsl,imx28-lcdif + then: + properties: + dmas: false + dma-names: false + examples: - | #include <dt-bindings/clock/imx6sx-clock.h>
Signature · 1 line
2.34.1
Quoted 9 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
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]+'
Quoted 9 lines
Signed-off-by Fabio Estevam <[email protected]>Reviewed-by Krzysztof Kozlowski <[email protected]>---
Changes since v1:
- Add a blank line before the examples. (Krzysztof).../bindings/display/fsl,lcdif.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+)
Applied, thanks!