Commit 52120e8c authored by Sam Ravnborg's avatar Sam Ravnborg

dt-bindings: display: fix panel warnings

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: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarBenjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Benjamin Gaignard <benjamin.gaignard@st.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200308115017.18563-2-sam@ravnborg.org
parent 1cfff5f0
......@@ -34,7 +34,7 @@ additionalProperties: false
examples:
- |
dsi@ff450000 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
......
......@@ -34,7 +34,7 @@ additionalProperties: false
examples:
- |
dsi@ff450000 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
......
......@@ -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>;
......
......@@ -39,7 +39,7 @@ required:
examples:
- |
dsi@0 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
......
......@@ -48,7 +48,7 @@ additionalProperties: false
examples:
- |
panel@0 {
panel {
compatible = "osddisplays,osd057T0559-34ts", "panel-dpi";
label = "osddisplay";
power-supply = <&vcc_supply>;
......
......@@ -50,7 +50,7 @@ required:
examples:
- |
mdss_dsi@fd922800 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
......
......@@ -42,7 +42,7 @@ required:
examples:
- |
dsi@0 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
......
......@@ -34,7 +34,7 @@ additionalProperties: false
examples:
- |
dsi@ff450000 {
dsi {
#address-cells = <1>;
#size-cells = <0>;
panel@0 {
......
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