linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: Simon Horman <horms+renesas@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: dts: renesas: salvator: add dummy 2nd port to rcar_sound
Date: Mon, 25 Feb 2019 10:36:04 +0100	[thread overview]
Message-ID: <20190225093604.25753-1-horms+renesas@verge.net.au> (raw)

Add dummy 2nd port node to rcar_sound ports node to satisfy dtc
recommendation that #address-cells / #size-cells is only needed.

This addresses the following warning:

arch/arm64/boot/dts/renesas/salvator-common.dtsi:703.8-719.4: Warning (graph_child_address): /soc/sound@ec500000/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary
arch/arm64/boot/dts/renesas/salvator-common.dtsi:703.8-719.4: Warning (graph_child_address): /soc/sound@ec500000/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary

This change should not have any run-time effect.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

---
Build tested against renesas-devel-20190214-v5.0-rc6
---
 arch/arm64/boot/dts/renesas/salvator-common.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
index a225c2457274..20b35991bc17 100644
--- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
@@ -716,6 +716,15 @@
 				capture  = <&ssi1 &src1 &dvc1>;
 			};
 		};
+
+		/* Dummy node to be overriden by board DT
+		 * Satisfies dtc recommendation that
+		 * #address-cells / #size-cells is only needed
+		 * for graph nodes with multiple child nodes.
+		 */
+		rsnd_port1: port@1 {
+			reg = <1>;
+		};
 	};
 };
 
-- 
2.11.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2019-02-25  9:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-25  9:36 Simon Horman [this message]
2019-02-25  9:49 ` [PATCH] arm64: dts: renesas: salvator: add dummy 2nd port to rcar_sound Geert Uytterhoeven
2019-02-25  9:51   ` Geert Uytterhoeven
2019-02-26  0:28 ` Kuninori Morimoto
2019-02-26 10:08   ` Simon Horman
2019-02-27  5:00     ` Kuninori Morimoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190225093604.25753-1-horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).