# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/visionox,rm69299.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Visionox model RM69299 Panels Device Tree Bindings.

maintainers:
  - Harigovindan P <harigovi@codeaurora.org>

description: |
  This binding is for display panels using a Visionox RM692999 panel.

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

properties:
  compatible:
    const: visionox,rm69299-1080p-display

  vdda-supply:
    description: |
      Phandle of the regulator that provides the vdda supply voltage.

  vdd3p3-supply:
    description: |
      Phandle of the regulator that provides the vdd3p3 supply voltage.

  port: true
  reset-gpios: true

additionalProperties: false

required:
  - compatible
  - vdda-supply
  - vdd3p3-supply
  - reset-gpios
  - port

examples:
  - |
    panel {
        compatible = "visionox,rm69299-1080p-display";

        vdda-supply = <&src_pp1800_l8c>;
        vdd3p3-supply = <&src_pp2800_l18a>;

        reset-gpios = <&pm6150l_gpio 3 0>;
        port {
            panel0_in: endpoint {
                remote-endpoint = <&dsi0_out>;
            };
        };
    };
...
