t8122 dts tweaks#2
Open
noopwafel wants to merge 6 commits intoIntegralPilot:bits/001-devicetree-m3from
Open
Conversation
The internal keyboard and trackpad HID on MacBook variants of the Apple M3 (t8122) SoC are connected through a Apple -developed protocol called DockChannel and mediated by a coprocessor known as the Multi-Touch Processor (MTP). This commit adds the nessecary device tree nodes to the M3's device tree for internal HID to work. It is disabled by default, to be enabled only in MackBook board files where it is tested and confirmed to work. Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
On Apple Silicon, NVMe communication is mediated by a coprocessor known as the ANS, and protected by its own IOMMU known as the SART. Add the following nodes to the M3 (t8122) device tree: - Mailbox for the ANS coprocessor - SART (IOMMU for the ANS coprocessor) - The NVMe / ANS coprocessor itself Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
Add a device tree for the Apple MacBook Air (13-inch, M3, 2024) board variant of the M3 (t8122), known as J613. It enables and configures the keyboard backlight and internal HID nodes, as it is a laptop variant which has these devices. Also add this new device tree to the Makefile, so it is built. Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
Signed-off-by: Alyssa Milburn <amilburn@zall.org>
abc57f7 to
c824e15
Compare
This only includes the first port, because it's the only port that is present on my hardware, and only includes the pwren gpio for J613. Signed-off-by: Alyssa Milburn <amilburn@zall.org>
c824e15 to
63f8638
Compare
Author
|
Pushed the basics for pcie too, although perhaps that should be a separate PR. It is compatible with apple,t6020-pcie (I didn't add it to the compatible list but maybe we should). To get wifi/etc you also need to copy-and-paste the relevant other bits into the J613 dts. |
f097126 to
e320a67
Compare
Owner
|
Thanks! I applied the fix and added you as Co-developed-by for the MTP commit. I also added the commit for PCIe (which, in my tests, on its own was sufficient for WiFI to work, without the other parts), however changed the |
f78000b to
4d9222e
Compare
The sub-nodes, and also the aliases so m1n1 can populate fields. Signed-off-by: Alyssa Milburn <amilburn@zall.org>
4d9222e to
8d6e910
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
will push deltas on top of your draft t8122 dts to this branch