.. | .. |
---|
15 | 15 | to external devices using the OF graph reprensentation (see ../graph.txt). |
---|
16 | 16 | At least one port node is required. |
---|
17 | 17 | |
---|
| 18 | +Optional properties in grandchild nodes: |
---|
| 19 | + Any endpoint grandchild node may specify a desired video interface |
---|
| 20 | + according to ../../media/video-interfaces.txt, specifically |
---|
| 21 | + - bus-width: recognized values are <12>, <16>, <18> and <24>, and |
---|
| 22 | + override any output mode selection heuristic, forcing "rgb444", |
---|
| 23 | + "rgb565", "rgb666" and "rgb888" respectively. |
---|
| 24 | + |
---|
18 | 25 | Example: |
---|
19 | 26 | |
---|
20 | 27 | hlcdc: hlcdc@f0030000 { |
---|
.. | .. |
---|
50 | 57 | #pwm-cells = <3>; |
---|
51 | 58 | }; |
---|
52 | 59 | }; |
---|
| 60 | + |
---|
| 61 | +Example 2: With a video interface override to force rgb565; as above |
---|
| 62 | +but with these changes/additions: |
---|
| 63 | + |
---|
| 64 | + &hlcdc { |
---|
| 65 | + hlcdc-display-controller { |
---|
| 66 | + pinctrl-names = "default"; |
---|
| 67 | + pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_rgb565>; |
---|
| 68 | + |
---|
| 69 | + port@0 { |
---|
| 70 | + hlcdc_panel_output: endpoint@0 { |
---|
| 71 | + bus-width = <16>; |
---|
| 72 | + }; |
---|
| 73 | + }; |
---|
| 74 | + }; |
---|
| 75 | + }; |
---|