Skip to content

Commit 3feaa43

Browse files
Liu Yingnxpfrankli
authored andcommitted
dt-bindings: soc: imx93-media-blk-ctrl: Add PDFC subnode to schema and example
i.MX93 SoC mediamix blk-ctrl contains one DISPLAY_MUX register which configures parallel display format by using the "PARALLEL_DISP_FORMAT" field. Document the Parallel Display Format Configuration(PDFC) subnode and add the subnode to example. [m.felsch@pengutronix.de: add bus-width] Signed-off-by: Liu Ying <victor.liu@nxp.com> [m.felsch@pengutronix.de: port to v6.18-rc1] Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Frank Li <Frank.Li@nxp.com>
1 parent 6de23f8 commit 3feaa43

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,58 @@ properties:
4040
minItems: 8
4141
maxItems: 10
4242

43+
dpi-bridge:
44+
type: object
45+
additionalProperties: false
46+
47+
properties:
48+
compatible:
49+
enum:
50+
- nxp,imx91-pdfc
51+
- nxp,imx93-pdfc
52+
53+
ports:
54+
$ref: /schemas/graph.yaml#/properties/ports
55+
56+
properties:
57+
port@0:
58+
$ref: /schemas/graph.yaml#/properties/port
59+
description: Input port node to receive pixel data.
60+
61+
port@1:
62+
$ref: /schemas/graph.yaml#/$defs/port-base
63+
unevaluatedProperties: false
64+
description: Output port node to downstream pixel data receivers.
65+
66+
properties:
67+
endpoint:
68+
$ref: /schemas/media/video-interfaces.yaml#
69+
unevaluatedProperties: false
70+
71+
properties:
72+
bus-width:
73+
enum: [ 16, 18, 24 ]
74+
description:
75+
Specify the physical parallel bus width.
76+
77+
This property is optional if the display bus-width
78+
matches the SoC bus-width, e.g. a 18-bit RGB666 (display)
79+
is connected and all 18-bit data lines are muxed to the
80+
parallel-output pads.
81+
82+
This property must be set to 18 to cut only the LSBs
83+
instead of the MSBs in case a 24-bit RGB888 display is
84+
connected and only the lower 18-bit data lanes are muxed
85+
to the parallel-output pads.
86+
87+
required:
88+
- port@0
89+
- port@1
90+
91+
required:
92+
- compatible
93+
- ports
94+
4395
allOf:
4496
- if:
4597
properties:
@@ -112,4 +164,30 @@ examples:
112164
clock-names = "apb", "axi", "nic", "disp", "cam",
113165
"pxp", "lcdif", "isi", "csi", "dsi";
114166
#power-domain-cells = <1>;
167+
168+
dpi-bridge {
169+
compatible = "nxp,imx93-pdfc";
170+
171+
ports {
172+
#address-cells = <1>;
173+
#size-cells = <0>;
174+
175+
port@0 {
176+
reg = <0>;
177+
178+
pdfc_from_lcdif: endpoint {
179+
remote-endpoint = <&lcdif_to_pdfc>;
180+
};
181+
};
182+
183+
port@1 {
184+
reg = <1>;
185+
186+
pdfc_to_panel: endpoint {
187+
remote-endpoint = <&panel_from_pdfc>;
188+
bus-width = <18>;
189+
};
190+
};
191+
};
192+
};
115193
};

0 commit comments

Comments
 (0)