mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jernej Skrabec <jernej.skrabec@siol.net>
To: maxime.ripard@bootlin.com, wens@csie.org, robh+dt@kernel.org
Cc: airlied@linux.ie, mark.rutland@arm.com,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com
Subject: [PATCH v2 08/18] ARM: dts: sun8i: r40: Add mixer ids to TCON TOP
Date: Tue, 10 Jul 2018 22:35:01 +0200	[thread overview]
Message-ID: <20180710203511.18454-9-jernej.skrabec@siol.net> (raw)
In-Reply-To: <20180710203511.18454-1-jernej.skrabec@siol.net>

sun4i-drm DT binding, second paragraph of the first section says:

For all connections between components up to the TCONs in the display
pipeline, when there are multiple components of the same type at the
same depth, the local endpoint ID must be the same as the remote
component's index.

Add mixer ids in R40 DT as mandated by DT binding.

Fixes: 05a43a262d03 ("ARM: dts: sun8i: r40: Add HDMI pipeline")

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
 arch/arm/boot/dts/sun8i-r40.dtsi | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi
index 2afb079a3776..1dd088d82773 100644
--- a/arch/arm/boot/dts/sun8i-r40.dtsi
+++ b/arch/arm/boot/dts/sun8i-r40.dtsi
@@ -576,9 +576,12 @@
 				#size-cells = <0>;
 
 				tcon_top_mixer0_in: port@0 {
+					#address-cells = <1>;
+					#size-cells = <0>;
 					reg = <0>;
 
-					tcon_top_mixer0_in_mixer0: endpoint {
+					tcon_top_mixer0_in_mixer0: endpoint@0 {
+						reg = <0>;
 						remote-endpoint = <&mixer0_out_tcon_top>;
 					};
 				};
@@ -606,9 +609,12 @@
 				};
 
 				tcon_top_mixer1_in: port@2 {
+					#address-cells = <1>;
+					#size-cells = <0>;
 					reg = <2>;
 
-					tcon_top_mixer1_in_mixer1: endpoint {
+					tcon_top_mixer1_in_mixer1: endpoint@1 {
+						reg = <1>;
 						remote-endpoint = <&mixer1_out_tcon_top>;
 					};
 				};
-- 
2.18.0


  parent reply	other threads:[~2018-07-10 20:35 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-10 20:34 [PATCH v2 00/18] Allwinner R40 HDMI refactoring Jernej Skrabec
2018-07-10 20:34 ` [PATCH v2 01/18] dt-bindings: display: sun4i-drm: Add R40 display engine compatible Jernej Skrabec
2018-07-10 20:34 ` [PATCH v2 02/18] drm/sun4i: " Jernej Skrabec
2018-07-10 20:34 ` [PATCH v2 03/18] ARM: dts: sun8i: r40: Remove fallback " Jernej Skrabec
2018-07-10 20:34 ` [PATCH v2 04/18] drm/sun4i: tcon-top: Cleanup clock handling Jernej Skrabec
2018-07-10 23:20   ` kbuild test robot
2018-07-11  2:54     ` Chen-Yu Tsai
2018-07-10 20:34 ` [PATCH v2 05/18] drm/sun4i: tcon: Release node when traversing of graph Jernej Skrabec
2018-07-10 20:34 ` [PATCH v2 06/18] dt-bindings: display: sun4i-drm: Add R40 TV TCON description Jernej Skrabec
2018-07-10 20:35 ` [PATCH v2 07/18] drm/sun4i: DW HDMI: Release nodes if error happens during CRTC search Jernej Skrabec
2018-07-10 20:35 ` Jernej Skrabec [this message]
2018-07-11  2:55   ` [PATCH v2 08/18] ARM: dts: sun8i: r40: Add mixer ids to TCON TOP Chen-Yu Tsai
2018-07-10 20:35 ` [PATCH v2 09/18] drm/sun4i: mixer: Order includes alphabetically Jernej Skrabec
2018-07-11  2:56   ` Chen-Yu Tsai
2018-07-10 20:35 ` [PATCH v2 10/18] drm/sun4i: mixer: Read id from DT Jernej Skrabec
2018-07-11  3:11   ` Chen-Yu Tsai
2018-07-11  7:10     ` Jernej Škrabec
2018-07-11  7:11       ` Chen-Yu Tsai
2018-07-10 20:35 ` [PATCH v2 11/18] drm/sun4i: tcon-top: Add helpers for mux switching Jernej Skrabec
2018-07-10 20:35 ` [PATCH v2 12/18] drm/sun4i: tcon: Add another way for matching mixers with tcon Jernej Skrabec
2018-07-10 20:35 ` [PATCH v2 13/18] drm/sun4i: tcon: Add support for R40 TCON Jernej Skrabec
2018-07-10 20:35 ` [PATCH v2 14/18] ARM: dts: sun8i: r40: Remove fallback compatible for TCON TV Jernej Skrabec
2018-07-10 20:35 ` [PATCH v2 15/18] ARM: dts: sun8i: r40: Add missing TCON-TOP - TCON connections Jernej Skrabec
2018-07-10 20:35 ` [PATCH v2 16/18] ARM: dts: sun8i: r40: Disable TCONs by default Jernej Skrabec
2018-07-10 20:35 ` [PATCH v2 17/18] drm/sun4i: tcon-top: Remove mux configuration at probe time Jernej Skrabec
2018-07-11  3:15   ` Chen-Yu Tsai
2018-07-10 20:35 ` [PATCH v2 18/18] dt-bindings: display: sun4i-drm: Fix order of DW HDMI PHY compatibles Jernej Skrabec
2018-07-11  8:30 ` [PATCH v2 00/18] Allwinner R40 HDMI refactoring Maxime Ripard
2018-07-11  8:37   ` Chen-Yu Tsai
2018-07-11  8:41   ` Jernej Škrabec
2018-07-11  9:30     ` Maxime Ripard
2018-07-11  9:34       ` [linux-sunxi] " Jernej Škrabec
2018-07-11 13:36         ` Maxime Ripard
2018-07-22 14:43   ` Jernej Škrabec
2018-07-24 12:37     ` Maxime Ripard
2018-07-24 16:04       ` Icenowy Zheng
2018-07-24 17:20         ` [linux-sunxi] " Jernej Škrabec
2018-07-24 17:23           ` Icenowy Zheng
2018-08-14  5:43       ` Icenowy Zheng
2018-08-14  5:47         ` [linux-sunxi] " Chen-Yu Tsai

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=20180710203511.18454-9-jernej.skrabec@siol.net \
    --to=jernej.skrabec@siol.net \
    --cc=airlied@linux.ie \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@bootlin.com \
    --cc=robh+dt@kernel.org \
    --cc=wens@csie.org \
    /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

all inboxes | Powered by JetHome®