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

dt-bindings: display: Convert ampire,am-480272h3tmqw-t01h panel to DT schema

Convert the ampire,am-480272h3tmqw-t01h panel binding to DT schema.

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

+42 -26
-26
Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.txt
··· 1 - Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel 2 - 3 - This binding is compatible with the simple-panel binding, which is specified 4 - in simple-panel.txt in this directory. 5 - 6 - Required properties: 7 - - compatible: should be "ampire,am-480272h3tmqw-t01h" 8 - 9 - Optional properties: 10 - - power-supply: regulator to provide the supply voltage 11 - - enable-gpios: GPIO pin to enable or disable the panel 12 - - backlight: phandle of the backlight device attached to the panel 13 - 14 - Optional nodes: 15 - - Video port for RGB input. 16 - 17 - Example: 18 - panel_rgb: panel-rgb { 19 - compatible = "ampire,am-480272h3tmqw-t01h"; 20 - enable-gpios = <&gpioa 8 1>; 21 - port { 22 - panel_in_rgb: endpoint { 23 - remote-endpoint = <&controller_out_rgb>; 24 - }; 25 - }; 26 - };
+42
Documentation/devicetree/bindings/display/panel/ampire,am-480272h3tmqw-t01h.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/panel/ampire,am-480272h3tmqw-t01h.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Ampire AM-480272H3TMQW-T01H 4.3" WQVGA TFT LCD panel 8 + 9 + maintainers: 10 + - Yannick Fertre <yannick.fertre@st.com> 11 + - Thierry Reding <treding@nvidia.com> 12 + 13 + allOf: 14 + - $ref: panel-common.yaml# 15 + 16 + properties: 17 + compatible: 18 + const: ampire,am-480272h3tmqw-t01h 19 + 20 + power-supply: true 21 + enable-gpios: true 22 + backlight: true 23 + port: true 24 + 25 + required: 26 + - compatible 27 + 28 + additionalProperties: false 29 + 30 + examples: 31 + - | 32 + panel_rgb: panel { 33 + compatible = "ampire,am-480272h3tmqw-t01h"; 34 + enable-gpios = <&gpioa 8 1>; 35 + port { 36 + panel_in_rgb: endpoint { 37 + remote-endpoint = <&controller_out_rgb>; 38 + }; 39 + }; 40 + }; 41 + 42 + ...