From patchwork Sun Jul 20 08:48:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1376 Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08AA51E32A2 for ; Sun, 20 Jul 2025 08:51:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001477; cv=none; b=M25E5A7KJJc5/JuiVx9YXMNCZ3xtEfAzcuzoe/Q53us2Ge2PNUIZDe2Botlb+vE5wKB1HIqJ+3ci7wY6vQa+AT4fwo2dYqE3mMg1dD1HgGQ8OZncYNEAeX0UJstdA43LbwQcvpWI7WdS0RhtDXC3Ec0CcNeSruy9mP2dDVDKOQM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001477; c=relaxed/simple; bh=dOz/O+Fmr0MrO8uf6IeSnuEwB6n0QZHNUM7Aubvi7Ug=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aIR7yyFfsZjYCzSMW6WbehAU/wnRije48wFEMrZgkyPJrAd6jIMQoFUP9H37NbZmJwQXthukG6SePMfOLkYY+s2z9MrThlhRhqrh3QvTdiOjt/ZPLfWZmtSOQihFfvxcL+C80lfY6Gvl/LFjlzN7Yn6nYUSU7r/xi4eGEvXKBnA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=KwIyqXfo; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=G0rpmCGt; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="KwIyqXfo"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="G0rpmCGt" Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.stl.internal (Postfix) with ESMTP id E7E3C1D00121; Sun, 20 Jul 2025 04:51:14 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Sun, 20 Jul 2025 04:51:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001474; x= 1753087874; bh=/BGi5ucU1o2+iAEAe5eZtkdao45tn34zo5WJJl1KkNs=; b=K wIyqXfoPvyrZVS1a68agipuehvKjP9dJT+pqqP+FM3bwve61xU2PqqiSIaLQpp11 2zpkM1oOFAMhpCGIbiecOZ0sh758BG5BZrfv1oSQafYdmqwSlK1f6YHYrDcISAVF ZWe2nrQncnCSRO2fO7qqHQl4OHxrWvBeH9xDXsz4jgWCBQJZEHeitShGngNvOfO0 zUOplTIpgAXfH/HPnmnnuPeZAeL5juHIeYegBU8hNqMYFaV1OaClHHUrYi+k1KR0 Gj8BqjuNsEjZG9zaickeL6O2d+NlNKLyPGvmObsBad1IMKEhyqLE3fNSo0GPfP23 /9C2lQc8xbFSzXMxUClKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001474; x=1753087874; bh=/ BGi5ucU1o2+iAEAe5eZtkdao45tn34zo5WJJl1KkNs=; b=G0rpmCGtIxqM+R1Uj mSugcY9gDpNbp1nd8qK7ia0a5leAZcWZ8kl5j0i7Lqxd3TMj6XkVH9D9yEoGz97O XaW6IXwtj+Hes4cGQfqBhk3CuOfwNmdgvRJD0BG4wRK6vruBJe9jvs0dnm1p2sZH tVCYuzZNPckRGLu47e0olPYl0LZMS+DsqxwegtmMgxp2Mazif0sMYQ/LUAt3t6LF DoBR7EKlCi/Q/GvG+Skl9hn+LxbObjosroLNi4vEvS6kubWglfQuQWFV9khHfums FeYxymgF67qU0D6EvlPer2CKLZjqXEJfvYx7u++Th6/iaolGfljZ6L8F7RKjkKgX iZpSA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduhedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:09 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin Subject: [PATCH v2 01/12] dt-bindings: allwinner: Add TCON_TOP_LCD clock defines Date: Sun, 20 Jul 2025 20:48:39 +1200 Message-ID: <20250720085047.5340-2-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O The Allwinner H700 exposes RGB and LVDS pins as well as a HDMI connector. This requires additional clocks for the TCON_TOP as per the T507 datasheet (which shares the same die). Acked-by: Rob Herring (Arm) Signed-off-by: Ryan Walklin --- include/dt-bindings/clock/sun8i-tcon-top.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/sun8i-tcon-top.h b/include/dt-bindings/clock/sun8i-tcon-top.h index 25164d767835..2a12d047d2e1 100644 --- a/include/dt-bindings/clock/sun8i-tcon-top.h +++ b/include/dt-bindings/clock/sun8i-tcon-top.h @@ -7,5 +7,7 @@ #define CLK_TCON_TOP_TV0 0 #define CLK_TCON_TOP_TV1 1 #define CLK_TCON_TOP_DSI 2 +#define CLK_TCON_TOP_LCD0 3 +#define CLK_TCON_TOP_LCD1 4 #endif /* _DT_BINDINGS_CLOCK_SUN8I_TCON_TOP_H_ */ From patchwork Sun Jul 20 08:48:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1375 Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A10A61E51EC for ; Sun, 20 Jul 2025 08:51:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001484; cv=none; b=fmpUYLRFV9/klfB2Z8tm/gyRlFabacX2DCAnJkn2QpeXOx74tmgAY/qeuLpmyD60JaFYG0j5X0pcxaMuSWNaF92rdfNDvysrM4VUdjnkbLsKyn1JcoHziGXF+o2Mua+PQjGc6oQBjFjxG/nOLekKMtwV1Jd+7tWF/I49k7iEUts= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001484; c=relaxed/simple; bh=tooDNa1YspogcOFTMTXgTuMgtT+jql4at8socFhjjlQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=usf+f+sO0sKOCo/pTmiqnEpmTRW8x4SpxrL/v2CFH6YxYQ3l2g2AZJS6S46iM5eXv1AXKevp3roZBfS/QIq0kqJlNhcWh1EBRLEsKV5/kjr8Ud4Y/9MdKLg0av7FXePBPNS2gFwFwTRxhibRbGZs5WhK/LCGBC4K7Vm2hbWk7BY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=Krau3LBY; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=ELuXtyxe; arc=none smtp.client-ip=202.12.124.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="Krau3LBY"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="ELuXtyxe" Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id 599377A015F; Sun, 20 Jul 2025 04:51:20 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Sun, 20 Jul 2025 04:51:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001480; x= 1753087880; bh=0Udlp4ocv8KpmIVXbeOHVNYW3cA1AnHLAImNbn95Z4I=; b=K rau3LBYoueXNHUOx/gE6C7dS8wdOmCgr+85KqQVn6LPvIJjxA6qCU4/3XJuk8dAB 3pnqj2uZ9OgC2PFrEob84DG0d+/kFEfRlqZKChM9SubL0Er6DRtSsn4LPJ8+5OJU 0F89JCbgEwu4Btbe3thYH3c4mPcpQclzLlMV5yhPswthvHGHXUm4KWfI/JKR2W+Y REUSqhIUsRaTdVKT8v0QDeacA23axZWNCT3ZxoUb7JY7PhXz7e3brDqI8rGNctjW Cw8eF73zBiBMSSSijcJJ5OwK6ygDpItBOndH08tP4jDXbpg5v1atjlnc41/Frw41 Tr6lFldPDN869dMJj648A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001480; x=1753087880; bh=0 Udlp4ocv8KpmIVXbeOHVNYW3cA1AnHLAImNbn95Z4I=; b=ELuXtyxeQSEI8FrXK FiYoOlmkmviYMMxyVYERgY6H9gS1Vqhhrje7H34pANINJasEXTBaff/TuSv7TW1n ZkH60GzCyX4q78epp0sXAvIwBbWA1z3Rxtd+SGgtzJ/bgwch+wPCSwo/K57jQH+E Tr07bHJgp6qtf2wBfM7exoMA2ykmhMos095o/4cLMzmsoVf/AjU6MgZUZJsgbCQ7 kxm1xRxAw0QU5PanbJVUjsx1yM2teJAINmz5Fk6J02zOQmtIDBhw3soy+JizczCi r1nIStWNC1OmDiAWFkytK+cTIBh4A2i88922lc0tGhE6k8uZVPp4+716WkbVIA3n s4kQA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduiedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:15 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Chris Morgan , Ryan Walklin Subject: [PATCH v2 02/12] dt-bindings: allwinner: add H616 DE33 bus binding Date: Sun, 20 Jul 2025 20:48:40 +1200 Message-ID: <20250720085047.5340-3-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O From: Chris Morgan The Allwinner H616 and variants have a new display engine revision (DE33). Add a display engine bus binding for the DE33. Note that the DE33 requires 3 register blocks instead of 1. To keep things simple remove the maxItems value for registers for the child nodes and instead rely on the bindings for the child nodes such as allwinner,sun8i-a83t-de2-mixer.yaml to enforce the max values. Signed-off-by: Chris Morgan Signed-off-by: Ryan Walklin --- .../devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml b/Documentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml index 9845a187bdf6..9d9418c40b95 100644 --- a/Documentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml +++ b/Documentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml @@ -24,7 +24,9 @@ properties: oneOf: - const: allwinner,sun50i-a64-de2 - items: - - const: allwinner,sun50i-h6-de3 + - enum: + - allwinner,sun50i-h6-de3 + - allwinner,sun50i-h616-de33 - const: allwinner,sun50i-a64-de2 reg: @@ -47,9 +49,6 @@ patternProperties: "^[a-zA-Z][a-zA-Z0-9,+\\-._]{0,63}@[0-9a-fA-F]+$": type: object additionalProperties: true - properties: - reg: - maxItems: 1 required: - reg From patchwork Sun Jul 20 08:48:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1374 Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C8961E3DDE for ; Sun, 20 Jul 2025 08:51:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001488; cv=none; b=oagyIPd+lUsv/A5AfmHPRfoRpAVmmk+d2SHzRDxN9IaEfn02yIBUNjBfF/p3sfkBz2gPZGHxDELh+0DQRXr+FFH7sv4PFwpDh9VC9ABdCry63sDOjS8sK9KX49Fnr0XIdkQhVbOlXM5Wrt2Any6ZgM1+HqshO2d2k677Qxdo0Io= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001488; c=relaxed/simple; bh=QffWJeJpWpEKgP0F3ambHpU4NdSbrZ9K84p92Ru3DvY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GsFhLHOZUaGjH+EtmQ2DNRFaBUBRupT5pRl40zYCGOLw9PIvn6rJLiiFxg3iyGsQmnLksaa24JV194HgpjE4kl46acnknx911Pgn4EPXjI4IzDi8kF5ns051x3kjdu67yllAgxgTESOBUtDInDfMc22qTkvkQkVU0pF0qaLFYAw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=SV5nWdMg; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=brCWYQyL; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="SV5nWdMg"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="brCWYQyL" Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id E79461D0013D; Sun, 20 Jul 2025 04:51:25 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sun, 20 Jul 2025 04:51:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001485; x= 1753087885; bh=bhw2ewrAOF+6/14Z8vcFUEVAZhS4P7T9BPyZIX21AVU=; b=S V5nWdMg8nJ86MWTl3UfObR8Q/l2vdPIx6sN4CMQcaIeQ1WUbIS3f7Hzd0F14fqkw QQdAp146U5ntypv/YmX7pXfTfB4/0uX0YUUoOeo58PFXuZ/O0B2KslMeO/pKEdQ/ MDAz6Ig8Knrm0V9HPHZ3vBFTq9Zf/DRjcMV8ncNt/r7gklZ9/PNjALIoIJW8zYoX g6B/s8HGoN0GJc4MRyQvjZxQ7w1NNjsEKye6tXC2c5hfEgywIWuNJeN9OzXMdhDp LPYeoguvLhXriLOxqoQvO1s277PGZpzKbylSEH1+Hd23oBtIZGS4pYvwacusJ9Dk N+GyEOfrobMhmcAhp9wlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001485; x=1753087885; bh=b hw2ewrAOF+6/14Z8vcFUEVAZhS4P7T9BPyZIX21AVU=; b=brCWYQyLLvQSqWD4C BMVn2wPMiB2zWF4L5dFZ6ras5PrhXp5uF9P3GfBEQzsD/E9XIECsgHvf7fHmvC4V GnhGDvB2dvWPv9kmVGL2aj3z0oBzq2PVcYsKNVa4SJVgLgz0VMlIVzWxkfhXDPE1 C4s7JkKd9leBIfcplGGwzvu8LOx//tM/61VGtgjgoVYpUMyh4fH17GJKWgc5L8Ij /lk7XfTcnAwRYr5oosjsIXQXcz4qpP9YqLz8YLA4WwpfaeL1GJx7aYM7Cz8SUOK5 osCHr5wXncZ/YfkQSLrw/88wHWxSAlPS1gvVUkRFBUZF5pgzSZwmyQN39pSYTlzN P3rIw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduiedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:21 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin , Chris Morgan Subject: [PATCH v2 03/12] dt-bindings: display: sun4i: Add compatible strings for H616 DE Date: Sun, 20 Jul 2025 20:48:41 +1200 Message-ID: <20250720085047.5340-4-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O Add compatible strings for allwinner,sun50i-h616-display-engine. The device is functionally identical to the allwinner,sun50i-h6-display-engine. This is added as a new device rather than a fallback as all other DEs are modelled this way, and the device is essentially "virtual", with the relevant functional differences represented in the mixer and TCON components. Signed-off-by: Chris Morgan Signed-off-by: Ryan Walklin --- Changelog v1..v2: - DE compatible added for H616 --- .../bindings/display/allwinner,sun4i-a10-display-engine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml index e6088f379f70..117426862430 100644 --- a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml +++ b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml @@ -65,6 +65,7 @@ properties: - allwinner,sun20i-d1-display-engine - allwinner,sun50i-a64-display-engine - allwinner,sun50i-h6-display-engine + - allwinner,sun50i-h616-display-engine allwinner,pipelines: $ref: /schemas/types.yaml#/definitions/phandle-array From patchwork Sun Jul 20 08:48:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1373 Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E8C01DED5B for ; Sun, 20 Jul 2025 08:51:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001493; cv=none; b=up6U54NA24ls2QgCouO0t6mmnCPLk8zKdv70Gz90wUjGG6ALeRDRxtVZw68q+lwPd0IEjFNG/fKDtYYvZYeRXkPJfz2PJBZcnhoAZ3GAikGJ9vmi+leKgEv0Iae2S2TTIg0VHNVLeGsjt06WC5a/JDetUQGmlDODVEWXUVqAAvg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001493; c=relaxed/simple; bh=YRwxXk/APU6Lc92K/t2h4p4Nj/ALQ9OOSq9nF+cx1hE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JQ40LH+g+gdXhZMCWL9FQPWOn6hl6CbuL8ZU4aVHYl8BifZo2IMseH5tSrHcYLkpqMIrKOF06wINa87FBX00yqINMG74Lk+ZK/AIzbrypgeqeU3IGGmeBoWpFPhC/zCVvW4DCu3VtAZ2+rGNptC6UMmcuPCJNDrtAV3UXNBNCBk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=bSUMvM7e; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=jYr+wwFI; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="bSUMvM7e"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="jYr+wwFI" Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.stl.internal (Postfix) with ESMTP id 52AC41D00162; Sun, 20 Jul 2025 04:51:31 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Sun, 20 Jul 2025 04:51:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001491; x= 1753087891; bh=hlPZgFzf2NXFW3QntPWHKb62LQJwz9K5qw8/HEhsnjE=; b=b SUMvM7ezJwkUNXho4kCKO6iVkQUUzLVW+YmKEDOGi3QCWAKkP0S13/BBifSjBH5e ELvI1ED5LmVVJgVLu/OiVDHR5WQdn02ZrHsYdE6rmJrj6s+9Hqkl6dxnR5TBGzXJ qgGx1De2mMJeAzs8AzPgZSdZxhHNpikaF+u9XKOvgnTm53UcTN3vfzMPZtgV/Yph IC7pqPGuEXgFP7q3rr8WpRBJ82ffItsLyudIswgsc+YGymduh4ho49WtQwUSX2ro EZub8WBQfCa1WrN2eHPce+HWOgWk1CMGQY5hDk+4x8Ou1keeGkp9HDXSC4HCP0YT UDFPo9bm8wEzwwTCbVPvw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001491; x=1753087891; bh=h lPZgFzf2NXFW3QntPWHKb62LQJwz9K5qw8/HEhsnjE=; b=jYr+wwFIsMwHfbwD9 LZeNcnX9CrRmX5F22n95m+qzVCHH0VpLp7gfQyjIkSKuvO6/q1qwe8XfSf9CGP1C CAjHbL3slffMwaDW19FHulZr0Eo0XToiAL4Pd+zGIZYT5XFKYybVUg6pxHNquDqm AZUv+qrgsc3fxkbWjYwq+kqsO2i7eU+yDcUKOUkeKUmGsrW0x8cJzIPdjt6XyTZy O7BD5h7aW1quCpug/W3ZaRxaU1t6fnHtFLgGF85hhyTMBPq2qe+9YJK+cV4WqM20 gVPDqJ8WwYpedgd/H78oNS0yBWvlY6SMaC3dnnWdEaxhgd6mQtW/6vBSEQ3KA0sW bAyig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduiedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:26 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin , Chris Morgan Subject: [PATCH v2 04/12] dt-bindings: display: sun4i: Add compatible strings for H616 TCON TOP Date: Sun, 20 Jul 2025 20:48:42 +1200 Message-ID: <20250720085047.5340-5-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O Add compatible string for allwinner,sun50i-h616-tcon-top with a fallback string of allwinner,sun50i-h6-tcon-top. Signed-off-by: Chris Morgan Signed-off-by: Ryan Walklin --- Changelog v1..v2: - Add H616 TCON TOP compatible. --- .../display/allwinner,sun8i-r40-tcon-top.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml b/Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml index 7d849c4095a3..80f1e49f5b7a 100644 --- a/Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml +++ b/Documentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml @@ -39,10 +39,15 @@ properties: const: 1 compatible: - enum: - - allwinner,sun8i-r40-tcon-top - - allwinner,sun20i-d1-tcon-top - - allwinner,sun50i-h6-tcon-top + oneOf: + - enum: + - allwinner,sun8i-r40-tcon-top + - allwinner,sun20i-d1-tcon-top + - allwinner,sun50i-h6-tcon-top + - items: + - enum: + - allwinner,sun50i-h616-tcon-top + - const: allwinner,sun50i-h6-tcon-top reg: maxItems: 1 From patchwork Sun Jul 20 08:48:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1372 Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEE3B1CBA18 for ; Sun, 20 Jul 2025 08:51:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001501; cv=none; b=lRPGvQxlYZQBrUYo2hetv3qGzgSSpQOs43QtI8jmFs7asBs5zgeNy0EnPrHuZKu7v2QlyI5wSWCIVP271BcWPOV+EVyOLeuWUX7zcnWtJjxn1U14Bt9misnpMaCgDDptFD1BJvcS0XrH9IZCeEWWY197R3E8RjBRVzOqggWEMzY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001501; c=relaxed/simple; bh=dwJPa//kFR2qG4ZSJ6s80+UFuzuVM0exz06JgE8J3d8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NkupVt/2GXAYphATXz2qC3DE9O+QdMmIHqQ4QzdWXZtW0z9p4PIuORbYcOHIEXLIU4hIeBo9TPwQNpvwvuXcrXew7ywN91MQZDWH4MZq5F9SFnGaMXUGmA1fcCvcM4D+HW6L4xzwgrCe0BjSezmZSilAta3AHl57OAqx97m+KAA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=DKcVtLZw; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=LaQxgFrn; arc=none smtp.client-ip=202.12.124.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="DKcVtLZw"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="LaQxgFrn" Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.stl.internal (Postfix) with ESMTP id BC6497A0155; Sun, 20 Jul 2025 04:51:36 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sun, 20 Jul 2025 04:51:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001496; x= 1753087896; bh=/Vp7asQjGLFN1k77Eje991mjyh5OgOzy06SwurP1djg=; b=D KcVtLZw4a/C0BIep7/Q7rEpuyU50ajrLgBha9kXXpq8wR3teFWx1cQVrPTSxVlfp MnjN+d3Is9FB5gSKTePj6tm/5GDW3p5NkP3VlA+YLWd6VZkWQs6BTkemrGJr0ujL 6BMYJc/YKNu9m18s8kudRSWud2kOBGFCDJdG+R3kApjJP/5GQXH6UkXmleAV3BBQ xKOqWGzDX0ycHlqIC4hRW0z5pAsqygWGh97Fwclsguqw69F4Lgw9S+aB7jf2FgyR wmjeqKlg4fyF9J8rCWLJytzm2wp9w8Qm02zfdezfik1PBb4Jz++4ajf5ZZXTalp7 dhfGqRZM836j0920McvMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001496; x=1753087896; bh=/ Vp7asQjGLFN1k77Eje991mjyh5OgOzy06SwurP1djg=; b=LaQxgFrnYiQ7dQjRR 7Ho+UNwvGnxmTvKw9mgK8vxGvjuOXyga6mv3RlgPQYtrb6BEVsM/HEkhzBTwd2LE HTGEOUa4mKOF90TAHdnM3y6dXMLNke5tfGqxLVM0OLpvyarrbWQdb9qj3YeEgJer ZxfQeqglEvOZpJYtkk8ttUp/w8C7nr1PZqH1jUJLsre74ck9KDngAIv0o6YtAgum 9Y+mrnhg2YIYwh4Ct+1fw1fk8MeSKwNekDi9iHECmcWdlirDHS+6h93+i7PSi2wP Domm0DwTGcZtjJ9BWOQTPnRMM3plBFlt0nizIwl4N8cyL21hDbN3yIKsl6QK+8VV nB48g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduiedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:32 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin , Chris Morgan Subject: [PATCH v2 05/12] dt-bindings: display: sun4i: add allwinner R40 and H616 tcon compatible strings Date: Sun, 20 Jul 2025 20:48:43 +1200 Message-ID: <20250720085047.5340-6-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O Add compatible strings for the Allwinner R40 and H616 LCD timing controller. The H616 LCD timing controller is compatible with the R40's, so is added with a fallback to the R40. Signed-off-by: Chris Morgan Signed-off-by: Ryan Walklin --- Changelog v1..v2: - Add additional H616 strings --- .../bindings/display/allwinner,sun4i-a10-tcon.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml index 724d93b9193b..f9fc0d87ce0d 100644 --- a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml +++ b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml @@ -29,6 +29,7 @@ properties: - const: allwinner,sun8i-a33-tcon - const: allwinner,sun8i-a83t-tcon-lcd - const: allwinner,sun8i-a83t-tcon-tv + - const: allwinner,sun8i-r40-tcon-lcd - const: allwinner,sun8i-r40-tcon-tv - const: allwinner,sun8i-v3s-tcon - const: allwinner,sun9i-a80-tcon-lcd @@ -47,6 +48,11 @@ properties: - allwinner,sun50i-a64-tcon-lcd - const: allwinner,sun8i-a83t-tcon-lcd + - items: + - enum: + - allwinner,sun50i-h616-tcon-lcd + - const: allwinner,sun8i-r40-tcon-lcd + - items: - enum: - allwinner,sun8i-h3-tcon-tv @@ -56,6 +62,7 @@ properties: - items: - enum: - allwinner,sun50i-h6-tcon-tv + - allwinner,sun50i-h616-tcon-tv - const: allwinner,sun8i-r40-tcon-tv reg: @@ -231,6 +238,7 @@ allOf: contains: enum: - allwinner,sun8i-a83t-tcon-lcd + - allwinner,sun8i-r40-tcon-lcd - allwinner,sun8i-v3s-tcon - allwinner,sun9i-a80-tcon-lcd - allwinner,sun20i-d1-tcon-lcd @@ -280,6 +288,7 @@ allOf: - allwinner,sun9i-a80-tcon-lcd - allwinner,sun4i-a10-tcon - allwinner,sun8i-a83t-tcon-lcd + - allwinner,sun8i-r40-tcon-lcd - allwinner,sun20i-d1-tcon-lcd then: @@ -297,6 +306,7 @@ allOf: - allwinner,sun8i-a23-tcon - allwinner,sun8i-a33-tcon - allwinner,sun8i-a83t-tcon-lcd + - allwinner,sun8i-r40-tcon-lcd - allwinner,sun20i-d1-tcon-lcd then: From patchwork Sun Jul 20 08:48:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1371 Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1D741E520C for ; Sun, 20 Jul 2025 08:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001505; cv=none; b=dFHBqEYf97k24zLQ8Mx5xVD+4eahnjXiMDuW6+sRbHw8BsvcSGQEFvwqKGB7EkzaK8n+5/tPv5bW3AoDaJJ/AhwgH1TQyFn4n6UpqPFFEcuPY1orDzZnpeGAq2dGy2Km2KR6wBgDaweEeBukaao2AGqRW0FgpQCI0C0AqCDbMGo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001505; c=relaxed/simple; bh=vf7kN02f///f0pqCMYvRRbiHlk0+mcZyGJp+0Ta7Isg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AJo5gqIbkznc9mYsdGtGs9HpegLMFn1I1SZs9gP+fSqM6FFIf4kz/47g4Fa+uZVln6+m8EjuVdU8OCaF9jvSN98rlC+eS6MXgN+Y+PR+G0t163wB84FynKNvWMZNSoMAETwbrj/aBbPzF0iA41RiwluMhQiAsY6gv6mSofLIWXA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=Wvz/1Dq1; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=hc9as94Z; arc=none smtp.client-ip=202.12.124.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="Wvz/1Dq1"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="hc9as94Z" Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfhigh.stl.internal (Postfix) with ESMTP id 652957A017F; Sun, 20 Jul 2025 04:51:42 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Sun, 20 Jul 2025 04:51:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001502; x= 1753087902; bh=Sj4XyUDt2nSA8SS+HepEZMb7jMhPBqpqhfbPXTN4g9U=; b=W vz/1Dq1VcG7cG+3BVGO0RxJqORb8keK1aLSyz0r4Yl3Z38qXkz8vHrCmx3oEFASr +zQRzsiQFMjFH7GK+7p+I4+055gccsgnQvGmfQOcygY3VbUfdiECk2mSefQW1rhV EWn4QQHuU7xddAw7ZxCqc0AvaeFFNpO7m2MIYqLdc3h1kbJCAmVZ19weMd5wlmZZ Krck5wAMM4nH8j+8tCjajDDLoPpbG18h7ZwM3Sysiso+Nj+i3sK/7kbWrKW/sZ4Z GhnhV17qUNY0rPse/dlRKDiodWVreE17fuiJL3lstRW4aGxtg3zUS/iWFPLh+BTU FX3eiohv5+oOycEd+IODw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001502; x=1753087902; bh=S j4XyUDt2nSA8SS+HepEZMb7jMhPBqpqhfbPXTN4g9U=; b=hc9as94Z9DJgmUPZh gXqGzQq9CEi1vURn6VHfiXgpQysoxrfaljyAWodFKMegB3tzKCkUrRRhCHfVjtfI pvQcUh0quwy7z0xmp4t1bbIKTz5AHQreU7Txxy3GN+6jW7wLsRXA7mQrOVcf7iHj 0ZGseTQiXW/M28l11Bf0gi5Bm1SNu+KEKifVwkS5nVggIlrx3ZqWv+AaFgJmeK1L E9Ubq0P54bEjy2YOcuXCERwZW/A65YiL13FDViuayqZLofL2jQjSRGGs0uHIPne3 FxOqSCbCR+QcPXFWQGP0F05t089O+yI7BCyTqQFEYJUrCNkBtj8xDE3hVbqqMYc8 tJplg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduiedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:37 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin , Chris Morgan Subject: [PATCH v2 06/12] dt-bindings: sram: sunxi-sram: Add H616 SRAM C compatible Date: Sun, 20 Jul 2025 20:48:44 +1200 Message-ID: <20250720085047.5340-7-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O Add a compatible string for the H616 SRAM C region which is functionally similar to the A64 SRAM C region. Signed-off-by: Chris Morgan Signed-off-by: Ryan Walklin --- Changelog v1..v2: Add H616 fallback string --- .../bindings/sram/allwinner,sun4i-a10-system-control.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml index e7f7cf72719e..cdb664d1ec41 100644 --- a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml +++ b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml @@ -103,7 +103,9 @@ patternProperties: - allwinner,sun7i-a20-sram-d - const: allwinner,sun4i-a10-sram-d - items: - - const: allwinner,sun50i-h6-sram-c + - enum: + - allwinner,sun50i-h6-sram-c + - allwinner,sun50i-h616-sram-c - const: allwinner,sun50i-a64-sram-c required: From patchwork Sun Jul 20 08:48:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1370 Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFE381E1A33 for ; Sun, 20 Jul 2025 08:51:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001510; cv=none; b=dd0M5FPzM0orkLRpCzDsjxWwbBgDxLlJVRhhEsWLkKwY7k0g5YBVsJDsdpgNKsVcxjwRqhc1Gfaowfvb418sKtMts4f0lKEX4PVH4pWfzYzoHzdFucPPxncibuIp6tF4CPHr1Q9ESWNGghuWPLlDeDYFP4yYhH8YbXo47RTlt8k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001510; c=relaxed/simple; bh=2XpkOqRy1ZIw2gGlRiZgt+p++mGjR2YnFR1n1L2L03U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=c94fIh/vLZWtyEQoR3jFVdJxi3ofgD6v6u60KIz25BWVdErFxKPEqOZ3IUeRyxhHzbuekMTQQhvwPttN0pXIoFJ68yPJsVvqk1tXw+4Cbhodntf6IPtZfvZooOyIcB2tCzqsto8a+9uAPfviLI9DAdic/Tm2HRJZCF2++I20uC8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=V6rg/aCC; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=O8oTcGxf; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="V6rg/aCC"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="O8oTcGxf" Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.stl.internal (Postfix) with ESMTP id B821E1D000CB; Sun, 20 Jul 2025 04:51:47 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Sun, 20 Jul 2025 04:51:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001507; x= 1753087907; bh=Sw64r7poXvIfYawSguph+VETTE+tXoISSyPPgWJCMM4=; b=V 6rg/aCCvZoYnVTtjAn3tMa1qL/1ZAQI5COqC5/ocrd1hUPFfDAJ06ALk7pp3qyS+ riFv9wevHMMbwSGJmlCRnmdJ94RXYQibwliv/LicCAiUjYHY2MXyvAB0vt8P3kl6 T9AuQIAoNow+dK0X4yRT/ApffXdVRbHhZR/neZu9bJZNyx9cUaL3hMG4n8f4jQNh hf7w2rLQ7px2j6ELwGncHHSDA4zEqhQIkcOgHJQ4TUdVOWeT69nnpnTCxjAc8sEt tmzBBsAzgXyJhCzUN3LujRF26r9bWzIxNOquf3qRUam6uVBteSSF7ijzz1B5lL7D sAjsd85tpVEx2XMjDkhlg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001507; x=1753087907; bh=S w64r7poXvIfYawSguph+VETTE+tXoISSyPPgWJCMM4=; b=O8oTcGxfAIX0I3b7P WVfd8Ozb/tQgt6MldmCeW70ciL3CzVS2/4FbQqKwiYMANlnWYVAzX4XDRs7v0vfU B3dXlXcE9aW0xqH+CkLiN1BiSurufKMmmIyEsywdKdOyfmp5JgNmpqAmP01IOdVA SRhi8Y5LT8PXzUySJK6oQHoZsS3TkL5KslTcr/pFJ2FwkV2ruUtW+ZkED7WzkP7a PZBUtI028M1O0CXqiW8PR/Qv1+Jiswts+praZ84fCW9UDQi38WV7KUrkUAsD52GO ANr69U3a757v7yiapauYkeTCCPx/fB6lLQaG0t6wBAZTnxku/t3YjIYCOYRu9Odi TmusQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduhedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:43 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin Subject: [PATCH v2 07/12] drm/sun4i: tcon: add support for R40 Date: Sun, 20 Jul 2025 20:48:45 +1200 Message-ID: <20250720085047.5340-8-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O From: Jernej Skrabec The Allwinner H616 and related SOCs have an LCD timing controller (TCON) which is compatible with the R40 SOC's controller and existing sun4i driver. The H616 does not expose this controller but the H700 and T507 (based on the same die) do. The controller supports LVDS and RGB output. Add quirks and compatible string to cover these SOCs. Signed-off-by: Jernej Skrabec Signed-off-by: Ryan Walklin --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_tcon.c b/drivers/gpu/drm/sun4i/sun4i_tcon.c index 960e83c8291d..8cc8488483ec 100644 --- a/drivers/gpu/drm/sun4i/sun4i_tcon.c +++ b/drivers/gpu/drm/sun4i/sun4i_tcon.c @@ -1514,6 +1514,14 @@ static const struct sun4i_tcon_quirks sun8i_a83t_tv_quirks = { .has_channel_1 = true, }; +static const struct sun4i_tcon_quirks sun8i_r40_lcd_quirks = { + .supports_lvds = true, + .has_channel_0 = true, + .set_mux = sun8i_r40_tcon_tv_set_mux, + .dclk_min_div = 1, + .setup_lvds_phy = sun6i_tcon_setup_lvds_phy, +}; + static const struct sun4i_tcon_quirks sun8i_r40_tv_quirks = { .has_channel_1 = true, .polarity_in_ch0 = true, @@ -1555,6 +1563,7 @@ const struct of_device_id sun4i_tcon_of_table[] = { { .compatible = "allwinner,sun8i-a33-tcon", .data = &sun8i_a33_quirks }, { .compatible = "allwinner,sun8i-a83t-tcon-lcd", .data = &sun8i_a83t_lcd_quirks }, { .compatible = "allwinner,sun8i-a83t-tcon-tv", .data = &sun8i_a83t_tv_quirks }, + { .compatible = "allwinner,sun8i-r40-tcon-lcd", .data = &sun8i_r40_lcd_quirks }, { .compatible = "allwinner,sun8i-r40-tcon-tv", .data = &sun8i_r40_tv_quirks }, { .compatible = "allwinner,sun8i-v3s-tcon", .data = &sun8i_v3s_quirks }, { .compatible = "allwinner,sun9i-a80-tcon-lcd", .data = &sun9i_a80_tcon_lcd_quirks }, From patchwork Sun Jul 20 08:48:46 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1369 Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA0DF1E3DDE for ; Sun, 20 Jul 2025 08:51:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001515; cv=none; b=gotGxCds4kWr99cor8rnXpFjovYF2optQA+kwXaIYNyPnss6QTgTiG9DMtHI0rneAvLb0YGfaJ6xT9TaXjKxnYyCAz2nfCfgVwmSXU+cKz4OMH1/Cd/N5S+5ClHOYmxQUBV29wmJWqHLXO4HiQqDmjHE4nppgtEMr3t/1ONTZUg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001515; c=relaxed/simple; bh=X7HdiFqZSbCTCA2cfFIqWtiB9x/i5sCCQ8BFtqvnybI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hSV/3FiN63P418ZqrQlzE0Ajakwts9jm4WdbfV9v+y+4cQyuvAaioTq1IZDtgj+J29jsegb/KI0TE5XqBeLihJ8C37TvlTmAYral/zSasX5vPse3H0UOFeNvNTER+wp+deYaFolukY8Ddurg8tMkYYXmmQ2Jbd7VvP/vRPcK32w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=aC+IlIDj; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=N7iOZeN+; arc=none smtp.client-ip=202.12.124.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="aC+IlIDj"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="N7iOZeN+" Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 075747A0186; Sun, 20 Jul 2025 04:51:53 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sun, 20 Jul 2025 04:51:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001512; x= 1753087912; bh=UNP7aLlH5boXxQzG+t+OENng1ZS04P2rudXCohGPD5s=; b=a C+IlIDjGS6uS/efVwEXWOliogCBtxwf9T34p+VQ7kS7P+ci3EySItpeQz8YqNCch Q7nZe4iR4nkDfUrcFY4mn26wJylULYLhkS03lqR1Tg0c1GtQE3wAPHlGvv79S+fu ORw5y2OfCi9Q1hEpJaLTxxDE1dFh7AKoHpjYx6xKLyN6eTij0qrDb+hSwzuuQGXd /kCD281Sekow71xwoRbFFOfE75D0BI1mUjO5VlrYS5/XAWjc4t/QrILVxhsxzVOI nYzjsEZqs+UY4kHQezoewGMeWcIyQCGONmExgA3frF+JTi0HDaw6xVlLwqTfzLn5 VWR1gicziIy/c7//2wTxQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001512; x=1753087912; bh=U NP7aLlH5boXxQzG+t+OENng1ZS04P2rudXCohGPD5s=; b=N7iOZeN+lYhZZ1zHX +aazxinbHGhqBA6t6g6/4SXdqLlOXW1/mwSx0/LfdOwgn/sQlQII7ymuOkQNheI6 Y9rc+0daHoyNlDe6BUfiB4QXDPEAUGSHlAd0tVP4r8bfsZBQ7ku258zfQyDX2Rp8 G2muBssyQXhpPrbzA1G0pUC+37rJBgI/G8Szs0FtlAa11TY0trsTB5ToaDzrbUmW 4OF4DYXxdrmnW6wCc4c5omrWS2cnFvE1loPJ+E0+J1nHQ3KDOf26CNlqtQDHrOmP o1g1/5hfGnlyDzI1kWtEGecPpVKnHd2OGt+MezEtGXfpxZMTiTWFfQZMCDD5SjoQ xKv5A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepheegudffieevieduudefleffueetieeiudelhfetveeggfffheehueduffevjedv necuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehrhigrnhesthgvshhtthhorghsthdrtghomhdp nhgspghrtghpthhtohepudehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehroh gshheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepkhhriihkodgutheskhgvrhhnvghl rdhorhhgpdhrtghpthhtoheptghonhhorhdoughtsehkvghrnhgvlhdrohhrghdprhgtph htthhopeifvghnshestghsihgvrdhorhhgpdhrtghpthhtohepjhgvrhhnvghjrdhskhhr rggsvggtsehgmhgrihhlrdgtohhmpdhrtghpthhtohepshgrmhhuvghlsehshhholhhlrg hnugdrohhrghdprhgtphhtthhopegrnhgurhgvrdhprhiihiifrghrrgesrghrmhdrtgho mhdprhgtphhtthhopehmrggtrhhorghlphhhrgekvdesghhmrghilhdrtghomhdprhgtph htthhopehkihhkuhgthhgrnhelkeesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:48 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin Subject: [PATCH v2 08/12] drm: sun4i: add compatible for h616 display engine Date: Sun, 20 Jul 2025 20:48:46 +1200 Message-ID: <20250720085047.5340-9-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O As discussed on list in the previous version of this patch [1], H616 DE compatible could be added using the H6 as a fallback, however all other SoCs have individual compatibles, so add the H616 here for consistency. Add a compatible for the H616 display engine. Signed-off-by: Ryan Walklin [1] https://lore.kernel.org/linux-sunxi/20250224180025.4eb33c3f@donnerap.manchester.arm.com --- Changelog v1..v2: - Add a compatible for the H616 display engine --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index c11dfb2739fa..6986b329236c 100644 --- a/drivers/gpu/drm/sun4i/sun4i_drv.c +++ b/drivers/gpu/drm/sun4i/sun4i_drv.c @@ -436,6 +436,7 @@ static const struct of_device_id sun4i_drv_of_table[] = { { .compatible = "allwinner,sun20i-d1-display-engine" }, { .compatible = "allwinner,sun50i-a64-display-engine" }, { .compatible = "allwinner,sun50i-h6-display-engine" }, + { .compatible = "allwinner,sun50i-h616-display-engine" }, { } }; MODULE_DEVICE_TABLE(of, sun4i_drv_of_table); From patchwork Sun Jul 20 08:48:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1368 Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34D861E3DDE for ; Sun, 20 Jul 2025 08:51:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001520; cv=none; b=nCGKkkOWokx0tDAswm2e0422JMAuhXToZjlobKoF0JF1u2EmbX2wbhLdhEOCbz1DiTRJg3uMJ5J8rn4JnsaSY8Oye67M8uulhL0v9XKOJ7iM5SzV/B3BkHDJ8b9WyVquM+uCERCRv4S+iSxQojxkzSTmTpIIrTiloB4N6CEGHMo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001520; c=relaxed/simple; bh=wdJ87J72GZrcq34lLAyfXBr/0+0arvE1pNcz++i2lDk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tlmkPF2zzBoWNNQqHEa/6HndR86WVInCAFcA24Iv4P815ITG+NMzHVLHBktklSHmEUjHnC52OdnqAgEloyKbZbcuJdFjAszQzBLqGjp11e/QPemJg9Ij5iuk4SaCX+K0I24FA3hT76UUyrI4fbhetVaXSn1c59aWRfYvfbWhAdY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=Yw7rfEXX; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=C/WQIsFr; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="Yw7rfEXX"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="C/WQIsFr" Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.stl.internal (Postfix) with ESMTP id 2679B1D00167; Sun, 20 Jul 2025 04:51:58 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Sun, 20 Jul 2025 04:51:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001518; x= 1753087918; bh=MDm/inKToRcZI4lPjYrALTs7MKQ8nA7DAiyKGXgO4rs=; b=Y w7rfEXXra7bC0rkIKCBLhw+IAwy2w1qx3sug8zetYKXoVQ4bzIE2TJ0TRkpc+TTJ ugpaOz2+JQN9QQriAobkmO4QvgTtP+T8n6T6izuXIaOA22Oa2cqAsbWMIL+RkueY 04CusWSiyKtgIc8WuyOIRLX1aa3ZtHr1cdE63NJnQTEmey3ujL9qR8SPLGCqVVbK Z+IjSOKAiHkQH3wyTJOq8/Xnnl/jNfXE04zyw5XTlJwQf7iQZ9/Zjzm+Xa3zUJjF IJ5uWNYn8CXh9BF5T0F9DXTDV4K2qRUIOx8mCKzkI0Y/r2fAjmlf0g5WtC03/+1a eksKaTIVLXjyrDao4kQhA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001518; x=1753087918; bh=M Dm/inKToRcZI4lPjYrALTs7MKQ8nA7DAiyKGXgO4rs=; b=C/WQIsFrckGSMBGEq CuiIHiPjeOyR3f5W0Zx+U8wQmTGca1f0RuwVReEwSqBtH1fw03SgpRu+/XJ3d+my 3HexOyWi3JKBL9SU8kgb77SDfsK5tHY/TZFfcutS3b9JdXDizkBH9cGQLpnRHjsy uvM0iZwwWl3/K2DDwP552fOi/DT+Ui2nKgDM2Mn8O6BEQKe8tCMiaaKFMUIapGDb LC7t6VIWZXt0pio7mbaLw7SY5L/TpZ9ybF7hmgn48M8476TLnLF+6xHZkPg6l3PM v783+frK1jPxNwQFkueqmh4riSlJNWqD/R8BgNx0lP/jKOq24tZFa21bBQ5mzXE0 oJViA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepheegudffieevieduudefleffueetieeiudelhfetveeggfffheehueduffevjedv necuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehrhigrnhesthgvshhtthhorghsthdrtghomhdp nhgspghrtghpthhtohepudehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehroh gshheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepkhhriihkodgutheskhgvrhhnvghl rdhorhhgpdhrtghpthhtoheptghonhhorhdoughtsehkvghrnhgvlhdrohhrghdprhgtph htthhopeifvghnshestghsihgvrdhorhhgpdhrtghpthhtohepjhgvrhhnvghjrdhskhhr rggsvggtsehgmhgrihhlrdgtohhmpdhrtghpthhtohepshgrmhhuvghlsehshhholhhlrg hnugdrohhrghdprhgtphhtthhopegrnhgurhgvrdhprhiihiifrghrrgesrghrmhdrtgho mhdprhgtphhtthhopehmrggtrhhorghlphhhrgekvdesghhmrghilhdrtghomhdprhgtph htthhopehkihhkuhgthhgrnhelkeesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:53 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin Subject: [PATCH v2 09/12] arm64: dts: allwinner: h616: add display engine, bus and mixer nodes Date: Sun, 20 Jul 2025 20:48:47 +1200 Message-ID: <20250720085047.5340-10-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O The Allwinner H616 and variants (H618, H700 and T507) have a new display engine variant (DE33). Support has been added to the existing DE2/DE3 sun4i driver in a previous patch series [1]. The variant is selected via the appropriate mixer device tree compatible string. Add the respective device-tree nodes for the DE, bus, clock and mixer to the H616 DTSI, and the matching SRAM section for the DE. Signed-off-by: Jernej Skrabec Signed-off-by: Ryan Walklin [1] https://lore.kernel.org/linux-sunxi/20250528092431.28825-1-ryan@testtoast.com --- Changelog v1..v2: - Use A64 fallback for bus driver rather than add additional compatible in driver, enum added to dt-binding in previous patch. - amend order of display clocks (bus/mod) to match dt binding. - add mixer register names. - removed IOMMU binding due to late binding warning likely reflecting sunxi IOMMU driver bug. This is not required for RGB LCD output. - use H616 compatibles - Update SRAM name to DE33 --- .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index ceedae9e399b..7347332f54a7 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -94,6 +94,12 @@ l2_cache: l2-cache { }; }; + de: display-engine { + compatible = "allwinner,sun50i-h616-display-engine"; + allwinner,pipelines = <&mixer0>; + status = "disabled"; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -150,6 +156,52 @@ soc { #size-cells = <1>; ranges = <0x0 0x0 0x0 0x40000000>; + bus: bus@1000000 { + compatible = "allwinner,sun50i-h616-de33", + "allwinner,sun50i-a64-de2"; + reg = <0x1000000 0x400000>; + allwinner,sram = <&de33_sram 1>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x1000000 0x400000>; + + display_clocks: clock@8000 { + compatible = "allwinner,sun50i-h616-de33-clk"; + reg = <0x8000 0x100>; + clocks = <&ccu CLK_BUS_DE>, + <&ccu CLK_DE>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_DE>; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + mixer0: mixer@100000 { + compatible = "allwinner,sun50i-h616-de33-mixer-0"; + reg = <0x100000 0x100000>, + <0x8100 0x40>, + <0x280000 0x20000>; + reg-names = "layers", "top", "display"; + clocks = <&display_clocks CLK_BUS_MIXER0>, + <&display_clocks CLK_MIXER0>; + clock-names = "bus", "mod"; + resets = <&display_clocks RST_MIXER0>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + mixer0_out: port@1 { + reg = <1>; + + mixer0_out_tcon_top: endpoint { + remote-endpoint = <&tcon_top_mixer0_in_mixer0>; + }; + }; + }; + }; + }; + gpu: gpu@1800000 { compatible = "allwinner,sun50i-h616-mali", "arm,mali-bifrost"; @@ -188,6 +240,12 @@ sram_c: sram@28000 { #address-cells = <1>; #size-cells = <1>; ranges = <0 0x00028000 0x30000>; + + de33_sram: sram-section@0 { + compatible = "sun50i-h616-sram-c", + "allwinner,sun50i-a64-sram-c"; + reg = <0x0000 0x1e000>; + }; }; }; From patchwork Sun Jul 20 08:48:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1367 Received: from fhigh-b8-smtp.messagingengine.com (fhigh-b8-smtp.messagingengine.com [202.12.124.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 991391E520C for ; Sun, 20 Jul 2025 08:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.159 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001526; cv=none; b=i3jpUvhkqEcg6nwFKylP4vurHoTCDh2HOSoTAdzfEhX/O5KZeiIdyW0BWy+1OE/BHgEEhMhRojmIwpVC58sVHFj177xY6GiyoMVGVSRpko0NLD06reky+cV3t7ZbPGGAowXvLd5xSXapYAarSbVVP92fadzVapCl7XiKYB/Ubm0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001526; c=relaxed/simple; bh=ftMiuHenZvJm/A/698uTquoOS4HhX699wfJMt78k9kw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=S1+760CIN1QkmQH1izBjBgHSEB503zR14H/sezVe5o/YTF9Yej95Mz98JOdjrLulrz80ZIZm5qwp4yDyxSydmX4osOS//CqkqZUMMkAiGhXmadDhQbzT6TqQyliQAeZ2trjf/d0xz4iFMboDaKCDXzH1/htPrFBaV2B0Qfhfnx0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=inTep5QD; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=mw3Y3eyI; arc=none smtp.client-ip=202.12.124.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="inTep5QD"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="mw3Y3eyI" Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 707857A0189; Sun, 20 Jul 2025 04:52:03 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sun, 20 Jul 2025 04:52:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001523; x= 1753087923; bh=V8jVCNBeo/+6f3Mo8OE9T6Hkz0Ib2C8UypT57jXFp3E=; b=i nTep5QD3SOrLVtWUx/yStr90f+zFyJTIqgfv7SJlewJ11ST5hCphpLKBqzZE6hck 1iNV2CCIu55nJccFp59JHPe9Kd2K/tP9tsZX6ojIPS4OcOkLklkHXYGo38PWRZwu 94bLetnGY2r3z9IS28v7oG6n8YyRDvjsVSr7carlXhThLEuPk2ZtBCWC3UhpPt1U +fDvRHB+kq1LWc5YpnGwYIfHdS8Ko5JO3Jn7lVqmwejPPp0tsi767G0HM6gKZf2Z NDJojk++91tC0UHAKgULHMae0aUhZaop6AqH9BArdtLOAFk9DljUviiFzNNUws5j Bmc+X0csQ6p3oS0hGpJhg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001523; x=1753087923; bh=V 8jVCNBeo/+6f3Mo8OE9T6Hkz0Ib2C8UypT57jXFp3E=; b=mw3Y3eyIpZl1ypRFT Oasg3AzEuEja397h9R8hix+h+C0a7szyYB4SaEzBuemF85zmA5JC/IP26M9v37MN E3fmfNgHhVZZPIBB9Ut/lqTkQLGCu6B1NzTYu1OwmoJahx+8hcq1vDqOksnxMxF+ M8vdXeX2RQvYwcHNA0WlPIwYK85/Q9yY6wmcgMrCnnJzvWVlFWOa/l8fePEPsyIX rSh8IlyVboMHmrITDvUYM/JJ7RJIctU2PW93DZdjWfOll/jI69Agl1hL8NDd0ZBY C74mzOas8LN3wP7U9QssWyxPNnB0MMrNwmSreF3BT+/Vkjgowb9+mGOdxB8r2hlX gekEg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduiedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:51:58 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin , Chris Morgan Subject: [PATCH v2 10/12] arm64: dts: allwinner: h616: Add LCD timing controller nodes Date: Sun, 20 Jul 2025 20:48:48 +1200 Message-ID: <20250720085047.5340-11-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O The Allwinner H616 has a display pipeline similar to other Allwinner devices, specifically the A10, but using a newer display engine revision (DE33). Not all output pins are exposed on all package variants, for example only the H700 and T507 have LCD pins exposed, but all variants support HDMI output. On the die these are connected to a display engine via a TCON TOP and one or more timing controllers (TCONs). Add TCON nodes for the TOP, and the LCD and TV timing controllers. The timing controllers are compatible with the existing R40 driver. HDMI output support is not provided in this series so for now note this within the relevant node to prevent a DT compiler error. Signed-off-by: Jernej Skrabec Signed-off-by: Chris Morgan Signed-off-by: Ryan Walklin --- Changelog v1..v2: - Add correct register, address and size cell, and endpoint definitions - Add stub tcon_lcd0_out_lcd endpoint so that device DTs only need to provide remote endpoint. --- .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 141 ++++++++++++++++++ 1 file changed, 141 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index 7347332f54a7..e4209dc6b46b 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -7,9 +7,12 @@ #include #include #include +#include +#include #include #include #include +#include / { interrupt-parent = <&gic>; @@ -926,6 +929,144 @@ ohci3: usb@5311400 { status = "disabled"; }; + tcon_top: tcon-top@6510000 { + compatible = "allwinner,sun50i-h6-tcon-top"; + reg = <0x06510000 0x1000>; + clocks = <&ccu CLK_BUS_TCON_TOP>, + <&ccu CLK_TCON_TV0>; + clock-names = "bus", "tcon-tv0"; + clock-output-names = "tcon-top-tv0"; + #clock-cells = <1>; + resets = <&ccu RST_BUS_TCON_TOP>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + tcon_top_mixer0_in: port@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + tcon_top_mixer0_in_mixer0: endpoint@0 { + reg = <0>; + remote-endpoint = <&mixer0_out_tcon_top>; + }; + }; + + tcon_top_mixer0_out: port@1 { + #address-cells = <1>; + #size-cells = <0>; + reg = <1>; + + tcon_top_mixer0_out_tcon_lcd0: endpoint@0 { + reg = <0>; + remote-endpoint = <&tcon_lcd0_in_tcon_top_mixer0>; + }; + + tcon_top_mixer0_out_tcon_tv0: endpoint@2 { + reg = <2>; + remote-endpoint = <&tcon_tv0_in_tcon_top_mixer0>; + }; + }; + + tcon_top_hdmi_in: port@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <4>; + + tcon_top_hdmi_in_tcon_tv0: endpoint@0 { + reg = <0>; + remote-endpoint = <&tcon_tv0_out_tcon_top>; + }; + }; + + tcon_top_hdmi_out: port@5 { + reg = <5>; + + tcon_top_hdmi_out_hdmi: endpoint { + /* placeholder for HDMI - remote-endpoint = <&hdmi_in_tcon_top>;*/ + }; + }; + }; + }; + + tcon_lcd0: lcd-controller@6511000 { + compatible = "allwinner,sun8i-r40-tcon-lcd"; + reg = <0x06511000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_TCON_LCD0>, <&ccu CLK_TCON_LCD0>; + clock-names = "ahb", "tcon-ch0"; + clock-output-names = "tcon-data-clock"; + #clock-cells = <0>; + resets = <&ccu RST_BUS_TCON_LCD0>, <&ccu RST_BUS_LVDS>; + reset-names = "lcd", "lvds"; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + tcon_lcd0_in: port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + + tcon_lcd0_in_tcon_top_mixer0: endpoint { + remote-endpoint = <&tcon_top_mixer0_out_tcon_lcd0>; + }; + }; + + tcon_lcd0_out: port@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + + tcon_lcd0_out_lcd: endpoint@0 { + reg = <0>; + }; + }; + }; + }; + + tcon_tv0: lcd-controller@6515000 { + compatible = "allwinner,sun50i-h6-tcon-tv", + "allwinner,sun8i-r40-tcon-tv"; + reg = <0x06515000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_TCON_TV0>, + <&tcon_top CLK_TCON_TOP_TV0>; + clock-names = "ahb", "tcon-ch1"; + #clock-cells = <0>; + resets = <&ccu RST_BUS_TCON_TV0>; + reset-names = "lcd"; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + tcon_tv0_in: port@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + tcon_tv0_in_tcon_top_mixer0: endpoint { + remote-endpoint = <&tcon_top_mixer0_out_tcon_tv0>; + }; + }; + + tcon_tv0_out: port@1 { + reg = <1>; + #address-cells = <1>; + #size-cells = <0>; + tcon_tv0_out_tcon_top: endpoint@1 { + reg = <1>; + remote-endpoint = <&tcon_top_hdmi_in_tcon_tv0>; + }; + }; + }; + }; + rtc: rtc@7000000 { compatible = "allwinner,sun50i-h616-rtc"; reg = <0x07000000 0x400>; From patchwork Sun Jul 20 08:48:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1366 Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FF2B1E1A33 for ; Sun, 20 Jul 2025 08:52:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001531; cv=none; b=JjU8xvobbKkaph3WySxEd0g4oydyremN4KLd00Lf5XjiKUVFDMSwdidFnON6c5gY+EFE9OviSSWt8kov45ohvmG9ZW4ZyzRNDhK4J/iOlB9OWzYuIzE0CyT5cYDUJMRmNWuDXnD7i9TItMYJisQi33Zq+Pvz0v7UdNuuyL62kT0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001531; c=relaxed/simple; bh=hBVECD6v64x4wU4QBxKRNFKwikcfoSHKLjX+DQj9vH0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rTQQnKiijwJ8zYNotUBuXrRny/m2C10rm01RSKgR3JLdbTCY2T7GqFgozHdaE7WnJA0ul1ZuzvFI8klcuNHbMMoAFyVBUcEmXJbRiTSPH7JcNMOWVytW74AxZCgs4wypL19GMvAJLjpNR4aUrWf6kqGPvj+qbQb9NcV3jDHqn1w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=i/2sljGN; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=oIyfp+DZ; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="i/2sljGN"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="oIyfp+DZ" Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id B1A7F1D0016C; Sun, 20 Jul 2025 04:52:08 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sun, 20 Jul 2025 04:52:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001528; x= 1753087928; bh=z8FVm607UWKJAij5hCF0+BtaoAu3+mKeNPsz7+FKgJk=; b=i /2sljGNwWWvSTded8/dxuP/BJE8VvbxPh6HTAavZiyW6VBWtFXXmzzlXG45qZ3Y5 Kd2I+Ee4GpKxyqMzpEW3aTwuq/Hl8bIn1W6A8RRbR4XqlmuasOdjltFtdPZzcbDK s1TAwAtV3hbDivMNFkyOcDkIc35mSY+wX4PR+XOoveiL+UqxK9Z4N7MpBjif6E37 Vkj+DP3K/4qtKTGJxmXf1yGo9o0cXaXgc/4t1O+FimnzshR81z9qOjTrsnHZVdJk bJK+Fyimra8Eblrw6El0Pw0ky+gyWAX7HQcEG33J3fIpiRpoDn/u2O3AezlW6Max IArCWtujEMiF7ZJBAY2MQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001528; x=1753087928; bh=z 8FVm607UWKJAij5hCF0+BtaoAu3+mKeNPsz7+FKgJk=; b=oIyfp+DZREimo8ERM Jg94cd8xQxuKLB2ES+aSu6hIqWaMgAq+aa/wklJF0aLAzP4eyaVWUU4TU6khYmkp bDlD27I2vRHh1ZJyzvy3W9d9rQ0FDGjCljL1n1CjfsK5EyCEmWPpbtc4vYnaqFpo XpCTEUeKuiPZo3gQTbiBR9MO/z//937BjqdZZN1kYe/wXxOs2Bd8AUnJhNRI63i3 Xe9gNyHFJ/fel/SgMugqL7ciqmyWCmhJQ2bjZQNwrBkAsluOfya7GFvy6vWWEl71 qLDrdLKC3Vx5vBXqrYOj0DPfj3BOK/yFCTIFcefAgePhtYwDO/OiWufuwkXSJ5cl c+ffQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduhedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:52:04 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin Subject: [PATCH v2 11/12] arm64: dts: allwinner: h616: add LCD and LVDS pins Date: Sun, 20 Jul 2025 20:48:49 +1200 Message-ID: <20250720085047.5340-12-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O The Allwinner H616 (and its H618, H700 and T507 package variants with the same die) have 28 video output pins for RGB/SPI and LVDS display. These are in GPIO Bank D and are multiplexed. In RGB mode, pins PD0-PD23 are for 24-bit RGB pixel output, pins PD24-PD27 are for clock, DE, HSYNC and VSYNC. In LVDS mode, pins PD0-PD9 are for LVDS0 and pins PD10-19 for LVDS1, and can be configured by the H616 display engine for either one high- resolution (dual link) or two low resolution displays. Add device tree nodes for the LCD and LVDS pins. Signed-off-by: Jernej Skrabec [ryan@testtoast.com: add RGB and LVDS1 pin assignments] Signed-off-by: Ryan Walklin --- Changelog v1..v2: - Remove PWM pin assignment as driver not implemented --- .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index e4209dc6b46b..1d4ad2adca7d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -339,6 +339,32 @@ ir_rx_pin: ir-rx-pin { function = "ir_rx"; }; + /omit-if-no-ref/ + lcd0_rgb888_pins: lcd0-rgb888-pins { + pins = "PD0", "PD1", "PD2", "PD3", + "PD4", "PD5", "PD6", "PD7", + "PD8", "PD9", "PD10", "PD11", + "PD12", "PD13", "PD14", "PD15", + "PD16", "PD17", "PD18", "PD19", + "PD20", "PD21", "PD22", "PD23", + "PD24", "PD25", "PD26", "PD27"; + function = "lcd0"; + }; + + /omit-if-no-ref/ + lvds0_pins: lvds0-pins { + pins = "PD0", "PD1", "PD2", "PD3", "PD4", + "PD5", "PD6", "PD7", "PD8", "PD9"; + function = "lvds0"; + }; + + /omit-if-no-ref/ + lvds1_pins: lvds1-pins { + pins = "PD10", "PD11", "PD12", "PD13", "PD14", + "PD15", "PD16", "PD17", "PD18", "PD19"; + function = "lvds1"; + }; + mmc0_pins: mmc0-pins { pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; From patchwork Sun Jul 20 08:48:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Walklin X-Patchwork-Id: 1365 Received: from fout-b3-smtp.messagingengine.com (fout-b3-smtp.messagingengine.com [202.12.124.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE0A91E3DDE for ; Sun, 20 Jul 2025 08:52:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.146 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001536; cv=none; b=jFdyO6DKRmtvqSvfrVK8ArFmmvPwfOD3GxfyhoMh9adjFZXHYq/B0SthBrLRWuYARrqMZ0fjTfoFCdar3B0hpjgIh/nLbA5cg3s79QD+Pcd8+CIHwu+HKKAkh8Ki0oSOm066whTiKbVVpJoW3n9CsY9qIY9cMPURWjUwajQ+wng= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753001536; c=relaxed/simple; bh=Jr8gfTfSFvTSsVwehEXbOF5RzI8yWevzV4MOkL/Lp8k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gI7n1zYMdsfNmHvs02emzZPeSZ5suQHFP6DghvTjbqtUVpbDonch0nMOmCGq6jKXQAQerYEFbJxWiwYIgagaY9ZUEqJbMhbA/+hR3k12rdhJcCOVHEPIUzrq9EAdCCJ343+H4zfAKGPRJkRe0uWzO5cxSoFAs9s8Xrb5hnjZPCE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com; spf=pass smtp.mailfrom=testtoast.com; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b=eR/0RPPV; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=UhQ49MEj; arc=none smtp.client-ip=202.12.124.146 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=testtoast.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=testtoast.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=testtoast.com header.i=@testtoast.com header.b="eR/0RPPV"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="UhQ49MEj" Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 0659D1D00173; Sun, 20 Jul 2025 04:52:14 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Sun, 20 Jul 2025 04:52:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=testtoast.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1753001533; x= 1753087933; bh=2Cq+yCGapDwyKPChXnRev/CmW/kDVVVBDCyd5GJYNcY=; b=e R/0RPPVe2sk9LFqNgF7Wb0n0iVV+kpoa4vOksIH5AyGCERV/E3a6BhLW5JHZGw7a ETrXjZaG6Rkd2kxBjUc0r2KxyDwXwIAVTU4aTGRoisUJxz/WMmgo8PefR+WJ08hF uqvcP5VMjXUoFGurNQI0qV12e2spqi3LnualvhWVy1mDODJdMmAUiPTi7aKSqSc4 5vRV2urYWpdzZlnxA0yW+R8NFrrRuSA+ZshklWJvYOhXEC90wGKptNz9D9Wdpmrz cElJm8LDIIhRmJ84NPfHKWTDzxRW43jhBno+sbJ+f5HZsPPXQk4/L1g774J9PNNO nmaDM+aUpKILlP6HH2ubg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753001533; x=1753087933; bh=2 Cq+yCGapDwyKPChXnRev/CmW/kDVVVBDCyd5GJYNcY=; b=UhQ49MEjPzKa6Qltx N6a75JjeUJ/XaKOWQ5vdGa/CHJux+gSUGwEjYl3rdh9hrCMD54bQIcM2oPtA2S+D 5MFByNm6uPfxDIIoVRokKJDtx3YgzQqWNN8NEjB4RMoAW57PUDGV+uTAx9kE9rGk FrFsHqNn3/0e34CimU6OewLNeDWjPR+A3k6J2xgaNpXJ5LK1VzUCFWLFAbhRBVUL f6yZTxgFfzaNMVGdXEGRyFHk7iNd3l0F0gdDHbpZeXyP0enUblSgDnNqTARhmr3E wGjPspWBs5mn6yoLRP1KESaW2fgbLkuq6X20eWfpOudi+cn7BQYvbKIJUETxsSdS 4Skjg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeejjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefthigrnhcuhggr lhhklhhinhcuoehrhigrnhesthgvshhtthhorghsthdrtghomheqnecuggftrfgrthhtvg hrnhepffehieffgedtgfffjeetveegfeekleeileekveeuteffteetudffveegieeiheet necuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomheprhihrg hnsehtvghsthhtohgrshhtrdgtohhmpdhnsggprhgtphhtthhopeduiedpmhhouggvpehs mhhtphhouhhtpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtth hopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgu theskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepfigvnhhssegtshhivgdrohhrghdprh gtphhtthhopehjvghrnhgvjhdrshhkrhgrsggvtgesghhmrghilhdrtghomhdprhgtphht thhopehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgpdhrtghpthhtoheprghnughrvg drphhriiihfigrrhgrsegrrhhmrdgtohhmpdhrtghpthhtohepmhgrtghrohgrlhhphhgr kedvsehgmhgrihhlrdgtohhmpdhrtghpthhtohepkhhikhhutghhrghnleeksehgmhgrih hlrdgtohhm X-ME-Proxy: Feedback-ID: idc0145fc:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 04:52:09 -0400 (EDT) From: Ryan Walklin To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Andre Przywara , Chris Morgan , Hironori KIKUCHI , Philippe Simons , linux-sunxi@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Ryan Walklin , Chris Morgan Subject: [PATCH v2 12/12] arm64: dts: allwinner: rg35xx: Enable LCD output Date: Sun, 20 Jul 2025 20:48:50 +1200 Message-ID: <20250720085047.5340-13-ryan@testtoast.com> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250720085047.5340-1-ryan@testtoast.com> References: <20250720085047.5340-1-ryan@testtoast.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Status: O The RG35XX has a 640x480 RGB/SPI LCD panel, supported by the SoC display pipeline and an NV3052C controller. The H616 SOC's GPIO bank D contains the muxed display pins for RGB and LVDS output support. The backlight for this device is not modelled as the PWM driver for the H616 is not yet implemented. Enable the display engine and LCD timing controller, configure the panel, and add a fixed 3.3v GPIO-controlled regulator for the panel, and a VCC supply for the display pins as per the other GPIO banks. Signed-off-by: Chris Morgan Tested-by: Philippe Simons Signed-off-by: Ryan Walklin Changelog v1..v2: - Remove GPIO backlight node. --- .../sun50i-h700-anbernic-rg35xx-2024.dts | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) cpu-supply = <®_dcdc1>; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; }; @@ -220,6 +267,7 @@ &ohci0 { &pio { vcc-pa-supply = <®_cldo3>; vcc-pc-supply = <®_cldo3>; + vcc-pd-supply = <®_cldo3>; vcc-pe-supply = <®_cldo3>; vcc-pf-supply = <®_cldo3>; vcc-pg-supply = <®_aldo4>; @@ -379,3 +427,11 @@ &usbotg { &usbphy { status = "okay"; }; + +&tcon_lcd0 { + status = "okay"; +}; + +&tcon_lcd0_out_lcd { + remote-endpoint = <&panel_in_rgb>; +}; diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts index 1a750c5f6fac..7d1da4463adf 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts @@ -181,6 +181,49 @@ reg_vcc5v: regulator-vcc5v { /* USB-C power input */ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; }; + + reg_lcd: regulator-gpio-lcd-vdd { + compatible = "regulator-fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vdd-lcd"; + gpio = <&pio 8 15 GPIO_ACTIVE_HIGH>; // PI15 + enable-active-high; + }; + + spi_lcd: spi { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + sck-gpios = <&pio 8 9 GPIO_ACTIVE_HIGH>; // PI9 + mosi-gpios = <&pio 8 10 GPIO_ACTIVE_HIGH>; // PI10 + cs-gpios = <&pio 8 8 GPIO_ACTIVE_HIGH>; // PI8 + num-chipselects = <1>; + + panel: panel@0 { + compatible = "anbernic,rg35xx-plus-panel"; + + reg = <0>; + + spi-max-frequency = <3125000>; + spi-3wire; + + reset-gpios = <&pio 8 14 GPIO_ACTIVE_LOW>; // PI14 + + power-supply = <®_lcd>; + + pinctrl-0 = <&lcd0_rgb888_pins>; + pinctrl-names = "default"; + + port { + panel_in_rgb: endpoint { + remote-endpoint = <&tcon_lcd0_out_lcd>; + }; + }; + }; + }; }; &codec { @@ -196,6 +239,10 @@ &cpu0 {