Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support
@ 2026-11-27  8:06 Alastair D'Silva
  2026-11-27  8:06 ` [PATCH 1/3] dt-bindings: display: simple-framebuffer: Add Allwinner DE3.5 HDMI pipeline Alastair D'Silva
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Alastair D'Silva @ 2026-11-27  8:06 UTC (permalink / raw)
  To: Hans de Goede, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-fbdev, dri-devel, devicetree, linux-arm-kernel, linux-sunxi,
	Alastair D'Silva

This series adds boot-time simplefb HDMI support for Allwinner A733
(sun60i-a733). U-Boot enables DE3.5, TCON_TV0, and DW-HDMI2.0 and
updates the disabled /chosen/framebuffer-hdmi node. Linux keeps the
display clocks and PCK-600 power domains active across boot.

Tested on Xunlong OrangePi 4 Pro, based on:
  [PATCH 0/3] arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support
  https://lore.kernel.org/r/20261125124407.4098345-1-alastair@d-silva.org
  [PATCH] pmdomain: sunxi: pck600: Initialize pd->pck in probe
  https://lore.kernel.org/r/20261127080625.1982574-1-alastair@d-silva.org

Alastair D'Silva (3):
  dt-bindings: display: simple-framebuffer: Add Allwinner DE3.5 HDMI
    pipeline
  arm64: dts: allwinner: sun60i-a733: Add PCK-600 power domain
    controller
  arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI node

 .../bindings/display/simple-framebuffer.yaml  |  1 +
 .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 36 +++++++++++++++++++
 2 files changed, 37 insertions(+)

prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c
prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9
prerequisite-patch-id: cfcad85224e288ec2168e7f245b4a1c63e9a34a7
-- 
2.53.0



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/3] dt-bindings: display: simple-framebuffer: Add Allwinner DE3.5 HDMI pipeline
  2026-11-27  8:06 [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Alastair D'Silva
@ 2026-11-27  8:06 ` Alastair D'Silva
  2026-11-27  8:06 ` [PATCH 2/3] arm64: dts: allwinner: sun60i-a733: Add PCK-600 power domain controller Alastair D'Silva
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Alastair D'Silva @ 2026-11-27  8:06 UTC (permalink / raw)
  To: Hans de Goede, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-fbdev, dri-devel, devicetree, linux-arm-kernel, linux-sunxi,
	Alastair D'Silva

Add the de0-tcon-tv0-hdmi pipeline for Allwinner A733 DE3.5 HDMI output.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
---
 .../devicetree/bindings/display/simple-framebuffer.yaml          | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml b/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
index c627ec088434..350cb075f055 100644
--- a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
+++ b/Documentation/devicetree/bindings/display/simple-framebuffer.yaml
@@ -131,6 +131,7 @@ properties:
   allwinner,pipeline:
     description: Pipeline used by the framebuffer on Allwinner SoCs
     enum:
+      - de0-tcon-tv0-hdmi
       - de_be0-lcd0
       - de_be0-lcd0-hdmi
       - de_be0-lcd0-tve0
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/3] arm64: dts: allwinner: sun60i-a733: Add PCK-600 power domain controller
  2026-11-27  8:06 [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Alastair D'Silva
  2026-11-27  8:06 ` [PATCH 1/3] dt-bindings: display: simple-framebuffer: Add Allwinner DE3.5 HDMI pipeline Alastair D'Silva
@ 2026-11-27  8:06 ` Alastair D'Silva
  2026-11-27  8:06 ` [PATCH 3/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI node Alastair D'Silva
  2026-11-27 10:03 ` [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Andre Przywara
  3 siblings, 0 replies; 9+ messages in thread
From: Alastair D'Silva @ 2026-11-27  8:06 UTC (permalink / raw)
  To: Hans de Goede, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-fbdev, dri-devel, devicetree, linux-arm-kernel, linux-sunxi,
	Alastair D'Silva

Add the PCK-600 power domain controller node to sun60i-a733.dtsi.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
---
 arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
index e062b08006da..509d0cfea160 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
@@ -4,6 +4,7 @@
 #include <dt-bindings/clock/allwinner,sun60i-a733-r-ccu.h>
 #include <dt-bindings/clock/sun6i-rtc.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/power/allwinner,sun60i-a733-pck-600.h>
 #include <dt-bindings/reset/allwinner,sun60i-a733-ccu.h>
 #include <dt-bindings/reset/allwinner,sun60i-a733-r-ccu.h>
 
@@ -595,6 +596,13 @@ r_i2c1_pl_pins: r-i2c1-pl-pins {
 			};
 		};
 
+		pck600: power-controller@7060000 {
+			compatible = "allwinner,sun60i-a733-pck-600";
+			reg = <0x07060000 0x10000>;
+			clocks = <&r_ccu CLK_BUS_R_PPU>;
+			#power-domain-cells = <1>;
+		};
+
 		r_uart0: serial@7080000 {
 			compatible = "allwinner,sun60i-a733-uart",
 				     "snps,dw-apb-uart";
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 3/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI node
  2026-11-27  8:06 [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Alastair D'Silva
  2026-11-27  8:06 ` [PATCH 1/3] dt-bindings: display: simple-framebuffer: Add Allwinner DE3.5 HDMI pipeline Alastair D'Silva
  2026-11-27  8:06 ` [PATCH 2/3] arm64: dts: allwinner: sun60i-a733: Add PCK-600 power domain controller Alastair D'Silva
@ 2026-11-27  8:06 ` Alastair D'Silva
  2026-11-27 10:03 ` [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Andre Przywara
  3 siblings, 0 replies; 9+ messages in thread
From: Alastair D'Silva @ 2026-11-27  8:06 UTC (permalink / raw)
  To: Hans de Goede, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-fbdev, dri-devel, devicetree, linux-arm-kernel, linux-sunxi,
	Alastair D'Silva

Add a disabled simple-framebuffer HDMI node under /chosen.
List the DE3.5, TCON, and HDMI clocks and power domains so Linux
keeps them active.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
---
 .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
index 509d0cfea160..46418fc60529 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
@@ -13,6 +13,34 @@ / {
 	#size-cells = <2>;
 	interrupt-parent = <&gic>;
 
+	chosen {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		simplefb_hdmi: framebuffer-hdmi {
+			compatible = "allwinner,simple-framebuffer",
+				     "simple-framebuffer";
+			allwinner,pipeline = "de0-tcon-tv0-hdmi";
+			clocks = <&ccu CLK_PLL_DE>,
+				 <&ccu CLK_AHB_DE>,
+				 <&ccu CLK_AHB_VID_COUT0>,
+				 <&ccu CLK_AHB_VID_COUT1>,
+				 <&ccu CLK_MBUS_DESYS>,
+				 <&ccu CLK_BUS_DE0>,
+				 <&ccu CLK_DE0>,
+				 <&ccu CLK_BUS_DPSS_TOP1>,
+				 <&ccu CLK_BUS_TCON_TV0>,
+				 <&ccu CLK_HDMI_TV>,
+				 <&ccu CLK_BUS_HDMI_TV>,
+				 <&ccu CLK_HDMI_SFR>;
+			power-domains = <&pck600 PD_DE_SYS>,
+					<&pck600 PD_VO>,
+					<&pck600 PD_VO1>;
+			status = "disabled";
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support
  2026-11-27  8:06 [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Alastair D'Silva
                   ` (2 preceding siblings ...)
  2026-11-27  8:06 ` [PATCH 3/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI node Alastair D'Silva
@ 2026-11-27 10:03 ` Andre Przywara
  2026-11-27 10:20   ` Alastair D'Silva
  3 siblings, 1 reply; 9+ messages in thread
From: Andre Przywara @ 2026-11-27 10:03 UTC (permalink / raw)
  To: Alastair D'Silva, Hans de Goede, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai, Jernej Skrabec,
	Samuel Holland
  Cc: linux-fbdev, dri-devel, devicetree, linux-arm-kernel, linux-sunxi

Hi,

On 11/27/26 09:06, Alastair D'Silva wrote:
> This series adds boot-time simplefb HDMI support for Allwinner A733
> (sun60i-a733). U-Boot enables DE3.5, TCON_TV0, and DW-HDMI2.0 and

Where does it do that and which U-Boot version does?
I don't think we really want simplefb in the mainline DTs any more, 
unless there is a big blocker or delay for proper Linux DE support (like 
there was back in the A64 days).
In Jernej's HDMI series he hints about A733 support being pretty 
straight-forward with the reworked H616 DE code, so chances are we see 
proper DE3.5 support in DRM rather sooner than later.

Cheers,
Andre

> updates the disabled /chosen/framebuffer-hdmi node. Linux keeps the
> display clocks and PCK-600 power domains active across boot.
> 
> Tested on Xunlong OrangePi 4 Pro, based on:
>    [PATCH 0/3] arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support
>    https://lore.kernel.org/r/20261125124407.4098345-1-alastair@d-silva.org
>    [PATCH] pmdomain: sunxi: pck600: Initialize pd->pck in probe
>    https://lore.kernel.org/r/20261127080625.1982574-1-alastair@d-silva.org
> 
> Alastair D'Silva (3):
>    dt-bindings: display: simple-framebuffer: Add Allwinner DE3.5 HDMI
>      pipeline
>    arm64: dts: allwinner: sun60i-a733: Add PCK-600 power domain
>      controller
>    arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI node
> 
>   .../bindings/display/simple-framebuffer.yaml  |  1 +
>   .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 36 +++++++++++++++++++
>   2 files changed, 37 insertions(+)
> 
> prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c
> prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9
> prerequisite-patch-id: cfcad85224e288ec2168e7f245b4a1c63e9a34a7



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support
  2026-11-27 10:03 ` [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Andre Przywara
@ 2026-11-27 10:20   ` Alastair D'Silva
  2026-11-27 10:52     ` Alastair D'Silva
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Alastair D'Silva @ 2026-11-27 10:20 UTC (permalink / raw)
  To: Andre Przywara, Hans de Goede, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-fbdev, dri-devel, devicetree, linux-arm-kernel, linux-sunxi


On Fri, 2026-11-27 at 10:03 +0000, Andre Przywara wrote:
> Hi,
> 
> On 11/27/26 09:06, Alastair D'Silva wrote:
> > This series adds boot-time simplefb HDMI support for Allwinner A733
> > (sun60i-a733). U-Boot enables DE3.5, TCON_TV0, and DW-HDMI2.0 and
> 
> Where does it do that and which U-Boot version does?
> I don't think we really want simplefb in the mainline DTs any more, 
> unless there is a big blocker or delay for proper Linux DE support (like 
> there was back in the A64 days).
> In Jernej's HDMI series he hints about A733 support being pretty 
> straight-forward with the reworked H616 DE code, so chances are we see 
> proper DE3.5 support in DRM rather sooner than later.
> 
> Cheers,
> Andre
> 

I think the blocker was firmware for DE for this SoC - it can be ripped out
of the Orange Pi OS blobs, but that won't be acceptable for linux-firmware.

I'm currently reverse engineering the GPU firmware blob, it's not very large,
and is a well understood instruction set (MIPs) so that may be a path forward
without the vendor contributing the blob to linux-firmware themselves.

-- 
Alastair D'Silva


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support
  2026-11-27 10:20   ` Alastair D'Silva
@ 2026-11-27 10:52     ` Alastair D'Silva
  2026-11-27 14:50     ` Chen-Yu Tsai
  2026-11-27 20:16     ` Jernej Škrabec
  2 siblings, 0 replies; 9+ messages in thread
From: Alastair D'Silva @ 2026-11-27 10:52 UTC (permalink / raw)
  To: Andre Przywara, Hans de Goede, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: linux-fbdev, dri-devel, devicetree, linux-arm-kernel, linux-sunxi

On Fri, 2026-11-27 at 21:20 +1100, Alastair D'Silva wrote:
> 
> On Fri, 2026-11-27 at 10:03 +0000, Andre Przywara wrote:
> > Hi,
> > 
> > On 11/27/26 09:06, Alastair D'Silva wrote:
> > > This series adds boot-time simplefb HDMI support for Allwinner A733
> > > (sun60i-a733). U-Boot enables DE3.5, TCON_TV0, and DW-HDMI2.0 and
> > 
> > Where does it do that and which U-Boot version does?
> > 

Oh, I forgot to answer this, this was going to be a follow-up on the
opi4pro series to U-Boot, once the base implementation was accepted.

It's on my Github, but I haven't posted it to the list yet.

Cheers,

-- 
Alastair D'Silva


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support
  2026-11-27 10:20   ` Alastair D'Silva
  2026-11-27 10:52     ` Alastair D'Silva
@ 2026-11-27 14:50     ` Chen-Yu Tsai
  2026-11-27 20:16     ` Jernej Škrabec
  2 siblings, 0 replies; 9+ messages in thread
From: Chen-Yu Tsai @ 2026-11-27 14:50 UTC (permalink / raw)
  To: Alastair D'Silva
  Cc: Andre Przywara, Hans de Goede, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Jernej Skrabec, Samuel Holland, linux-fbdev,
	dri-devel, devicetree, linux-arm-kernel, linux-sunxi

On Fri, Nov 27, 2026 at 9:58 PM Alastair D'Silva <alastair@d-silva.org> wrote:
>
>
> On Fri, 2026-11-27 at 10:03 +0000, Andre Przywara wrote:
> > Hi,
> >
> > On 11/27/26 09:06, Alastair D'Silva wrote:
> > > This series adds boot-time simplefb HDMI support for Allwinner A733
> > > (sun60i-a733). U-Boot enables DE3.5, TCON_TV0, and DW-HDMI2.0 and
> >
> > Where does it do that and which U-Boot version does?
> > I don't think we really want simplefb in the mainline DTs any more,
> > unless there is a big blocker or delay for proper Linux DE support (like
> > there was back in the A64 days).
> > In Jernej's HDMI series he hints about A733 support being pretty
> > straight-forward with the reworked H616 DE code, so chances are we see
> > proper DE3.5 support in DRM rather sooner than later.
> >
> > Cheers,
> > Andre
> >
>
> I think the blocker was firmware for DE for this SoC - it can be ripped out
> of the Orange Pi OS blobs, but that won't be acceptable for linux-firmware.
>
> I'm currently reverse engineering the GPU firmware blob, it's not very large,
> and is a well understood instruction set (MIPs) so that may be a path forward
> without the vendor contributing the blob to linux-firmware themselves.

GPU and DE are completely separate blocks. You don't need the GPU to have
display.

And slow down. You sent out dozens of patches at -rc5 (closing in on -rc6).
Realistically none of them will make it.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support
  2026-11-27 10:20   ` Alastair D'Silva
  2026-11-27 10:52     ` Alastair D'Silva
  2026-11-27 14:50     ` Chen-Yu Tsai
@ 2026-11-27 20:16     ` Jernej Škrabec
  2 siblings, 0 replies; 9+ messages in thread
From: Jernej Škrabec @ 2026-11-27 20:16 UTC (permalink / raw)
  To: Andre Przywara, Hans de Goede, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Chen-Yu Tsai, Samuel Holland, linux-sunxi
  Cc: linux-fbdev, dri-devel, devicetree, linux-arm-kernel, linux-sunxi,
	Alastair D'Silva

Dne petek, 27. november 2026 ob 11:20:02 Srednjeevropski standardni čas je Alastair D'Silva napisal(a):
> 
> On Fri, 2026-11-27 at 10:03 +0000, Andre Przywara wrote:
> > Hi,
> > 
> > On 11/27/26 09:06, Alastair D'Silva wrote:
> > > This series adds boot-time simplefb HDMI support for Allwinner A733
> > > (sun60i-a733). U-Boot enables DE3.5, TCON_TV0, and DW-HDMI2.0 and
> > 
> > Where does it do that and which U-Boot version does?
> > I don't think we really want simplefb in the mainline DTs any more, 
> > unless there is a big blocker or delay for proper Linux DE support (like 
> > there was back in the A64 days).
> > In Jernej's HDMI series he hints about A733 support being pretty 
> > straight-forward with the reworked H616 DE code, so chances are we see 
> > proper DE3.5 support in DRM rather sooner than later.
> > 
> > Cheers,
> > Andre
> > 
> 
> I think the blocker was firmware for DE for this SoC - it can be ripped out
> of the Orange Pi OS blobs, but that won't be acceptable for linux-firmware.
> 
> I'm currently reverse engineering the GPU firmware blob, it's not very large,
> and is a well understood instruction set (MIPs) so that may be a path forward
> without the vendor contributing the blob to linux-firmware themselves.

What is this GPU firmware blob? If you mean for Imagination GPU, that
blob is already in linux-firmware. But then, this has nothing to do with
actual display output. Display Engine 3.5 doesn't need any firmware...

I'm with Andre here. simplefb isn't needed. For anything more fancy,
Maxime is working on DRM readout series, which should allow seamless
takeover of display devices from bootloaders, like U-Boot.

Best regards,
Jernej




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-27 20:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27  8:06 [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Alastair D'Silva
2026-11-27  8:06 ` [PATCH 1/3] dt-bindings: display: simple-framebuffer: Add Allwinner DE3.5 HDMI pipeline Alastair D'Silva
2026-11-27  8:06 ` [PATCH 2/3] arm64: dts: allwinner: sun60i-a733: Add PCK-600 power domain controller Alastair D'Silva
2026-11-27  8:06 ` [PATCH 3/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI node Alastair D'Silva
2026-11-27 10:03 ` [PATCH 0/3] arm64: dts: allwinner: sun60i-a733: Add simplefb HDMI support Andre Przywara
2026-11-27 10:20   ` Alastair D'Silva
2026-11-27 10:52     ` Alastair D'Silva
2026-11-27 14:50     ` Chen-Yu Tsai
2026-11-27 20:16     ` Jernej Škrabec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox