0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/panel-dpi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Generic MIPI DPI Panel
0008
0009 maintainers:
0010 - Sam Ravnborg <sam@ravnborg.org>
0011
0012 allOf:
0013 - $ref: panel-common.yaml#
0014
0015 properties:
0016 compatible:
0017 description:
0018 Shall contain a panel specific compatible and "panel-dpi"
0019 in that order.
0020 items:
0021 - {}
0022 - const: panel-dpi
0023
0024 backlight: true
0025 enable-gpios: true
0026 height-mm: true
0027 label: true
0028 panel-timing: true
0029 port: true
0030 power-supply: true
0031 reset-gpios: true
0032 width-mm: true
0033
0034 required:
0035 - panel-timing
0036 - power-supply
0037
0038 additionalProperties: false
0039
0040 examples:
0041 - |
0042 panel {
0043 compatible = "startek,startek-kd050c", "panel-dpi";
0044 label = "osddisplay";
0045 power-supply = <&vcc_supply>;
0046 backlight = <&backlight>;
0047
0048 port {
0049 lcd_in: endpoint {
0050 remote-endpoint = <&dpi_out>;
0051 };
0052 };
0053 panel-timing {
0054 clock-frequency = <9200000>;
0055 hactive = <800>;
0056 vactive = <480>;
0057 hfront-porch = <8>;
0058 hback-porch = <4>;
0059 hsync-len = <41>;
0060 vback-porch = <2>;
0061 vfront-porch = <4>;
0062 vsync-len = <10>;
0063
0064 hsync-active = <0>;
0065 vsync-active = <0>;
0066 de-active = <1>;
0067 pixelclk-active = <1>;
0068 };
0069 };
0070
0071 ...