# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Ilitek ILI9806E based MIPI-DSI panels

maintainers:
  - Michael Walle <mwalle@kernel.org>

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

properties:
  compatible:
    items:
      - enum:
          - densitron,dmt028vghmcmi-1d
          - ortustech,com35h3p70ulc
      - const: ilitek,ili9806e

  reg:
    maxItems: 1

  vdd-supply: true
  vccio-supply: true

required:
  - compatible
  - reg
  - vdd-supply
  - vccio-supply
  - reset-gpios
  - backlight
  - port

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    dsi {
        #address-cells = <1>;
        #size-cells = <0>;

        panel@0 {
            compatible = "ortustech,com35h3p70ulc", "ilitek,ili9806e";
            reg = <0>;
            vdd-supply = <&reg_vdd_panel>;
            vccio-supply = <&reg_vccio_panel>;
            reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
            backlight = <&backlight>;

            port {
                panel_in: endpoint {
                    remote-endpoint = <&dsi_out>;
                };
            };
        };
    };

...
