Skip to content

Commit

Permalink
dt-bindings: lcdif: Document the dmas/dma-names properties
Browse files Browse the repository at this point in the history
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 <festevam@denx.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240904104027.2065621-1-festevam@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
  • Loading branch information
Fabio Estevam authored and Rob Herring (Arm) committed Sep 5, 2024
1 parent 0416f00 commit c65d679
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Documentation/devicetree/bindings/display/fsl,lcdif.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit c65d679

Please sign in to comment.