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

title: BOE TV101WUM-LL2 DSI Display Panel

maintainers:
  - Neil Armstrong <neil.armstrong@linaro.org>

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

properties:
  compatible:
    const: boe,tv101wum-ll2

  reg:
    maxItems: 1
    description: DSI virtual channel

  backlight: true
  reset-gpios: true
  vsp-supply: true
  vsn-supply: true
  port: true
  rotation: true

required:
  - compatible
  - reg
  - reset-gpios
  - vsp-supply
  - vsn-supply
  - port

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    dsi {
        #address-cells = <1>;
        #size-cells = <0>;
        panel@0 {
            compatible = "boe,tv101wum-ll2";
            reg = <0>;

            vsn-supply = <&vsn_lcd>;
            vsp-supply = <&vsp_lcd>;

            reset-gpios = <&pio 45 GPIO_ACTIVE_LOW>;

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

...
