From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56872606A31C for ; Mon, 30 Nov 2026 15:14:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=SIrQbqBL; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=cwIWBXTW DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=RgGQ1WlC9w0lPXYXip0YoZ0f3VlvRKR8qtDcJbmH1Fg=; b=SIrQbqBL3fdP0QmYDmJnpPpmzJ WCpTgjWMY96BEiTGTWq1krxFSh4BThxZ1tAPMT4LeOMQiyF6XwbHVtyJf5Qf4ddXmjmbfgGcW2rhx s+SF+fUuCmWp7h9MONqLp1bYeW9sPFtdCetCRyyLhm8W8EKpX+0/5u3Yztxpa3sm/45tg2+pAc4hk sQatdqBjwlRg2r5K0sQ97VmskDp413ljYYzjUK/GKpXSCx3PchBFkeYEfLzhohNgZNx58moBgZ03d lQU8mfipaB/NsbDBomwija688a5CJzKA72PMu4cXWP1njGJfNfjYxmtzi3MYu4qC05pIK5PBT9Wh8 2foyNLPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY34l-000000050EI-2jqJ; Mon, 30 Nov 2026 15:13:55 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY34M-00000005079-0Unt for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2026 15:13:37 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4a207b02a2cso75886885e9.1 for ; Mon, 30 Nov 2026 07:13:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796051608; x=1796656408; darn=lists.infradead.org; h=content-type:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=RgGQ1WlC9w0lPXYXip0YoZ0f3VlvRKR8qtDcJbmH1Fg=; b=cwIWBXTWpPmeW0W92dHl1n/XaqGf7vaEBszz+e/blW6PjWvfaaNVDsbk9VubAn4lmR BBfb5rGFI6iJ1ELSEBMzvySaJHQ7cabXPnH/JADRK2gRrHhuCk7tshf+BvI+Rq+fXcWK AYN1xfNzwkJbsP0HBHfmhiVIjilAUxOSiFvVOkdDpMBewkiMwlEK+pLriZ2c598+B2Qa xWH3AWiN46TcGrUOeL2wu+C9wJXdwMyo+9xidwCXuyU0H3MWsqhhS+sNBHQ96WyCIACx BgkgLlWZdORKRmn9Vp1LskFMTkjloj+x0ldurAJMWR+nPA8lVTEDCUEotIUXhPEDvZTM g/vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796051608; x=1796656408; h=content-type:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=RgGQ1WlC9w0lPXYXip0YoZ0f3VlvRKR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1kZ6lU292jUVX7ovD1AsLhCsKMqzZRvb+0kFzHXC6r4U+ytE0f8tZYQag1yb 1sTQ90Ut4FXYLAqAAu7OdJ9sI+jjwhpW2f3FXJ7M0QO/jMhK3sfWWZmfGxkUquJH0X14ZYUrnvF QqIDZ1KWa0oVpcUxKDLJghv7PyMERB//CdjdpstrLor6leZBeV6KNuWd8Cd3eVY8VHaV0r4BDNl 9JLmkW3HIezjVRnZ2vCbyXL11QDyJ4gMHo2ijf0kFi7uxBOSAf/eOD29JxgttMwY/THBTpv45G+ sLA+owe+zhjdd+HD8wT/eFh0F7yUhouI3iE807QKEjgR8Fvad30JwNSrNUn/EZYzvHjLKAy6aKl 3EKSLcELgWBVS7P9PUTQQxumTPM7IOBpztjTnZhe/vKq1+/+/rDzw== X-Received: by 2002:a05:600c:46d3:b0:4bb:6687:5394 with SMTP id 5b1f17b1804b1-4bb888097b0mr708062025e9.9.1796051607473; Mon, 30 Nov 2026 07:13:27 -0800 (PST) Received: from jernej-laptop.localnet (77-38-7-250.dynamic.telemach.net. [77.38.7.250]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6a67fec7sm62344830f8f.26.2026.11.30.07.13.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 07:13:26 -0800 (PST) From: Jernej =?UTF-8?B?xaBrcmFiZWM=?= To: Chen-Yu Tsai , Samuel Holland , Maxime Ripard , Daniel Golle , Alastair D'Silva Cc: Andre Przywara , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Airlie , Simona Vetter , Maarten Lankhorst , Thomas Zimmermann , Neil Armstrong , Dmitry Baryshkov , Robert Foss , Laurent Pinchart , Luca Ceresoli , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Alastair D'Silva Subject: Re: [RFC PATCH 00/13] drm/sun4i: Add Allwinner A733 DE3.5 and DW-HDMI 2.0 support Date: Mon, 30 Nov 2026 16:13:25 +0100 Message-ID: In-Reply-To: <20261130020758.3593663-1-alastair@d-silva.org> References: <20261130020758.3593663-1-alastair@d-silva.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_071330_223308_51A0F9AF X-CRM114-Status: GOOD ( 22.47 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-7.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Dne ponedeljek, 30. november 2026 ob 03:07:45 Srednjeevropski standardni = =C4=8Das je Alastair D'Silva napisal(a): > This RFC series adds Allwinner A733 (sun60i-a733) HDMI display support: > - DE3.5 RCQ DMA commit helper, planes, and mixer support > - TCON TOP1 and TCON TV0 support with runtime PM > - DW-HDMI 2.0 and TOP PHY support with system-control RESCAL calibration > - Device tree bindings, SoC pipeline, and board HDMI enablement for > Xunlong OrangePi 4 Pro, Radxa Cubie A7A, and Radxa Cubie A7Z >=20 > I am posting this early as an RFC because Daniel Golle expressed > interest in collaborating on A733 display support, and we want to do > that work in the open. There is no rush for maintainer review while the > existing A733 patch queue clears. Stop. Just stop for a moment. This is getting ridiculous, with all the patches you sent in a few days. Some of them v2, with possibly no human reviewer saying any word. This is a good way to become ignored. sun4i-drm driver for DE2 and onwards needs architecture fix in order to clear up technical debt accumulated over the years, when we didn't know better. Throwing AI task to add support for newer hardware only adds technical debt. It just adds new code while keeping original as-is as much as possible. Such approach just makes spaghetti code which is getting worse and worse. I actually have patches prepared, but of course, wide testing needs a lot of time. Every detail have to be checked, on DE2, DE3 and DE33 devices. It's comming close to the end. And of course, it will be splitted into 4 series. Main fix is to program registers at the right time, avoiding all glitches which can be triggered in some cases. With that in, you'll see that RCQ support becomes just opmitization, not a requirement. When this series become relevant, e.g. when all prerequisite patches are actually merged, my arch fix will be long posted. At that time, you will ha= ve to do just minor adjustments and new compatibles. Jernej >=20 > Tested on Xunlong OrangePi 4 Pro: > - Cold-boot HDMI console (1920x1080) > - X11 modesetting driver (/dev/dri/card0) > - 60 Hz VSync page-flipping (modetest -v) > - Multi-plane hardware overlays, alpha, zpos, and 10-bit RGB (AR30) > - Dynamic mode switching (1920x1080, 1280x720, 1024x768) >=20 > Radxa Cubie A7A and Cubie A7Z HDMI enablement is schema- and > compile-tested only. >=20 > Prerequisites (not yet merged in linux-next): > [PATCH 0/3] arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support > https://lore.kernel.org/r/20261125124407.4098345-1-alastair@d-silva.org >=20 > [PATCH] pmdomain: sunxi: pck600: Initialize pd->pck in probe > https://lore.kernel.org/r/20261127080625.1982574-1-alastair@d-silva.org >=20 > [PATCH v2] arm64: dts: allwinner: sun60i-a733: Add PCK-600 power domain= controller > https://lore.kernel.org/r/20261130005242.3366676-1-alastair@d-silva.org >=20 > Alastair D'Silva (13): > dt-bindings: sram: sunxi: Add A733 system-control compatible > dt-bindings: display: sun4i: Document A733 DE3.5 display pipeline > dt-bindings: display: sun4i: Document A733 TCON TOP, TCON TV, and HDMI > soc: sunxi: sram: Add A733 system-control RESCAL support > drm/sun4i: Add A733 TCON TOP1 and TCON TV0 support > drm/bridge: dw-hdmi: Export dw_hdmi_phy_enable_svsret() > drm/sun4i: Add A733 DW-HDMI 2.0 and TOP PHY support > drm/sun4i: Add A733 DE3.5 RCQ helper > drm/sun4i: Add A733 DE3.5 planes and mixer support > arm64: dts: allwinner: sun60i-a733: Add DE3.5 and HDMI display > pipeline > arm64: dts: allwinner: orangepi-4-pro: Enable HDMI output > arm64: dts: allwinner: cubie-a7a: Enable HDMI output > arm64: dts: allwinner: cubie-a7z: Enable HDMI output >=20 > .../allwinner,sun4i-a10-display-engine.yaml | 1 + > .../display/allwinner,sun4i-a10-tcon.yaml | 19 + > .../allwinner,sun50i-h616-de33-planes.yaml | 13 +- > .../allwinner,sun8i-a83t-de2-mixer.yaml | 46 ++- > .../display/allwinner,sun8i-a83t-dw-hdmi.yaml | 142 +++++--- > .../allwinner,sun8i-a83t-hdmi-phy.yaml | 148 +++++--- > .../display/allwinner,sun8i-r40-tcon-top.yaml | 44 ++- > .../allwinner,sun4i-a10-system-control.yaml | 1 + > .../dts/allwinner/sun60i-a733-cubie-a7a.dts | 26 ++ > .../dts/allwinner/sun60i-a733-cubie-a7z.dts | 26 ++ > .../allwinner/sun60i-a733-orangepi-4-pro.dts | 32 ++ > .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 186 ++++++++++ > drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +- > drivers/gpu/drm/sun4i/Makefile | 2 +- > drivers/gpu/drm/sun4i/sun4i_drv.c | 10 +- > drivers/gpu/drm/sun4i/sun4i_tcon.c | 74 +++- > drivers/gpu/drm/sun4i/sun4i_tcon.h | 8 + > drivers/gpu/drm/sun4i/sun50i_planes.c | 98 ++++-- > drivers/gpu/drm/sun4i/sun50i_planes.h | 5 + > drivers/gpu/drm/sun4i/sun60i_de35_rcq.c | 220 ++++++++++++ > drivers/gpu/drm/sun4i/sun60i_de35_rcq.h | 44 +++ > drivers/gpu/drm/sun4i/sun8i_csc.c | 3 +- > drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 114 +++++- > drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 7 + > drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 333 ++++++++++++++++++ > drivers/gpu/drm/sun4i/sun8i_mixer.c | 200 +++++++++-- > drivers/gpu/drm/sun4i/sun8i_mixer.h | 31 +- > drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 61 +++- > drivers/gpu/drm/sun4i/sun8i_tcon_top.h | 3 + > drivers/gpu/drm/sun4i/sun8i_ui_layer.c | 12 +- > drivers/gpu/drm/sun4i/sun8i_vi_layer.c | 6 + > drivers/gpu/drm/sun4i/sun8i_vi_layer.h | 2 + > drivers/gpu/drm/sun4i/sun8i_vi_scaler.c | 3 +- > drivers/soc/sunxi/sunxi_sram.c | 18 +- > include/drm/bridge/dw_hdmi.h | 2 + > 35 files changed, 1736 insertions(+), 207 deletions(-) > create mode 100644 drivers/gpu/drm/sun4i/sun60i_de35_rcq.c > create mode 100644 drivers/gpu/drm/sun4i/sun60i_de35_rcq.h >=20 >=20 > base-commit: 3ce19e522a53b81f208b340b30534515f7f12b9c > prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c > prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9 > prerequisite-patch-id: 4a4aed175e3d69b1962a9225cd0eb47cdad600fc > prerequisite-patch-id: b302709123a938272f5ddc8f88e269c0ef3e7cf3 >=20