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 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board
Date: Thu, 03 Dec 2026 18:31:03 +0000 [thread overview]
Message-ID: <sashiko-outbox-248393@kernel.org> (raw)
In-Reply-To: <20261203-a733-cubie-a7s-dt-v7-5@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [High] arm64: dts: allwinner: missing binding and driver for
x-powers,axp318w PMIC
- [Medium] arm64: dts: allwinner: cubie-a7a dcdc7 max voltage capped at
1.10 V
--
commit d676df2104285190d09fdb2d7c1b8086a0cae5b8
Author: Andre Przywara <andre.przywara@arm.com>
arm64: dts: allwinner: add Radxa Cubie A7A board
This commit adds the initial devicetree for the Radxa Cubie A7A board,
describing its UART, AXP318W PMIC, microSD slot, EEPROM, and external RTC,
and adds the DTB to the Allwinner Makefile.
> diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts
> new file mode 100644
> index 0000000000000..e1e1db00bada9
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts
[ ... ]
> +&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 = <®_vcc5v>;
> + aldo234in-supply = <®_aldo1>;
> + bldoin-supply = <®_vcc2v4>;
> + cldoin-supply = <®_vcc2v4>;
> + dldoin-supply = <®_vcc5v>;
> + eldoin-supply = <®_dcdc9>;
> + ips-supply = <®_vcc5v>;
> + vin19-supply = <®_vcc5v>;
> + vin23-supply = <®_vcc5v>;
> + vin45-supply = <®_vcc5v>;
> + vin678-supply = <®_vcc5v>;
[Severity: High]
Does x-powers,axp318w have an in-tree DT binding and driver yet?
Documentation/devicetree/bindings/mfd/x-powers,axp152.yaml does not document
x-powers,axp318w, its supply properties (such as aldo156in-supply and
vin19-supply), or regulator subnodes like dcdc8, dcdc9, swout1, and swout2,
so make dtbs_check fails on pmic@36.
drivers/mfd/axp20x-i2c.c also does not match x-powers,axp318w, so none of
the PMIC regulators register. Because pio bank supplies and mmc0
vmmc-supply reference them, of_regulator_dev_lookup() returns -EPROBE_DEFER
and sunxi_pmx_request() permanently defers uart0, mmc0, and other devices.
[ ... ]
> + dcdc7 {
> + /* Voltage set by DRAM init routine */
> + regulator-name = "vcc-dram";
> + regulator-min-microvolt = <1050000>;
> + regulator-max-microvolt = <1100000>;
> + regulator-always-on;
> + };
[Severity: Medium]
Should regulator-max-microvolt on dcdc7 be raised to 1120000 uV to avoid
clamping the bootloader's LPDDR5 voltage?
When both regulator-min-microvolt and regulator-max-microvolt are specified,
of_get_regulation_constraints() sets apply_uV = true, so
machine_constraints_voltage() lowers the live rail to max_uV if firmware
programmed a higher voltage.
In commit "arm64: dts: allwinner: add Radxa Cubie A7S board", dcdc7 is
widened to 1050000-1120000 uV because Radxa's boot0 programs 1.12 V on
DCDC7. If Cubie A7A's boot0 also sets 1.12 V, capping dcdc7 at 1.10 V will
drop the DRAM rail during PMIC probe and risk memory corruption or hangs.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-a733-cubie-a7s-dt-v7-0@gmail.com?part=5
prev parent reply other threads:[~2026-12-03 18:31 UTC|newest]
Thread overview: 10+ 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
2026-12-03 16:31 ` [PATCH v7 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board Enzo Adriano
2026-12-03 18:31 ` sashiko-bot [this message]
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-248393@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