Commit 8d1f9345 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

dt-bindings: display: convert startek,startek-kd050c to DT Schema



Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Cc: Marek Belisko <marek@goldelico.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200408195109.32692-26-sam@ravnborg.org
parent 77aeb2d7
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel

Required properties:
- compatible: should be "startek,startek-kd050c"
+33 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/panel/startek,startek-kd050c.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel

maintainers:
  - Nikita Kiryanov <nikita@compulab.co.il>

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

properties:
  compatible:
    items:
      - const: startek,startek-kd050c
      - {} # panel-dpi, but not listed here to avoid false select

  backlight: true
  enable-gpios: true
  height-mm: true
  label: true
  panel-timing: true
  port: true
  power-supply: true
  reset-gpios: true
  width-mm: true

additionalProperties: false

...