Commit 087e3d47 authored by Guido Günther's avatar Guido Günther Committed by Sam Ravnborg

dt-bindings: panel: rocktech,jh057n00900: Modernize

- Use common properties from panel-common.yaml
- Indent comment like content
- Don't preserve newlines in description
- Indent example by four spaces
Signed-off-by: default avatarGuido Günther <agx@sigxcpu.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/60639e670028af7e8ab31379256ba331a1bdf6cc.1597561897.git.agx@sigxcpu.org
parent 5759c967
...@@ -9,9 +9,9 @@ title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel ...@@ -9,9 +9,9 @@ title: Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
maintainers: maintainers:
- Ondrej Jirman <megi@xff.cz> - Ondrej Jirman <megi@xff.cz>
description: | description:
Rocktech JH057N00900 is a 720x1440 TFT LCD panel Rocktech JH057N00900 is a 720x1440 TFT LCD panel
connected using a MIPI-DSI video interface. connected using a MIPI-DSI video interface.
allOf: allOf:
- $ref: panel-common.yaml# - $ref: panel-common.yaml#
...@@ -19,9 +19,9 @@ allOf: ...@@ -19,9 +19,9 @@ allOf:
properties: properties:
compatible: compatible:
enum: enum:
# Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel # Rocktech JH057N00900 5.5" 720x1440 TFT LCD panel
- rocktech,jh057n00900 - rocktech,jh057n00900
# Xingbangda XBD599 5.99" 720x1440 TFT LCD panel # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel
- xingbangda,xbd599 - xingbangda,xbd599
port: true port: true
...@@ -35,13 +35,9 @@ properties: ...@@ -35,13 +35,9 @@ properties:
iovcc-supply: iovcc-supply:
description: I/O voltage supply description: I/O voltage supply
reset-gpios: reset-gpios: true
description: GPIO used for the reset pin
maxItems: 1
backlight: backlight: true
description: Backlight used by the panel
$ref: "/schemas/types.yaml#/definitions/phandle"
required: required:
- compatible - compatible
...@@ -57,15 +53,16 @@ examples: ...@@ -57,15 +53,16 @@ examples:
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
dsi { dsi {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
panel@0 { panel@0 {
compatible = "rocktech,jh057n00900"; compatible = "rocktech,jh057n00900";
reg = <0>; reg = <0>;
vcc-supply = <&reg_2v8_p>; vcc-supply = <&reg_2v8_p>;
iovcc-supply = <&reg_1v8_p>; iovcc-supply = <&reg_1v8_p>;
reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
backlight = <&backlight>; backlight = <&backlight>;
}; };
}; };
... ...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment