Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: Convert bananapi,s070wv20-ct16 panel to DT schema

Convert the bananapi,s070wv20-ct16 panel binding to DT schema.

Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190705164221.4462-5-robh@kernel.org

+31 -12
-12
Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.txt
··· 1 - Banana Pi 7" (S070WV20-CT16) TFT LCD Panel 2 - 3 - Required properties: 4 - - compatible: should be "bananapi,s070wv20-ct16" 5 - - power-supply: see ./panel-common.txt 6 - 7 - Optional properties: 8 - - enable-gpios: see ./simple-panel.txt 9 - - backlight: see ./simple-panel.txt 10 - 11 - This binding is compatible with the simple-panel binding, which is specified 12 - in ./simple-panel.txt.
+31
Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/panel/bananapi,s070wv20-ct16.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Banana Pi 7" (S070WV20-CT16) TFT LCD Panel 8 + 9 + maintainers: 10 + - Chen-Yu Tsai <wens@csie.org> 11 + - Thierry Reding <thierry.reding@gmail.com> 12 + 13 + allOf: 14 + - $ref: panel-common.yaml# 15 + 16 + properties: 17 + compatible: 18 + const: bananapi,s070wv20-ct16 19 + 20 + power-supply: true 21 + backlight: true 22 + enable-gpios: true 23 + port: true 24 + 25 + additionalProperties: false 26 + 27 + required: 28 + - compatible 29 + - power-supply 30 + 31 + ...