Skip to content

arm64: dts: apple: Add built-in keyboard support for M4 Macbook Pro - #567

Open
Ryan1202 wants to merge 3 commits into
AsahiLinux:bits/000-devicetreefrom
Ryan1202:bits-000-devicetree
Open

arm64: dts: apple: Add built-in keyboard support for M4 Macbook Pro#567
Ryan1202 wants to merge 3 commits into
AsahiLinux:bits/000-devicetreefrom
Ryan1202:bits-000-devicetree

Conversation

@Ryan1202

Copy link
Copy Markdown

Add device tree support required for the built-in keyboard on the M4 MacBook Pro (J604), including SMC, MTP, DockChannel and DART.

I wrote it based on the t8122 device tree. But unlike t8122, t8132 uses stream ID 0 instead of 1. I guess it's related to the sid field in /arm-io/dart-mtp in ADT.

The device tree changes were only tested as part of the asahi branch on an M4 MacBook Pro (J604).

Add the SMC mailbox, SMC and SMC GPIO controller nodes for t8132.

Tested on an M4 MacBook Pro (J604), where the SMC and GPIO controllers probe successfully.

Signed-off-by: Jiajun Wang <ryan1202@foxmail.com>
Add the MTP, mailbox, DART, DockChannel and HID transport nodes for t8132.

Unlike t8122, the MTP DART uses stream ID 0 on t8132.

Signed-off-by: Jiajun Wang <ryan1202@foxmail.com>
Tested on an M4 MacBook Pro (J604), the built-in keyboard works.

Signed-off-by: Jiajun Wang <ryan1202@foxmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant