Skip to content

Commit 724884c

Browse files
Ondrej Jirmanrobherring
authored andcommitted
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: Rob Herring <[email protected]> Reviewed-by: Guido Günther <[email protected]> Signed-off-by: Ondrej Jirman <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 5887a2a commit 724884c

File tree

1 file changed

+5
-4
lines changed
  • Documentation/devicetree/bindings/display/bridge

1 file changed

+5
-4
lines changed

Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ examples:
165165
- |
166166
167167
#include <dt-bindings/clock/imx8mq-clock.h>
168+
#include <dt-bindings/gpio/gpio.h>
168169
#include <dt-bindings/interrupt-controller/arm-gic.h>
169170
#include <dt-bindings/reset/imx8mq-reset.h>
170171
@@ -191,12 +192,12 @@ examples:
191192
phy-names = "dphy";
192193
193194
panel@0 {
194-
#address-cells = <1>;
195-
#size-cells = <0>;
196195
compatible = "rocktech,jh057n00900";
197196
reg = <0>;
198-
port@0 {
199-
reg = <0>;
197+
vcc-supply = <&reg_2v8_p>;
198+
iovcc-supply = <&reg_1v8_p>;
199+
reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
200+
port {
200201
panel_in: endpoint {
201202
remote-endpoint = <&mipi_dsi_out>;
202203
};

0 commit comments

Comments
 (0)