Commit 724884c3 authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Rob Herring

dt-bindings: display: Fix example in nwl-dsi.yaml

The example is now validated against rocktech,jh057n00900 schema
that was ported to yaml, and didn't validate with:

- '#address-cells', '#size-cells', 'port@0' do not match any of
  the regexes: 'pinctrl-[0-9]+'
- 'vcc-supply' is a required property
- 'iovcc-supply' is a required property
- 'reset-gpios' is a required property

Fix it.
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarGuido Günther <agx@sigxcpu.org>
Signed-off-by: default avatarOndrej Jirman <megous@megous.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200703114717.2140832-2-megous@megous.com
parent 5887a2ad
...@@ -165,6 +165,7 @@ examples: ...@@ -165,6 +165,7 @@ examples:
- | - |
#include <dt-bindings/clock/imx8mq-clock.h> #include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/reset/imx8mq-reset.h> #include <dt-bindings/reset/imx8mq-reset.h>
...@@ -191,12 +192,12 @@ examples: ...@@ -191,12 +192,12 @@ examples:
phy-names = "dphy"; phy-names = "dphy";
panel@0 { panel@0 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "rocktech,jh057n00900"; compatible = "rocktech,jh057n00900";
reg = <0>; reg = <0>;
port@0 { vcc-supply = <&reg_2v8_p>;
reg = <0>; iovcc-supply = <&reg_1v8_p>;
reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
port {
panel_in: endpoint { panel_in: endpoint {
remote-endpoint = <&mipi_dsi_out>; remote-endpoint = <&mipi_dsi_out>;
}; };
......
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