1 From e14ceeadfa5b9d8a41e73edfa416bbe92dd5b20d Mon Sep 17 00:00:00 2001
2 From: Timon Skerutsch <kernel@diodes-delight.com>
3 Date: Mon, 13 Nov 2023 22:53:22 +0100
4 Subject: [PATCH] dt-bindings: display: panel-dsi bindings
6 Bindings for the panel-dsi specific additions to panel-simple.
7 Allow for DSI specific bus settings and panel timing
8 to be define in devicetree. Very similar to panel-dpi.
10 Signed-off-by: Timon Skerutsch <kernel@diodes-delight.com>
12 .../bindings/display/panel/panel-dsi.yaml | 118 ++++++++++++++++++
13 1 file changed, 118 insertions(+)
14 create mode 100644 Documentation/devicetree/bindings/display/panel/panel-dsi.yaml
17 +++ b/Documentation/devicetree/bindings/display/panel/panel-dsi.yaml
19 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22 +$id: http://devicetree.org/schemas/display/panel/panel-dsi.yaml#
23 +$schema: http://devicetree.org/meta-schemas/core.yaml#
25 +title: Generic MIPI DSI Panel
28 + - Timon Skerutsch <kernel@diodes-delight.com>
31 + - $ref: panel-common.yaml#
36 + Shall contain a panel specific compatible and "panel-dsi"
44 + The color format used by the panel. Only DSI supported formats are allowed.
52 + $ref: /schemas/graph.yaml#/$defs/port-base
53 + unevaluatedProperties: false
55 + Panel MIPI DSI input
59 + $ref: /schemas/media/video-interfaces.yaml#
60 + unevaluatedProperties: false
70 + DSI mode flags. See DSI Specs for details.
71 + These are driver independent features of the DSI bus.
74 + - const: MODE_VIDEO_BURST
75 + - const: MODE_VIDEO_SYNC_PULSE
76 + - const: MODE_VIDEO_AUTO_VERT
77 + - const: MODE_VIDEO_HSE
78 + - const: MODE_VIDEO_NO_HFP
79 + - const: MODE_VIDEO_NO_HBP
80 + - const: MODE_VIDEO_NO_HSA
81 + - const: MODE_VSYNC_FLUSH
82 + - const: MODE_NO_EOT_PACKET
83 + - const: CLOCK_NON_CONTINUOUS
85 + - const: HS_PKT_END_ALIGNED
104 +additionalProperties: false
109 + compatible = "panel-mfgr,generic-dsi-panel","panel-dsi";
110 + power-supply = <&vcc_supply>;
111 + backlight = <&backlight>;
112 + dsi-color-format = "RGB888";
114 + mode = "MODE_VIDEO", "MODE_VIDEO_BURST", "MODE_NO_EOT_PACKET";
117 + panel_dsi_port: endpoint {
118 + data-lanes = <1 2>;
119 + remote-endpoint = <&dsi_out>;
124 + clock-frequency = <9200000>;
127 + hfront-porch = <8>;
131 + vfront-porch = <4>;