1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Generic MIPI DPI Panel 8 9maintainers: 10 - Sam Ravnborg <sam@ravnborg.org> 11 12allOf: 13 - $ref: panel-common.yaml# 14 15properties: 16 compatible: 17 description: 18 Shall contain a panel specific compatible and "panel-dpi" 19 in that order. 20 items: 21 - {} 22 - const: panel-dpi 23 24 data-mapping: 25 enum: 26 - rgb24 27 - rgb565 28 - bgr666 29 description: | 30 Describes the media format, how the display panel is connected 31 to the display interface. 32 33 backlight: true 34 enable-gpios: true 35 height-mm: true 36 label: true 37 panel-timing: true 38 port: true 39 power-supply: true 40 reset-gpios: true 41 width-mm: true 42 43required: 44 - panel-timing 45 - power-supply 46 47additionalProperties: false 48 49examples: 50 - | 51 panel { 52 compatible = "osddisplays,osd057T0559-34ts", "panel-dpi"; 53 label = "osddisplay"; 54 power-supply = <&vcc_supply>; 55 data-mapping = "rgb565"; 56 backlight = <&backlight>; 57 58 port { 59 lcd_in: endpoint { 60 remote-endpoint = <&dpi_out>; 61 }; 62 }; 63 panel-timing { 64 clock-frequency = <9200000>; 65 hactive = <800>; 66 vactive = <480>; 67 hfront-porch = <8>; 68 hback-porch = <4>; 69 hsync-len = <41>; 70 vback-porch = <2>; 71 vfront-porch = <4>; 72 vsync-len = <10>; 73 74 hsync-active = <0>; 75 vsync-active = <0>; 76 de-active = <1>; 77 pixelclk-active = <1>; 78 }; 79 }; 80 81... 82