Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / display / panel / raydium,rm67191.yaml
blob4825792bf712f0d219119034fdaace72f4c2487d
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/raydium,rm67191.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Raydium RM67171 OLED LCD panel with MIPI-DSI protocol
9 maintainers:
10   - Robert Chiras <robert.chiras@nxp.com>
12 allOf:
13   - $ref: panel-common.yaml#
15 properties:
16   compatible:
17     const: raydium,rm67191
19   reg:
20     maxItems: 1
22   port: true
23   reset-gpios: true
24   width-mm: true
25   height-mm: true
27   dsi-lanes:
28     description: Number of DSI lanes to be used must be <3> or <4>
29     $ref: /schemas/types.yaml#/definitions/uint32
30     enum: [3, 4]
32   v3p3-supply:
33     description: phandle to 3.3V regulator that powers the VDD_3V3 pin
35   v1p8-supply:
36     description: phandle to 1.8V regulator that powers the VDD_1V8 pin
38   video-mode:
39     description: |
40       0 - burst-mode
41       1 - non-burst with sync event
42       2 - non-burst with sync pulse
43     $ref: /schemas/types.yaml#/definitions/uint32
44     enum: [0, 1, 2]
46 required:
47   - compatible
48   - reg
49   - dsi-lanes
50   - port
52 additionalProperties: false
54 examples:
55   - |
56     #include <dt-bindings/gpio/gpio.h>
58     dsi {
59         #address-cells = <1>;
60         #size-cells = <0>;
62         panel@0 {
63             compatible = "raydium,rm67191";
64             reg = <0>;
65             reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
66             dsi-lanes = <4>;
67             width-mm = <68>;
68             height-mm = <121>;
69             video-mode = <1>;
71             port {
72                 panel_in: endpoint {
73                     remote-endpoint = <&mipi_out>;
74                 };
75             };
76         };
77     };
79 ...