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 v6 4/5] arm64: dts: allwinner: add Radxa Cubie A7Z board
Date: Thu, 26 Nov 2026 20:53:36 +0000 [thread overview]
Message-ID: <sashiko-outbox-236169@kernel.org> (raw)
In-Reply-To: <20261126-a733-cubie-a7s-dt-v6-4@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: dts: allwinner: cubie-a7z vcc-pm-supply and cldo1 name
mismatch
--
commit dbafc60438a1ea798e4288e52449976e3ef9ca34
Author: Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>
arm64: dts: allwinner: add Radxa Cubie A7Z board
This commit adds the device tree for the Radxa Cubie A7Z board, enabling
UART0, the AXP318W PMIC, MMC0, the RTC, the user LED, and the board and
pin bank power supplies.
Link: https://lore.kernel.org/r/20261125131435.33190-1-vinicius.eduardo.pedrosa@gmail.com
> 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..049e6b67c23af
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
[ ... ]
> + regulators {
> + reg_aldo1: aldo1 {
> + /* Port L powers the PMIC's own I2C bus. */
> + regulator-name = "vcc-pl-usb";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;
> + regulator-always-on;
> + };
[ ... ]
> + reg_cldo1: cldo1 {
> + /* LPDDR4 VDD1. */
> + regulator-name = "vcc-pm-lpddr";
> + regulator-min-microvolt = <1800000>;
> + regulator-max-microvolt = <1800000>;
> + regulator-always-on;
> + };
[ ... ]
> +&r_pio {
> + /*
> + * PL powers the PMIC bus itself, so firmware must keep ALDO1 enabled:
> + * vcc-pl-supply = <®_aldo1>;
> + */
> + vcc-pm-supply = <®_aldo1>;
> +};
[Severity: Low]
Should vcc-pm-supply in &r_pio point to ®_cldo1 instead of ®_aldo1,
or does reg_cldo1 have the wrong regulator-name?
reg_cldo1 is a 1.8 V rail named "vcc-pm-lpddr" while reg_aldo1 is a 3.3 V
rail named "vcc-pl-usb". When led-0 requests GPIO PM2 on boot,
sunxi_pmx_request() calls sunxi_pinctrl_set_io_bias_cfg(), which reads the
voltage of vcc-pm-supply to program Port M's I/O bias voltage threshold.
If CLDO1 supplies Port M at 1.8 V as its regulator-name indicates,
pointing vcc-pm-supply at reg_aldo1 configures Port M's bias threshold for
3.3 V instead of 1.8 V.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-a733-cubie-a7s-dt-v6-0@gmail.com?part=4
next prev parent reply other threads:[~2026-11-26 20:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 20:35 [PATCH v6 0/5] arm64: dts: allwinner: add A733 and Radxa Cubie A7 support Enzo Adriano
2026-11-26 20:35 ` [PATCH v6 1/5] dt-bindings: arm: sunxi: document Radxa Cubie A7A, A7S and A7Z Enzo Adriano
2026-11-26 20:35 ` [PATCH v6 2/5] arm64: dts: allwinner: add A733 SoC description Enzo Adriano
2026-11-26 20:52 ` sashiko-bot
2026-11-26 20:35 ` [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-11-26 20:55 ` sashiko-bot
2026-11-26 20:35 ` [PATCH v6 4/5] arm64: dts: allwinner: add Radxa Cubie A7Z board Enzo Adriano
2026-11-26 20:53 ` sashiko-bot [this message]
2026-11-26 20:36 ` [PATCH v6 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board Enzo Adriano
2026-11-26 20:43 ` sashiko-bot
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-236169@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