From: sashiko-bot@kernel.org
To: "Michael Reeves" <michael.reeves077@gmail.com>
Cc: devicetree@vger.kernel.org, linux-input@vger.kernel.org,
robh@kernel.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com
Subject: Re: [PATCH v5 7/8] arm64: dts: apple: Add MTP DockChannel HID nodes
Date: Sun, 08 Nov 2026 07:40:38 +0000 [thread overview]
Message-ID: <sashiko-outbox-203632@kernel.org> (raw)
In-Reply-To: <20261108-b4-apple-mtp-keyboard-v5-7-e2c97b82669a@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] arm64: dts: apple: undocumented mtp_mbox and mtp_dart
compatibles on M3 SoCs
- [Low] arm64: dts: apple: MTP nodes violate ascending unit-address
sorting order
--
commit c67685ca53359623ed7c777d5acba1746d1c1301
Author: Michael Reeves <michael.reeves077@gmail.com>
arm64: dts: apple: Add MTP DockChannel HID nodes
This commit adds disabled MTP ASC mailbox, DART IOMMU, DockChannel
mailbox, and DockChannel HID device tree nodes for Apple M2 and M3 SoCs.
> diff --git a/arch/arm64/boot/dts/apple/t6030.dtsi b/arch/arm64/boot/dts/apple/t6030.dtsi
> index 524e532830e20..15c102758097b 100644
> --- a/arch/arm64/boot/dts/apple/t6030.dtsi
> +++ b/arch/arm64/boot/dts/apple/t6030.dtsi
> @@ -492,6 +492,53 @@ wdt: watchdog@3642b0000 {
> interrupts = <AIC_IRQ 480 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> + mtp_mbox: mbox@37a408000 {
> + compatible = "apple,t6030-asc-mailbox", "apple,asc-mailbox-v4";
> + reg = <0x3 0x7a408000 0x0 0x4000>;
> + interrupt-parent = <&aic>;
> + interrupts = <AIC_IRQ 953 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 954 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 955 IRQ_TYPE_LEVEL_HIGH>,
> + <AIC_IRQ 956 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "send-empty", "send-not-empty",
> + "recv-empty", "recv-not-empty";
> + #mbox-cells = <0>;
> + status = "disabled";
> + };
> +
> + mtp_dart: iommu@37a808000 {
> + compatible = "apple,t6030-dart", "apple,t8110-dart";
[Severity: Low]
Are the M3-family compatible strings in mtp_mbox and mtp_dart documented
in the binding schemas?
Running make dtbs_check fails because apple,t6030-asc-mailbox,
apple,t6031-asc-mailbox, and apple,t8122-asc-mailbox are not listed in
Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml, and
apple,t6030-dart, apple,t6031-dart, and apple,t8122-dart are not listed in
Documentation/devicetree/bindings/iommu/apple,dart.yaml (the same applies
to t6031-die0.dtsi and t8122.dtsi below).
> + reg = <0x3 0x7a808000 0x0 0x4000>;
> + interrupt-parent = <&aic>;
> + interrupts = <AIC_IRQ 937 IRQ_TYPE_LEVEL_HIGH>;
> + #iommu-cells = <1>;
> + status = "disabled";
> + };
> +
> + mtp_dockchannel: mailbox@37ab14000 {
> + compatible = "apple,t6030-dockchannel", "apple,t8112-dockchannel";
> + reg = <0x3 0x7ab14000 0x0 0x4000>,
> + <0x3 0x7ab30000 0x0 0x4000>,
> + <0x3 0x7ab34000 0x0 0x4000>;
> + reg-names = "irq", "config", "data";
> + interrupt-parent = <&aic>;
> + interrupts = <AIC_IRQ 939 IRQ_TYPE_LEVEL_HIGH>;
> + #mbox-cells = <0>;
> + apple,irq-index = <1>;
> + status = "disabled";
> + };
> +
> + mtp_hid: hid@37a400000 {
> + compatible = "apple,t6030-dockchannel-hid", "apple,t8112-dockchannel-hid";
> + reg = <0x3 0x7a400000 0x0 0x4000>,
> + <0x3 0x7ac00000 0x0 0x100000>;
> + reg-names = "asc", "sram";
> + mboxes = <&mtp_mbox>, <&mtp_dockchannel>;
> + mbox-names = "asc", "dockchannel";
> + iommus = <&mtp_dart 1>;
> + status = "disabled";
> + };
> +
> pinctrl_smc: pinctrl@36c820000 {
[Severity: Low]
This isn't a bug, but the new MTP nodes are out of unit-address order,
which triggers dt-check-style child-address-order warnings.
In all five files, mtp_hid (hid@...400000) is placed after mtp_mbox
(mbox@...408000), mtp_dart (iommu@...808000), and mtp_dockchannel
(mailbox@...b14000) despite having a lower unit address. In t6030.dtsi,
the MTP block at 37a400000..37ab14000 is also placed before
pinctrl@36c820000 and pinctrl@374824000, and in t6031-die0.dtsi the MTP
block at 2ac400000..2acb14000 is placed after serial@391200000 instead of
between pinctrl@2a4820000 and i2c@391010000.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261108-b4-apple-mtp-keyboard-v5-0-e2c97b82669a@gmail.com?part=7
next prev parent reply other threads:[~2026-11-08 7:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 7:25 [PATCH v5 0/8] Add support for Apple Silicon DockChannel internal keyboards Michael Reeves via B4 Relay
2026-11-08 7:25 ` [PATCH v5 1/8] dt-bindings: mailbox: apple: Add DockChannel mailbox Michael Reeves via B4 Relay
2026-11-08 7:25 ` [PATCH v5 2/8] dt-bindings: input: apple: Add DockChannel HID transport Michael Reeves via B4 Relay
2026-11-10 9:20 ` Krzysztof Kozlowski
2026-11-10 11:26 ` Michael Reeves
2026-11-10 11:30 ` Krzysztof Kozlowski
2026-11-11 1:57 ` Michael Reeves
2026-11-08 7:25 ` [PATCH v5 3/8] mailbox: apple: Add DockChannel FIFO controller Michael Reeves via B4 Relay
2026-11-08 7:45 ` sashiko-bot
2026-11-08 7:25 ` [PATCH v5 4/8] soc: apple: rtkit: Add tracekit endpoint Michael Reeves via B4 Relay
2026-11-08 7:25 ` [PATCH v5 5/8] HID: apple: Add support for DockChannel HID keyboards Michael Reeves via B4 Relay
2026-11-08 7:38 ` sashiko-bot
2026-11-08 7:25 ` [PATCH v5 6/8] HID: apple: Add DockChannel HID transport driver Michael Reeves via B4 Relay
2026-11-08 7:48 ` sashiko-bot
2026-11-08 7:25 ` [PATCH v5 7/8] arm64: dts: apple: Add MTP DockChannel HID nodes Michael Reeves via B4 Relay
2026-11-08 7:40 ` sashiko-bot [this message]
2026-11-08 7:48 ` Michael Reeves
2026-11-08 7:25 ` [PATCH v5 8/8] arm64: dts: apple: Enable DockChannel HID on M2 and M3 laptops Michael Reeves via B4 Relay
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-203632@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=michael.reeves077@gmail.com \
--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