Ahead of the Linux 6.20~7.0 cycle kicking off next month, the Apple Silicon Device Tree updates have been sent out for queuing ahead of that next merge window. Notable this round are the Device Tree additions for rounding out the USB 2.0/3.x support with the USB-C ports.
Sven Peter sent out the Apple SoC DT updates this week for the Linux 6.20~7.0 cycle and most notable is radding all the needed pieces around USB3 support. The summary of the Device Tree updates include:
“- Add all required nodes and connections for USB3 support. This is responsible for the majority of the diffstat. The dt-bindings for the Type-C PHY are scheduled to be sent via the PHY tree and are already in next.
– Add RTC subnodes to the System Management Controller
– Add chassis-type property for all M1 and M2 machines
– Fix some minor power management issues
– Add backlight nodes for the A9X-based iPad Pro”
Janne Grunau explained on the patch series with the DT additions for the integrated Apple USB Type-C ports:
“Now that all dependencies for USB 2.0 and 3.x support are either merged (tipd changes in v6.18, dwc3-apple in v6.19-rc1) or in linux-next (Apple Type-C PHY) prepare device tree changes to expose the ports.
Each port on Apple silicon devices is driven by a separate collection of hardware blocks. For USB 2.0 and 3.x the collection consists of:
– Apple Type-C PHY, combo PHY for USB 2.0, USB 3.x, USB4/Thunderbolt and DisplayPort
– Synopsys Designware dwc3 USB controller
– two DART iommu instances for dwc3
– CD321x USB PD controller (similar to Ti’s TPS6598x series)The CD321x nodes are already present so this series add the remaining devices nodes, typec connector nodes and connections between all components.
The devices expose except for a few exceptions noted below all ports. M1 and M2 have two ports, M1 and M2 Pro and Max have four ports and M1 and M2 Ultra have eight ports. The Pro and Max based Macbook Pros use only three ports. The fourth port is used as DisplayPort PHY to drive a HDMI output via an integrated DP to HDMI converter. The Ultra based Mac studio devices only use six ports. The third and fourth port on the second die is completely fused off.”
So with this pull the USB Type-C DT additions are finally set for Apple M1 and M2 Macs plus the PHY additions also anticipated for Linux 6.20~7.0.
A second pull request this week for Apple SoC defconfig updates now enables most drivers required for Apple Silicon as modules inside the default kernel configuration.
