From: sashiko-bot@kernel.org
To: "Enzo Adriano" <enzo.adriano.code@gmail.com>
Cc: devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v7 4/5] arm64: dts: allwinner: add Radxa Cubie A7Z board
Date: Thu, 03 Dec 2026 18:03:52 +0000 [thread overview]
Message-ID: <sashiko-outbox-248333@kernel.org> (raw)
In-Reply-To: <20261203-a733-cubie-a7s-dt-v7-4@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [High] arm64: dts: allwinner: undocumented axp318w PMIC breaks
dtbs_check and boot
- [Medium] arm64: dts: allwinner: pio interrupts count mismatches
11-item A733 binding
--
commit ad298953ae3f0bb2c7041b75d56f31578ed245d0
Author: Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>
arm64: dts: allwinner: add Radxa Cubie A7Z board
This commit adds the devicetree for the Radxa Cubie A7Z board using the
Allwinner A733 SoC and enables UART0, the AXP318W PMIC on R-I2C0, MMC0,
RTC, and the green user LED.
> diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
> new file mode 100644
> index 0000000000000..7db69cb83ddc0
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
[ ... ]
> +&pio {
> + /* VCC-IO */
> + vcc-pb-supply = <®_swout2>;
> + vcc-pc-supply = <®_cldo5>;
> + vcc-pd-supply = <®_swout1>;
> + vcc-pe-supply = <®_bldo1>;
> + /* VCC-IO */
> + vcc-pf-supply = <®_swout2>;
> + vcc-pg-supply = <®_bldo5>;
> + /* VCC-IO */
> + vcc-ph-supply = <®_swout2>;
> + vcc-pj-supply = <®_swout1>;
> + vcc-pk-supply = <®_bldo1>;
> +};
[Severity: Medium]
Does the included pio node in sun60i-a733.dtsi fail dtbs_check on its
interrupts property?
Documentation/devicetree/bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml
requires 11 interrupts for allwinner,sun60i-a733-pinctrl to cover the
unimplemented Port A slot plus PB through PK, as established in commit
11f25ac56372 ("dt-bindings: pinctrl: sun55i-a523: increase IRQ banks number").
Because pio: pinctrl@2000000 in arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
lists only 10 interrupts (matching .irq_banks = 10 in
drivers/pinctrl/sunxi/pinctrl-sun60i-a733.c), make dtbs_check fails on
sun60i-a733-cubie-a7z.dtb and the interrupt array is shifted by one bank
relative to the 1..10 register layout expected by sunxi_irq_base_reg().
> +&r_i2c0 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&r_i2c0_pl_pins>;
> + status = "okay";
> +
> + pmic@36 {
> + compatible = "x-powers,axp318w";
> + reg = <0x36>;
> + interrupts-extended = <&nmi_intc 0 IRQ_TYPE_LEVEL_LOW>;
> + interrupt-controller;
> + #interrupt-cells = <1>;
> + aldo156in-supply = <®_ps>;
> + aldo234in-supply = <®_aldo1>;
> + /* v1.10: BLDOIN from SWOUT2 and CLDOIN from PS */
> + bldoin-supply = <®_ldo_input>;
> + cldoin-supply = <®_ldo_input>;
> + dldoin-supply = <®_ps>;
> + eldoin-supply = <®_dcdc9>;
> + ips-supply = <®_ps>;
> + vin19-supply = <®_ps>;
> + vin23-supply = <®_ps>;
> + vin45-supply = <®_ps>;
> + vin678-supply = <®_ps>;
[Severity: High]
Does x-powers,axp318w fail dtbs_check and leave uart0, mmc0, and led-0
stuck in probe deferral?
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml does not define
x-powers,axp318w, its aldo156in/aldo234in/vin*-supply properties, or the
dcdc8, dcdc9, swout1, and swout2 regulator subnodes, so make dtbs_check
fails on sun60i-a733-cubie-a7z.dtb.
drivers/mfd/axp20x-i2c.c also has no match entry for x-powers,axp318w, so
pmic@36 never binds and none of its regulators register. Because pio
wires vcc-pb-supply and vcc-pf-supply to reg_swout2 and r_pio wires
vcc-pm-supply to reg_aldo1, sunxi_pmx_request() -> regulator_get() ->
of_regulator_dev_lookup() returns -EPROBE_DEFER permanently, preventing
the serial console, microSD slot, and user LED from probing.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-a733-cubie-a7s-dt-v7-0@gmail.com?part=4
next prev parent reply other threads:[~2026-12-03 18:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 16:24 [PATCH v7 0/5] arm64: dts: allwinner: add A733 and Radxa Cubie A7 support Enzo Adriano
2026-12-03 16:24 ` [PATCH v7 1/5] dt-bindings: arm: sunxi: document Radxa Cubie A7A, A7S and A7Z Enzo Adriano
2026-12-03 16:25 ` [PATCH v7 2/5] arm64: dts: allwinner: add A733 SoC description Enzo Adriano
2026-12-03 17:12 ` sashiko-bot
2026-12-03 16:25 ` [PATCH v7 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-12-03 17:45 ` sashiko-bot
2026-12-03 16:31 ` [PATCH v7 4/5] arm64: dts: allwinner: add Radxa Cubie A7Z board Enzo Adriano
2026-12-03 18:03 ` sashiko-bot [this message]
2026-12-03 16:31 ` [PATCH v7 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board Enzo Adriano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-248333@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=enzo.adriano.code@gmail.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox