Commit 51a21e0e authored by Rob Herring's avatar Rob Herring
Browse files

dt-bindings: Fix dtc warnings in examples



Fix all the warnings in the DT binding schema examples when built with
'W=1'. This is in preparation to make that the default for examples.

Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarVinod Koul <vkoul@kernel.org>
Acked-by: default avatarLee Jones <lee.jones@linaro.org>
Acked-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent a40df28c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ required:

examples:
  - |
    mlahb: ahb {
    mlahb: ahb@38000000 {
      compatible = "st,mlahb", "simple-bus";
      #address-cells = <1>;
      #size-cells = <1>;
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ additionalProperties: false

examples:
  - |
    osc24M: clk@01c20050 {
    osc24M: clk@1c20050 {
        #clock-cells = <0>;
        compatible = "allwinner,sun4i-a10-osc-clk";
        reg = <0x01c20050 0x4>;
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ additionalProperties: false

examples:
  - |
    clk@0600005c {
    clk@600005c {
        #clock-cells = <0>;
        compatible = "allwinner,sun9i-a80-gt-clk";
        reg = <0x0600005c 0x4>;
+1 −5
Original line number Diff line number Diff line
@@ -49,11 +49,7 @@ examples:
        resets = <&tcon_ch0_clk 0>;

        port {
            #address-cells = <1>;
            #size-cells = <0>;

            tve0_in_tcon0: endpoint@0 {
                reg = <0>;
            tve0_in_tcon0: endpoint {
                remote-endpoint = <&tcon0_out_tve0>;
            };
        };
+2 −8
Original line number Diff line number Diff line
@@ -79,21 +79,15 @@ examples:
          #size-cells = <0>;

          anx6345_in: port@0 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <0>;
            anx6345_in_tcon0: endpoint@0 {
            reg = <0>;
            anx6345_in_tcon0: endpoint {
              remote-endpoint = <&tcon0_out_anx6345>;
            };
          };

          anx6345_out: port@1 {
            #address-cells = <1>;
            #size-cells = <0>;
            reg = <1>;
            anx6345_out_panel: endpoint@0 {
              reg = <0>;
            anx6345_out_panel: endpoint {
              remote-endpoint = <&panel_in_edp>;
            };
          };
Loading