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

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Rob 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
This commit is contained in:
Sam Ravnborg 2020-04-08 21:50:58 +02:00
parent 77aeb2d794
commit 8d1f9345ea
2 changed files with 33 additions and 4 deletions

View File

@ -1,4 +0,0 @@
Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel
Required properties:
- compatible: should be "startek,startek-kd050c"

View File

@ -0,0 +1,33 @@
# 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
...