orangepizero2w: fix ethernet using sunxi-gmac driver#9815
Conversation
It is patched into Armbian kernel sources, and was enabled in Linux 6.12, but has not been enabled anymore with Linux 6.18 and above. Additionally, a possible attempt to split the AC200 related patch ended up with half of sunxi-gmac dependencies missing, including such which are explicitly enabled in defconfs, including e.g. CONFIG_AC200_PHY_SUNXI. The mainline driver dwmac-sun8i, that might have been seen as possible replacement for sunxi-gmac, does not support the Ethernet chip of the Orange Pi Zero 2W expansion board yet. Signed-off-by: MichaIng <micha@dietpi.com>
📝 WalkthroughWalkthroughThis PR adds kernel network driver configuration and device support for two distinct components: the SUNXI GMAC Ethernet driver is enabled as a loadable module in current and edge kernel configurations, while support for the X-Powers AC200 mixed-signal chip (with MFD core, Ethernet PHY, and codec capability) is added via new driver patches for both the 6.18 and 7.0 kernel archives. ChangesSUNXI GMAC Ethernet Driver Enablement
AC200 Mixed-Signal Chip Driver Support
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Micha did some cleanup after my mess with the sunxi patchset. Well, it is what it is when no professional wants to tackle an issue but leave it to an amateur like myself to do it 😁 . Anyway below is the commit message.
How Has This Been Tested?
Checklist:
Summary by CodeRabbit
Release Notes