# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | |
%YAML 1.2 | |
--- | |
$id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml# | |
$schema: http://devicetree.org/meta-schemas/core.yaml# | |
title: Generic MIPI DPI Panel | |
maintainers: | |
- Sam Ravnborg <sam@ravnborg.org> | |
allOf: | |
- $ref: panel-common.yaml# | |
properties: | |
compatible: | |
description: | |
Shall contain a panel specific compatible and "panel-dpi" | |
in that order. | |
items: | |
- {} | |
- const: panel-dpi | |
data-mapping: | |
enum: | |
- rgb24 | |
- rgb565 | |
- bgr666 | |
description: | | |
Describes the media format, how the display panel is connected | |
to the display interface. | |
backlight: true | |
enable-gpios: true | |
height-mm: true | |
label: true | |
panel-timing: true | |
port: true | |
power-supply: true | |
reset-gpios: true | |
width-mm: true | |
required: | |
- panel-timing | |
- power-supply | |
additionalProperties: false | |
examples: | |
- | | |
panel { | |
compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; | |
label = "osddisplay"; | |
power-supply = <&vcc_supply>; | |
data-mapping = "rgb565"; | |
backlight = <&backlight>; | |
port { | |
lcd_in: endpoint { | |
remote-endpoint = <&dpi_out>; | |
}; | |
}; | |
panel-timing { | |
clock-frequency = <9200000>; | |
hactive = <800>; | |
vactive = <480>; | |
hfront-porch = <8>; | |
hback-porch = <4>; | |
hsync-len = <41>; | |
vback-porch = <2>; | |
vfront-porch = <4>; | |
vsync-len = <10>; | |
hsync-active = <0>; | |
vsync-active = <0>; | |
de-active = <1>; | |
pixelclk-active = <1>; | |
}; | |
}; | |
... |