Add aplaudio(4) and aplmca(4). The aplmca(4) driver controls the hardware
authorkettenis <kettenis@openbsd.org>
Wed, 3 Aug 2022 13:42:16 +0000 (13:42 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 3 Aug 2022 13:42:16 +0000 (13:42 +0000)
commit7400b10707056ecef3b64bcd12a4351dc94a1512
treee7ee2f72b85d3484cfcf05980c7018f5afa76396
parent105a72367089d8dd037f3c9ee097d6dbf3f08e05
Add aplaudio(4) and aplmca(4).  The aplmca(4) driver controls the hardware
block that takes data from apldma(4), serializes it and sends it out on
the i2s ports.  The aplaudio(4) driver ties together aplmca(4) and various
codecs to present an audio(4) interface to the system.

This is still WIP, but good enough to play back audio on the speaker in the
M1 mini.

ok patrick@
sys/arch/arm64/conf/GENERIC
sys/arch/arm64/conf/files.arm64
sys/arch/arm64/dev/aplaudio.c [new file with mode: 0644]
sys/arch/arm64/dev/aplmca.c [new file with mode: 0644]
sys/arch/arm64/dev/aplmca.h [new file with mode: 0644]