AsahiLinux / linux

Linux kernel source tree
Other
2.35k stars 90 forks source link

Microphones via AOP (+ a few SEP bits). #342

Open WhatAmISupposedToPutHere opened 2 weeks ago

WhatAmISupposedToPutHere commented 2 weeks ago

This adds the AOP driver, microphone support, lid angle sensor driver, and ambient light sensor driver (disabled pending some m1n1 work). Also contains just enough of a SEP driver to unlock SECDIS on base m1.

Obsoletes #151

Draft, since the mic output is basically useless without correct userspace configs (coming soontm).

jannau commented 1 day ago

I've merged everything except the device tree changes into bits/ branches. Most of it into bits/190-rust and bits/250-aop but fixups in there respective bits/* branches. I'm not happy with the split-up as merging bits/250-aop needs manual conflict resolution. I can't think of anything better though. Will get easier when we upstream more changes.

I did some minimal fixups. Can you please send 85e9396f80328f839c8864308af9ba91d128d970 ("dmaengine: apple-admac: Avoid accessing registers in probe") (without the compatible addition) as soon as possible. If I remember correctly special power sequencing requirements do not warrant a different compatible. If we fix upstream now we can upstream aop-admac with the same compatible string later. Downstream we will keep "apple,admac2" for now.

For commit b63a09090638 ("rust: Only export module id tables if building as module") please reply to https://lore.kernel.org/rust-for-linux/20241022213221.2383-5-dakr@kernel.org/