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 2/5] arm64: dts: allwinner: add A733 SoC description
Date: Thu, 26 Nov 2026 20:52:59 +0000 [thread overview]
Message-ID: <sashiko-outbox-236168@kernel.org> (raw)
In-Reply-To: <20261126-a733-cubie-a7s-dt-v6-2@gmail.com>
Thank you for your contribution! Sashiko AI review found 3 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
- [Low] arm64: dts: allwinner: commit message claims shared L3 is
described in DT
--
commit ca507efa367e6e97ea2be259dd6d3577602268a3
Author: Enzo Adriano <enzo.adriano.code@gmail.com>
arm64: dts: allwinner: add A733 SoC description
This commit adds the base SoC Devicetree description for the Allwinner
A733, covering the CPUs, PSCI, timers, GIC, RTC, clock/reset and pin
controllers, UART, I2C, and MMC.
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
> Describe the single DynamIQ unit and shared L3 shown in section
> 5.1.2, figure 5-1. Partition PPI 7 (section 12.2.3, table 12-1)
> between the Cortex-A55 and Cortex-A76 PMUs so each probes its own
> core type. Defer capacity-dmips-mhz until it is measured on A733.
[Severity: Low]
Does the Devicetree actually describe the shared L3 cache as stated here?
The /cpus node defines cluster0 in cpu-map and cpu0 through cpu7, without
any cache nodes or next-level-cache properties.
> 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..e062b08006da0
> --- /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]
Should pio include the Port A interrupt (GIC_SPI 67) as the first entry
so that interrupts has 11 items?
The binding in allwinner,sun55i-a523-pinctrl.yaml requires 11 interrupts
for allwinner,sun60i-a733-pinctrl (matching the A523 fix in commit
6b81aa0c8a4f ("arm64: dts: allwinner: a523: Add missing GPIO
interrupt")). In the driver, prepare_function_table() starts at bank 1
for Port B because Port A has 0 pins, and sunxi_irq_base_reg() indexes
Port A at bank 0 and Ports B through K at banks 1 through 10. Omitting
GIC_SPI 67 shifts pctl->irq[] by one bank, so any GPIO interrupt on
Ports B through K reads and clears the preceding bank's status register
and leaves the actual interrupt unhandled.
[ ... ]
> + uart0: serial@2500000 {
> + compatible = "allwinner,sun60i-a733-uart",
> + "snps,dw-apb-uart";
[Severity: Low]
As reported by Chen-Yu Tsai on v5 [1], the compatible string
"allwinner,sun60i-a733-uart" used on uart0 through uart6 and r_uart0
through r_uart1 is not documented in
Documentation/devicetree/bindings/serial/snps-dw-apb-uart.yaml, which
causes dtbs_check validation failures.
[1] https://lore.kernel.org/r/CAGb2v64c5oirvfq7R3a1CWQCydfOOipcRD7dhSFAb=zczRdTHw@mail.gmail.com
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-a733-cubie-a7s-dt-v6-0@gmail.com?part=2
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 [this message]
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
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-236168@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