0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/raydium,rm67191.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Raydium RM67171 OLED LCD panel with MIPI-DSI protocol
0008
0009 maintainers:
0010 - Robert Chiras <robert.chiras@nxp.com>
0011
0012 allOf:
0013 - $ref: panel-common.yaml#
0014
0015 properties:
0016 compatible:
0017 const: raydium,rm67191
0018
0019 reg: true
0020 port: true
0021 reset-gpios: true
0022 width-mm: true
0023 height-mm: true
0024
0025 dsi-lanes:
0026 description: Number of DSI lanes to be used must be <3> or <4>
0027 $ref: /schemas/types.yaml#/definitions/uint32
0028 enum: [3, 4]
0029
0030 v3p3-supply:
0031 description: phandle to 3.3V regulator that powers the VDD_3V3 pin
0032
0033 v1p8-supply:
0034 description: phandle to 1.8V regulator that powers the VDD_1V8 pin
0035
0036 video-mode:
0037 description: |
0038 0 - burst-mode
0039 1 - non-burst with sync event
0040 2 - non-burst with sync pulse
0041 $ref: /schemas/types.yaml#/definitions/uint32
0042 enum: [0, 1, 2]
0043
0044 required:
0045 - compatible
0046 - reg
0047 - dsi-lanes
0048 - port
0049
0050 additionalProperties: false
0051
0052 examples:
0053 - |
0054 #include <dt-bindings/gpio/gpio.h>
0055
0056 dsi {
0057 #address-cells = <1>;
0058 #size-cells = <0>;
0059
0060 panel@0 {
0061 compatible = "raydium,rm67191";
0062 reg = <0>;
0063 reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
0064 dsi-lanes = <4>;
0065 width-mm = <68>;
0066 height-mm = <121>;
0067 video-mode = <1>;
0068
0069 port {
0070 panel_in: endpoint {
0071 remote-endpoint = <&mipi_out>;
0072 };
0073 };
0074 };
0075 };
0076
0077 ...