forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microphones via AOP (+ a few SEP bits). #342
Draft
WhatAmISupposedToPutHere
wants to merge
19
commits into
AsahiLinux:asahi-wip
Choose a base branch
from
WhatAmISupposedToPutHere:aop
base: asahi-wip
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Microphones via AOP (+ a few SEP bits). #342
WhatAmISupposedToPutHere
wants to merge
19
commits into
AsahiLinux:asahi-wip
from
WhatAmISupposedToPutHere:aop
+3,509
−14
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WhatAmISupposedToPutHere
force-pushed
the
aop
branch
from
November 10, 2024 22:27
2b10dce
to
45cd0d4
Compare
WhatAmISupposedToPutHere
changed the title
Microphones via AOP.
Microphones via AOP (+ a few SEP bits).
Nov 10, 2024
WhatAmISupposedToPutHere
force-pushed
the
aop
branch
from
November 12, 2024 09:02
45cd0d4
to
d9ef781
Compare
jannau
force-pushed
the
asahi-wip
branch
2 times, most recently
from
November 17, 2024 18:06
1543478
to
44dba3b
Compare
WhatAmISupposedToPutHere
force-pushed
the
aop
branch
from
November 18, 2024 13:44
d9ef781
to
0e12ac5
Compare
jannau
force-pushed
the
asahi-wip
branch
2 times, most recently
from
November 23, 2024 11:23
3b28ebb
to
9e262c5
Compare
The ADMAC attached to the AOP has complex power sequencing, and is power gated when the probe callback runs. Move the register reads to other functions, where we can guarantee that the hardware is switched on. Signed-off-by: Sasha Finkelstein <[email protected]>
To be used by RTKit consumers to check if an endpoint is present and should be enabled. Signed-off-by: Sasha Finkelstein <[email protected]>
This system endpoint is advertised by AOP and also needs to be turned on for it to function. Signed-off-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Sasha Finkelstein <[email protected]>
Similar in function to the one from std, but takes GFP flags. Signed-off-by: Sasha Finkelstein <[email protected]>
Just a wrapper over dev->parent. Signed-off-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Sasha Finkelstein <[email protected]>
This is the base device for a multi-function co-processor present on certain Apple SoCs. On M-series Macs it is in charge of internal microphones, and various environmental sensors. Signed-off-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Sasha Finkelstein <[email protected]>
Apple SoCs have their microphones connected to the AOP co-processor, in order to among other things implement the "voicetrigger" functionality. Add a driver for the "High power audio input" AOP endpoint. Signed-off-by: Sasha Finkelstein <[email protected]>
The AOP co-processor present on certain Apple SoCs exposes various environmental sensors as "HID" (really not) devices. Add drivers for the ambient light and lid angle sensors exposed that way. Signed-off-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Sasha Finkelstein <[email protected]>
This is a co-processor in charge of various security-related features on Apple SoCs. This driver only boots the firmware, which is needed to unlock the mic secure disable on certain laptop models. Signed-off-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Sasha Finkelstein <[email protected]>
Signed-off-by: Sasha Finkelstein <[email protected]>
WhatAmISupposedToPutHere
force-pushed
the
aop
branch
from
November 23, 2024 18:39
0e12ac5
to
34a5c14
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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).