Re: [PATCH 2/2] arm64: dts: allwinner: h313: Add Amediatech X96Q

J. Neuschäfer
2025-09-15T11:16:21Z

On Fri, Sep 12, 2025 at 04:56:36PM +0800, Chen-Yu Tsai wrote:
> On Fri, Sep 12, 2025 at 4:54 PM J. Neuschäfer <j.ne@posteo.net> wrote:
> >
> > On Fri, Sep 12, 2025 at 01:52:10AM +0200, J. Neuschäfer via B4 Relay wrote:
> > > From: "J. Neuschäfer" <j.ne@posteo.net>
> > >
> > > The X96Q is a set-top box with an H313 SoC, AXP305 PMIC, 1 or 2 GiB RAM,
> > > 8 or 16 GiB eMMC flash, 2x USB A, Micro-SD, HDMI, Ethernet, audio/video
> > > output, and infrared input.
> > >
> > > https://x96mini.com/products/x96q-tv-box-android-10-set-top-box
> > [...]
> > > +&gpu {
> > > + mali-supply = <&reg_dcdcc>;
> > > + status = "okay";
> > > +};
> >
> > Note for v2: The GPU gets stuck in probe deferral, and I forgot to
> > investigate why.
>
> You are probably missing the GPU power domain driver?

Indeed, with CONFIG_SUN50I_H6_PRCM_PPU=y the GPU probes successfully:

[ 1.396826] panfrost 1800000.gpu: clock rate = 432000000
[ 1.396859] panfrost 1800000.gpu: bus_clock rate = 200000000
[ 1.400125] panfrost 1800000.gpu: clock rate = 432000000
[ 1.400158] panfrost 1800000.gpu: bus_clock rate = 200000000
[ 1.403263] panfrost 1800000.gpu: clock rate = 432000000
[ 1.403297] panfrost 1800000.gpu: bus_clock rate = 200000000
[ 1.406582] panfrost 1800000.gpu: clock rate = 432000000
[ 1.428046] panfrost 1800000.gpu: bus_clock rate = 200000000
[ 1.442411] panfrost 1800000.gpu: clock rate = 432000000
[ 1.455175] panfrost 1800000.gpu: bus_clock rate = 200000000
[ 1.466484] panfrost 1800000.gpu: mali-g31 id 0x7093 major 0x0 minor 0x0 status 0x0
[ 1.476828] panfrost 1800000.gpu: features: 00000000,000027f7, issues: 00000000,00000400
[ 1.493284] panfrost 1800000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000209 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7
[ 1.493297] panfrost 1800000.gpu: shader_present=0x1 l2_present=0x1
[ 1.506114] [drm] Initialized panfrost 1.4.0 for 1800000.gpu on minor 0

Thanks,
J. Neuschäfer