| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/imx/fsl,imx-parallel-display.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Parallel display support |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
const: fsl,imx-parallel-display |
| 15 |
|
| 16 |
interface-pix-fmt: |
| 17 |
$ref: /schemas/types.yaml#/definitions/string |
| 18 |
enum: |
| 19 |
- rgb24 |
| 20 |
- rgb565 |
| 21 |
- bgr666 |
| 22 |
- lvds666 |
| 23 |
|
| 24 |
ddc: |
| 25 |
$ref: /schemas/types.yaml#/definitions/phandle |
| 26 |
description: |
| 27 |
phandle describing the i2c bus handling the display data channel |
| 28 |
|
| 29 |
'#address-cells': |
| 30 |
const: 1 |
| 31 |
|
| 32 |
'#size-cells': |
| 33 |
const: 0 |
| 34 |
|
| 35 |
port@0: |
| 36 |
$ref: /schemas/graph.yaml#/$defs/port-base |
| 37 |
unevaluatedProperties: false |
| 38 |
description: input port connected to the IPU display interface |
| 39 |
|
| 40 |
port@1: |
| 41 |
$ref: /schemas/graph.yaml#/$defs/port-base |
| 42 |
unevaluatedProperties: false |
| 43 |
description: output port connected to a panel |
| 44 |
|
| 45 |
required: |
| 46 |
- compatible |
| 47 |
|
| 48 |
additionalProperties: false |
| 49 |
|
| 50 |
examples: |
| 51 |
- | |
| 52 |
display { |
| 53 |
compatible = "fsl,imx-parallel-display"; |
| 54 |
#address-cells = <1>; |
| 55 |
#size-cells = <0>; |
| 56 |
interface-pix-fmt = "rgb24"; |
| 57 |
|
| 58 |
port@0 { |
| 59 |
reg = <0>; |
| 60 |
|
| 61 |
endpoint { |
| 62 |
remote-endpoint = <&ipu_di0_disp0>; |
| 63 |
}; |
| 64 |
}; |
| 65 |
|
| 66 |
port@1 { |
| 67 |
reg = <1>; |
| 68 |
|
| 69 |
endpoint { |
| 70 |
remote-endpoint = <&panel_in>; |
| 71 |
}; |
| 72 |
}; |
| 73 |
}; |
| 74 |
|