Device Tree Patches Posted For Review To Boot Linux On Apple A7 To A11 Devices

Written by Michael Larabel in Apple on 11 September 2024 at 06:50 AM EDT. 5 Comments
APPLE
Device Tree patches have been posted to the Linux kernel mailing list for review and possible upstreaming to the mainline Linux kernel for booting Apple iPhones, iPads, and iPods that use the A7 to A11 SoCs.

The Device Tree (DT) patches for the many Apple A7 / A8 / A8X / A9 / A9X / A10 / A10X / A11 powered devices is out for review on the Linux kernel mailing list. This follows various other Linux kernel driver patches posted for review recently to fix various issues needed for enabling the Apple iPhones / iPads / iPod Touch / Apple TVs on Linux.

Linux LKML patch series for Apple A7 to A11 DTs


The DT support was worked out by open-source developer Konrad Dybcio and posted to the LKML by Nick Chan with additional modifications. Chan explained with the cover letter on the patch series:
"This series adds device trees for all A7-A11 SoC based iPhones, iPads, iPod touches and Apple TVs.

The following devices has been excluded from this series:
- All T2 devices (A10-based): bootloader does not work (yet)
- HomePod: Not tested, and it's also a different form factor

This series supports the following on all devices:
- SMP (spin-table)
- UART
- simple-framebuffer
- watchdog
- timer
- pinctrl
- AIC interrupts

The following is supported on A7-A10:
- gpio-keys
The buttons on A11 based devices like the iPhone X is a SMC subdevice, and cannot be supported in this way.

The following is supported on A10:
- cpufreq

A10(X) has performance and efficiency core pairs that act as single logical cores, and only one type of core can be active at a given time. This results in a core that suddenly have its capacity lowered in low p-states, so the frequencies of the low p-states must be adjusted."

Those interested in seeing these older Apple device/SoC support with the mainline Linux kernel can see this patch series now under review.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week