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 2/5] arm64: dts: allwinner: add A733 SoC description
Date: Thu, 03 Dec 2026 17:12:08 +0000 [thread overview]
Message-ID: <sashiko-outbox-248244@kernel.org> (raw)
In-Reply-To: <20261203-a733-cubie-a7s-dt-v7-2@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [High] arm64: dts: allwinner: missing Port A interrupt in A733 pio
node
- [Low] arm64: dts: allwinner: undocumented allwinner,sun60i-a733-uart
compatible
--
commit a6cf968129b840c012594c8362ce55be24457ecb
Author: Enzo Adriano <enzo.adriano.code@gmail.com>
arm64: dts: allwinner: add A733 SoC description
This commit adds the base Devicetree include file for the Allwinner A733
SoC, describing its CPUs, PSCI, timers, GIC, RTC, clock/reset and pin
controllers, UARTs, I2C controllers, and MMC controllers.
Link: https://gist.githubusercontent.com/apritzel/60fd7379b9560a15b8b352986b69d39f/raw/efd9cdf8f26ba5b0c7e138f093af44a1cf322469/sun60i-a733.dts
Link: https://lore.kernel.org/r/20261126172253.1097838-2-andre.przywara@arm.com
> diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
> new file mode 100644
> index 0000000000000..63f5322cce883
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
[ ... ]
> + pio: pinctrl@2000000 {
> + compatible = "allwinner,sun60i-a733-pinctrl";
> + reg = <0x02000000 0x800>;
> + interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH 0>,
> + <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH 0>;
[Severity: High]
Is pio missing the Port A interrupt entry at index 0?
Documentation/devicetree/bindings/pinctrl/allwinner,sun55i-a523-pinctrl.yaml
requires 11 interrupts for allwinner,sun60i-a733-pinctrl, so listing only
10 interrupts (GIC_SPI 69 through 87) fails dtbs_check.
In pinctrl-sunxi, prepare_function_table() assigns irqbank 1..10 to Ports
B..K and sunxi_irq_base_reg() maps bank 0 to Port A. Because
sunxi_pinctrl_init_with_flags() indexes pctl->irq[] from 0, omitting the
Port A slot shifts every main-domain GPIO bank interrupt off by one.
When a GPIO interrupt fires (such as microSD card-detect on PF6),
sunxi_pinctrl_irq_handler() reads the preceding bank's status register and
dispatches the wrong hwirq, leaving the level-triggered GIC SPI unhandled.
[ ... ]
> + uart0: serial@2500000 {
> + compatible = "allwinner,sun60i-a733-uart",
> + "snps,dw-apb-uart";
[Severity: Low]
As reported by Chen-Yu Tsai on v5 [1], is allwinner,sun60i-a733-uart
documented in Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml?
That schema does not include allwinner,sun60i-a733-uart, so dtbs_check fails
on all nine UART nodes (uart0..uart6, r_uart0, r_uart1). Either document
the compatible in the binding or use bare snps,dw-apb-uart like other
Allwinner arm64 DTSIs.
[1] https://lore.kernel.org/r/CAGb2v64c5oirvfq7R3a1CWQCydfOOipcRD7dhSFAb=zczRdTHw@mail.gmail.com
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261203-a733-cubie-a7s-dt-v7-0@gmail.com?part=2
next prev parent reply other threads:[~2026-12-03 17:12 UTC|newest]
Thread overview: 14+ 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-04 15:17 ` Rob Herring (Arm)
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 [this message]
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-04 10:33 ` Vinicius Pedrosa
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
2026-12-04 3:18 ` Chen-Yu Tsai
2026-12-04 8:39 ` Andre Przywara
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-248244@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.