The i.MX91/93 contains a single syscon registers which is responsible for configuring DPI output format. Add DT binding which represents this configuration as a bridge. Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx> --- .../bridge/fsl,imx9-parallel-disp-fmt.yaml | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/fsl,imx9-parallel-disp-fmt.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,imx9-parallel-disp-fmt.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,imx9-parallel-disp-fmt.yaml new file mode 100644 index 0000000000000..54cb73b59b1eb --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx9-parallel-disp-fmt.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/fsl,imx9-parallel-disp-fmt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Freescale i.MX91/93 DPI bridge + +maintainers: + - Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx> + +description: | + The i.MX91/93 mediamix contains a single register which is responsible + for configuring the parallel display output format. This describes + this registers as bridge within the DT. + +properties: + compatible: + const: fsl,imx9-parallel-display-format + + reg: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for DPI input. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Video port for DPI output (panel or bridge). + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - ports + +additionalProperties: false + +examples: + - | + blk-ctrl { + #address-cells = <1>; + #size-cells = <1>; + + bridge@60 { + compatible = "fsl,imx9-parallel-display-format"; + reg = <0x60 0x4>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + dpi_from_lcdif: endpoint { + remote-endpoint = <&lcdif_to_dpi>; + }; + }; + + port@1 { + reg = <1>; + + dpi_out: endpoint { + }; + }; + }; + }; + }; -- 2.34.1