From: sashiko-bot@kernel.org
To: "Janne Grunau" <j@jannau.net>
Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 11/11] arm64: dts: apple: Initial T6030 (M3 Pro) device trees
Date: Thu, 09 Jul 2026 07:57:07 +0000 [thread overview]
Message-ID: <20260709075707.B180E1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260709-apple-t603x-initial-devices-v1-11-55b305833123@jannau.net>
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] `gpio-ranges` for `pinctrl_nub` and `pinctrl_aop` incorrectly reference `&pinctrl_ap`
- [High] Missing `power-domains` property in `pinctrl_nub`
- [Low] Incorrect unit address for `serial0` node (extra trailing zero)
--
--- Patch [11]: [PATCH 11/11] arm64: dts: apple: Initial T6030 (M3 Pro) device trees ---
commit fa2e19405991d7d2172c7f5e2dd0812674d702eb
Author: Janne Grunau <j@jannau.net>
arm64: dts: apple: Initial T6030 (M3 Pro) device trees
Minimal device trees for the M3 Pro based 14-inch and 16-inch MacBook
Pro released in November 2023.
> diff --git a/arch/arm64/boot/dts/apple/t6030.dtsi b/arch/arm64/boot/dts/apple/t6030.dtsi
> new file mode 100644
> index 0000000000000..f79fbadaa92cf
> --- /dev/null
> +++ b/arch/arm64/boot/dts/apple/t6030.dtsi
[ ... ]
> + serial0: serial@2892000000 {
> + compatible = "apple,s5l-uart";
> + reg = <0x2 0x89200000 0x0 0x1000>;
[Severity: Low]
Does this node have an incorrect unit address? The unit address
@2892000000 has an extra trailing zero, as the reg property resolves to
0x289200000. This might trigger a simple_bus_reg device tree compiler
warning.
[ ... ]
> + pinctrl_nub: pinctrl@3641f0000 {
> + compatible = "apple,t6030-pinctrl", "apple,t8103-pinctrl";
> + reg = <0x3 0x641f0000 0x0 0x4000>;
[Severity: High]
Is a power-domains property needed here, similar to other Apple SoCs?
Without it, the OS might not track and enable the NUB GPIO power state,
which could lead to an SError if the hardware is accessed while powered down.
> +
> + interrupt-parent = <&aic>;
> + interrupts = <AIC_IRQ 472 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 473 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 474 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 475 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 476 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 477 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 478 IRQ_TYPE_LEVEL_HIGH>;
> +
> + gpio-controller;
> + #gpio-cells = <2>;
> + gpio-ranges = <&pinctrl_ap 0 0 37>;
[Severity: High]
Does this incorrectly reference &pinctrl_ap instead of a local pinctrl
node? This would map the NUB GPIOs onto the Application Processor (AP)
pin controller's domain, which could break GPIO operations for the NUB
controller and clobber the first 37 pins of the AP pin controller.
[ ... ]
> + pinctrl_aop: pinctrl@374824000 {
> + compatible = "apple,t6030-pinctrl", "apple,t8103-pinctrl";
> + reg = <0x3 0x74824000 0x0 0x4000>;
> +
> + interrupt-parent = <&aic>;
> + interrupts = <AIC_IRQ 394 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 395 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 396 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 397 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 398 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 399 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 400 IRQ_TYPE_LEVEL_HIGH>;
> +
> + clocks = <&clkref>;
> +
> + gpio-controller;
> + #gpio-cells = <2>;
> + gpio-ranges = <&pinctrl_ap 0 0 54>;
[Severity: High]
Is it possible this node also incorrectly references &pinctrl_ap instead
of its local node? Similar to the pinctrl_nub node, this would break AOP
GPIO operations and clobber the first 54 pins of the AP pin controller.
> + apple,npins = <54>;
> +
> + interrupt-controller;
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260709-apple-t603x-initial-devices-v1-0-55b305833123@jannau.net?part=11
next prev parent reply other threads:[~2026-07-09 7:57 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 7:30 [PATCH 00/11] Initial Apple M3 Pro, Max and Ultra device trees Janne Grunau
2026-07-09 7:30 ` [PATCH 01/11] dt-bindings: arm: apple: Add M3 Pro/Max/Ultra devices (T603x) Janne Grunau
2026-07-09 7:44 ` sashiko-bot
2026-07-09 17:47 ` Conor Dooley
2026-07-09 17:50 ` Conor Dooley
2026-07-09 18:05 ` Janne Grunau
2026-07-09 7:30 ` [PATCH 02/11] dt-bindings: interrupt-controller: apple,aic2: Invert #interrupt-cells condition Janne Grunau
2026-07-09 7:42 ` sashiko-bot
2026-07-09 17:49 ` Conor Dooley
2026-07-09 7:30 ` [PATCH 03/11] dt-bindings: interrupt-controller: apple,aic2: Add apple,t6031-aic3 compatible Janne Grunau
2026-07-09 17:49 ` Conor Dooley
2026-07-09 7:30 ` [PATCH 04/11] dt-bindings: arm: apple: apple,pmgr: Add t6030 and t6031 compatibles Janne Grunau
2026-07-09 7:44 ` sashiko-bot
2026-07-09 17:50 ` Conor Dooley
2026-07-09 7:30 ` [PATCH 05/11] dt-bindings: power: apple,pmgr-pwrstate: " Janne Grunau
2026-07-09 7:45 ` sashiko-bot
2026-07-09 17:51 ` Conor Dooley
2026-07-09 7:30 ` [PATCH 06/11] dt-bindings: watchdog: apple,wdt: " Janne Grunau
2026-07-09 17:51 ` Conor Dooley
2026-07-09 7:30 ` [PATCH 07/11] dt-bindings: pinctrl: apple,pinctrl: " Janne Grunau
2026-07-09 17:51 ` Conor Dooley
2026-07-10 19:48 ` Linus Walleij
2026-07-09 7:30 ` [PATCH 08/11] dt-bindings: i2c: apple,i2c: " Janne Grunau
2026-07-09 17:52 ` Conor Dooley
2026-07-09 23:17 ` Piotr Masłowski
2026-07-09 7:30 ` [PATCH 09/11] dt-bindings: pwm: apple,s5l-fpwm: " Janne Grunau
2026-07-09 7:48 ` sashiko-bot
2026-07-09 17:53 ` Conor Dooley
2026-07-09 7:30 ` [PATCH 10/11] arm64: dts: apple: Initial T603[124] (M3 Max and Ultra) device trees Janne Grunau
2026-07-09 7:53 ` sashiko-bot
2026-07-09 7:30 ` [PATCH 11/11] arm64: dts: apple: Initial T6030 (M3 Pro) " Janne Grunau
2026-07-09 7:57 ` sashiko-bot [this message]
2026-07-09 12:57 ` [PATCH 00/11] Initial Apple M3 Pro, Max and Ultra " Janne Grunau
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=20260709075707.B180E1F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=j@jannau.net \
--cc=linux-watchdog@vger.kernel.org \
--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