Documentation / devicetree / bindings / display / panel / raydium,rm69380.yaml


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/raydium,rm69380.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Raydium RM69380-based DSI display panels

maintainers:
  - David Wronek <david@mainlining.org>

description:
  The Raydium RM69380 is a generic DSI panel IC used to control
  OLED panels.

allOf:
  - $ref: panel-common-dual.yaml#

properties:
  compatible:
    items:
      - enum:
          - lenovo,j716f-edo-rm69380
      - const: raydium,rm69380
    description: This indicates the panel manufacturer of the panel
      that is in turn using the RM69380 panel driver. The compatible
      string determines how the RM69380 panel driver shall be configured
      to work with the indicated panel. The raydium,rm69380 compatible shall
      always be provided as a fallback.

  reg:
    maxItems: 1

  avdd-supply:
    description: Analog voltage rail

  vddio-supply:
    description: I/O voltage rail

  reset-gpios:
    maxItems: 1
    description: phandle of gpio for reset line - This should be active low

required:
  - compatible
  - reg
  - avdd-supply
  - vddio-supply
  - reset-gpios

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
 
    dsi {
        #address-cells = <1>;
        #size-cells = <0>;
 
        panel@0 {
            compatible = "lenovo,j716f-edo-rm69380", "raydium,rm69380";
            reg = <0>;
 
            avdd-supply = <&panel_avdd_regulator>;
            vddio-supply = <&vreg_l14a>;
            reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>;
 
            ports {
                #address-cells = <1>;
                #size-cells = <0>;
 
                port@0 {
                    reg = <0>;
                    panel_in_0: endpoint {
                        remote-endpoint = <&mdss_dsi0_out>;
                    };
                };
 
                port@1 {
                    reg = <1>;
                    panel_in_1: endpoint {
                        remote-endpoint = <&mdss_dsi1_out>;
                    };
                };
            };
        };
    };

...