Fix warnings in display/bridge/nwl-dsi.yaml DT example
Subsystems (6)
cover Fix warnings in display/bridge/nwl-dsi.yaml DT example
This patchset fixes warnings in the example in display/bridge/nwl-dsi.yaml revealed during port of display/panel/rocktech,jh057n00900.yaml to yaml.
Please take a look.
thank you and regards,
Ondrej Jirman
Ondrej Jirman (2):
dt-bindings: display: Fix example in nwl-dsi.yaml
dt-binding: display: Allow a single port node on rocktech,jh057n00900
.../devicetree/bindings/display/bridge/nwl-dsi.yaml | 9 +++++---- .../bindings/display/panel/rocktech,jh057n00900.yaml | 1 + 2 files changed, 6 insertions(+), 4 deletions(-)
Signature · 1 line
2.27.0
PATCH 1/2 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.
--- .../devicetree/bindings/display/bridge/nwl-dsi.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml +5 -4
@@ -165,6 +165,7 @@ examples: - | #include <dt-bindings/clock/imx8mq-clock.h> + #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/reset/imx8mq-reset.h>
@@ -191,12 +192,12 @@ examples: phy-names = "dphy"; panel@0 { - #address-cells = <1>; - #size-cells = <0>; compatible = "rocktech,jh057n00900"; reg = <0>; - port@0 { - reg = <0>; + vcc-supply = <®_2v8_p>; + iovcc-supply = <®_1v8_p>; + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; + port { panel_in: endpoint { remote-endpoint = <&mipi_dsi_out>; };
Signature · 1 line
2.27.0
Re: [PATCH 1/2] dt-bindings: display: Fix example in nwl-dsi.yaml
Quoted 9 lines · Ondrej Jirman
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
Quoted 7 lines
Fix it.
Signed-off-by Ondrej Jirman <[email protected]>--- .../devicetree/bindings/display/bridge/nwl-dsi.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Re: [PATCH 1/2] dt-bindings: display: Fix example in nwl-dsi.yaml
In reply to Ondrej JirmanHi,
Quoted 35 lines · Ondrej Jirman
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 propertyFix it.
Signed-off-by Ondrej Jirman <[email protected]>--- .../devicetree/bindings/display/bridge/nwl-dsi.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml +1
-2@@ -165,6 +165,7 @@ examples: - | #include <dt-bindings/clock/imx8mq-clock.h> + #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/reset/imx8mq-reset.h>@@ -191,12 +192,12 @@ examples: phy-names = "dphy"; panel@0 { - #address-cells = <1>; - #size-cells = <0>; compatible = "rocktech,jh057n00900";
Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml examples: · line 203
Quoted 10 lines
Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml +4
-2reg = <0>; - port@0 { - reg = <0>; + vcc-supply = <®_2v8_p>; + iovcc-supply = <®_1v8_p>; + reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>; + port { panel_in: endpoint { remote-endpoint = <&mipi_dsi_out>; };
-- Guido
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
PATCH 2/2 dt-binding: display: Allow a single port node on rocktech,jh057n00900
In reply to Ondrej JirmanThe display has one port. Allow it in the binding.
--- .../devicetree/bindings/display/panel/rocktech,jh057n00900.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml +1 -0
@@ -24,6 +24,7 @@ properties: # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel - xingbangda,xbd599 + port: true reg: maxItems: 1 description: DSI virtual channel
Signature · 1 line
2.27.0
Re: [PATCH 2/2] dt-binding: display: Allow a single port node on rocktech, jh057n00900
Quoted 7 lines · Ondrej Jirman
The display has one port. Allow it in the binding.
Signed-off-by Ondrej Jirman <[email protected]>--- .../devicetree/bindings/display/panel/rocktech,jh057n00900.yaml | 1 + 1 file changed, 1 insertion(+)
Re: [PATCH 2/2] dt-binding: display: Allow a single port node on rocktech,jh057n00900
In reply to Ondrej JirmanHi,
Quoted 12 lines · Ondrej Jirman
The display has one port. Allow it in the binding.
Signed-off-by Ondrej Jirman <[email protected]>--- .../devicetree/bindings/display/panel/rocktech,jh057n00900.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml +0
-0
Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml properties: · line 30
Quoted 7 lines
Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml +1
-0@@ -24,6 +24,7 @@ properties: # Xingbangda XBD599 5.99" 720x1440 TFT LCD panel - xingbangda,xbd599 + port: true reg: maxItems: 1 description: DSI virtual channel
-- Guido
Quoted 3 lines
Signature · 1 line
2.27.0
Quoted 5 lines · Ondrej Jirman
This patchset fixes warnings in the example in
display/bridge/nwl-dsi.yamlrevealed during port ofdisplay/panel/rocktech,jh057n00900.yamlto yaml.
Quoted 8 lines
Please take a look.
thank you and regards,
Ondrej JirmanOndrej Jirman (2):
dt-bindings: display: Fix example innwl-dsi.yaml
dt-binding: display: Allow a single port node on rocktech,jh057n00900
Series applied to drm-misc.
Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel