[PATCH v4 1/4] dt-bindings: lcdif: Add endpoint bus-width property
Francesco Dolcini <[email protected]>
| Newsgroups | dev.linux.lists.imx,org.freedesktop.lists.dri-devel,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
From: Francesco Dolcini <[email protected]> The DPI output of the LCD interface can be configured with a bus width of 16, 18, or 24 bits. Introduce a bus-width property to the output endpoint, specifying the number of parallel RGB bits connected. Reviewed-by: Frank Li <[email protected]> Signed-off-by: Francesco Dolcini <[email protected]> --- v4: use /schemas/graph.yaml#/$defs/port-base v3: use video-interfaces.yaml v2: use the common bus-width property instead of the legacy interface-pix-fmt --- .../devicetree/bindings/display/fsl,lcdif.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml index 2dd0411ec651..89cea0c14cf1 100644 --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml @@ -68,9 +68,19 @@ properties: maxItems: 1 port: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: The LCDIF output port + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml + unevaluatedProperties: false + + properties: + bus-width: + enum: [ 16, 18, 24 ] + display: $ref: /schemas/types.yaml#/definitions/phandle description: phandle to display panel -- 2.47.3