Skip to content

Commit

Permalink
dt-bindings: display: fix panel warnings
Browse files Browse the repository at this point in the history
Fix following type af warnings in the panel bindings:

Warning (unit_address_vs_reg): /example-0/dsi/panel: node has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): /example-0/dsi@ff450000: node has a unit name, but no reg property

Removing the "@xxx" from the node name fixed first warning.
Adding a missing reg property fixed the second warning

v2:
  - renamed mdss_dsi to dsi in panel-simple-dsi.yaml (Rob)

Signed-off-by: Sam Ravnborg <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Benjamin Gaignard <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Heiko Stuebner <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Benjamin Gaignard <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
sravnborg committed Mar 13, 2020
1 parent 1cfff5f commit 52120e8
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ additionalProperties: false

examples:
- |
dsi@ff450000 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ additionalProperties: false

examples:
- |
dsi@ff450000 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ examples:
- |
#include <dt-bindings/gpio/gpio.h>
dsi@a0351000 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel {
panel@0 {
compatible = "hydis,hva40wv1", "novatek,nt35510";
reg = <0>;
vdd-supply = <&ab8500_ldo_aux4_reg>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ required:

examples:
- |
dsi@0 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ additionalProperties: false

examples:
- |
panel@0 {
panel {
compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
label = "osddisplay";
power-supply = <&vcc_supply>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ required:

examples:
- |
mdss_dsi@fd922800 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ required:

examples:
- |
dsi@0 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ additionalProperties: false

examples:
- |
dsi@ff450000 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
Expand Down

0 comments on commit 52120e8

Please sign in to comment.