xref: /linux/Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml (revision 06f054b1fee83415fe35204845708988fc16ef22)
11aa3bf85SSam Ravnborg# SPDX-License-Identifier: GPL-2.0
21aa3bf85SSam Ravnborg%YAML 1.2
31aa3bf85SSam Ravnborg---
41aa3bf85SSam Ravnborg$id: http://devicetree.org/schemas/display/panel/raydium,rm67191.yaml#
51aa3bf85SSam Ravnborg$schema: http://devicetree.org/meta-schemas/core.yaml#
61aa3bf85SSam Ravnborg
71aa3bf85SSam Ravnborgtitle: Raydium RM67171 OLED LCD panel with MIPI-DSI protocol
81aa3bf85SSam Ravnborg
91aa3bf85SSam Ravnborgmaintainers:
101aa3bf85SSam Ravnborg  - Robert Chiras <robert.chiras@nxp.com>
111aa3bf85SSam Ravnborg
121aa3bf85SSam RavnborgallOf:
131aa3bf85SSam Ravnborg  - $ref: panel-common.yaml#
141aa3bf85SSam Ravnborg
151aa3bf85SSam Ravnborgproperties:
161aa3bf85SSam Ravnborg  compatible:
171aa3bf85SSam Ravnborg    const: raydium,rm67191
181aa3bf85SSam Ravnborg
19*9fa6bcf2SKrzysztof Kozlowski  reg:
20*9fa6bcf2SKrzysztof Kozlowski    maxItems: 1
21*9fa6bcf2SKrzysztof Kozlowski
221aa3bf85SSam Ravnborg  port: true
231aa3bf85SSam Ravnborg  reset-gpios: true
241aa3bf85SSam Ravnborg  width-mm: true
251aa3bf85SSam Ravnborg  height-mm: true
261aa3bf85SSam Ravnborg
271aa3bf85SSam Ravnborg  dsi-lanes:
281aa3bf85SSam Ravnborg    description: Number of DSI lanes to be used must be <3> or <4>
294e71ed98SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32
301aa3bf85SSam Ravnborg    enum: [3, 4]
311aa3bf85SSam Ravnborg
321aa3bf85SSam Ravnborg  v3p3-supply:
331aa3bf85SSam Ravnborg    description: phandle to 3.3V regulator that powers the VDD_3V3 pin
341aa3bf85SSam Ravnborg
351aa3bf85SSam Ravnborg  v1p8-supply:
361aa3bf85SSam Ravnborg    description: phandle to 1.8V regulator that powers the VDD_1V8 pin
371aa3bf85SSam Ravnborg
381aa3bf85SSam Ravnborg  video-mode:
391aa3bf85SSam Ravnborg    description: |
401aa3bf85SSam Ravnborg      0 - burst-mode
411aa3bf85SSam Ravnborg      1 - non-burst with sync event
421aa3bf85SSam Ravnborg      2 - non-burst with sync pulse
4391118fa9SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32
441aa3bf85SSam Ravnborg    enum: [0, 1, 2]
451aa3bf85SSam Ravnborg
461aa3bf85SSam Ravnborgrequired:
471aa3bf85SSam Ravnborg  - compatible
481aa3bf85SSam Ravnborg  - reg
491aa3bf85SSam Ravnborg  - dsi-lanes
501aa3bf85SSam Ravnborg  - port
511aa3bf85SSam Ravnborg
521aa3bf85SSam RavnborgadditionalProperties: false
531aa3bf85SSam Ravnborg
541aa3bf85SSam Ravnborgexamples:
551aa3bf85SSam Ravnborg  - |
561aa3bf85SSam Ravnborg    #include <dt-bindings/gpio/gpio.h>
571aa3bf85SSam Ravnborg
581aa3bf85SSam Ravnborg    dsi {
591aa3bf85SSam Ravnborg        #address-cells = <1>;
601aa3bf85SSam Ravnborg        #size-cells = <0>;
611aa3bf85SSam Ravnborg
621aa3bf85SSam Ravnborg        panel@0 {
631aa3bf85SSam Ravnborg            compatible = "raydium,rm67191";
641aa3bf85SSam Ravnborg            reg = <0>;
651aa3bf85SSam Ravnborg            reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
661aa3bf85SSam Ravnborg            dsi-lanes = <4>;
671aa3bf85SSam Ravnborg            width-mm = <68>;
681aa3bf85SSam Ravnborg            height-mm = <121>;
691aa3bf85SSam Ravnborg            video-mode = <1>;
701aa3bf85SSam Ravnborg
711aa3bf85SSam Ravnborg            port {
721aa3bf85SSam Ravnborg                panel_in: endpoint {
731aa3bf85SSam Ravnborg                    remote-endpoint = <&mipi_out>;
741aa3bf85SSam Ravnborg                };
751aa3bf85SSam Ravnborg            };
761aa3bf85SSam Ravnborg        };
771aa3bf85SSam Ravnborg    };
781aa3bf85SSam Ravnborg
791aa3bf85SSam Ravnborg...
80