HomeFreeBSD

hda: add macbook air 6,1 and 6,2 GPIO to enable amplifier

Description

hda: add macbook air 6,1 and 6,2 GPIO to enable amplifier

GPIO0 needs to be flipped on to enable the amplifier.

The CS4208 looks /sort/ of like previous cirrus logic codecs,
enough for audio to work. This actually provides working audio
on my mbair 6,2 but it doesn't yet detect the jack.

That requires patches to the pin configs, which is going to
need some further work.

Differential Revision: https://reviews.freebsd.org/D49350
Reviewed by: christos

Details

Provenance
adrianAuthored on Jan 24 2023, 7:37 AM
Reviewer
christos
Differential Revision
D49350: hda: add macbook air 6,1 and 6,2 GPIO to enable amplifier
Parents
rG5648c1d6f3b0: ufs_aclcheck(): accurately dereference vp->v_mount
Branches
Unknown
Tags
Unknown