New AudioInjector.net Pi soundcard with low jitter audio in and out.
authorMatt Flax <flatmax@flatmax.org>
Mon, 16 May 2016 11:36:31 +0000 (21:36 +1000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:32:39 +0000 (16:32 +0100)
commit63afb5a8c8c353c296357f60fa7ad137ba81eaa1
tree3432adf24546b158d4a4dd3e53e5ba731fd7175c
parent86d808295ed41978de677bb6ef8cd85c2040d18f
New AudioInjector.net Pi soundcard with low jitter audio in and out.

Contains the sound/soc/bcm ALSA machine driver and necessary alterations to the Kconfig and Makefile.
Adds the dts overlay and updates the Makefile and README.
Updates the relevant defconfig files to enable building for the Raspberry Pi.
Thanks to Phil Elwell (pelwell) for the review, simple-card concepts and discussion. Thanks to Clive Messer for overlay naming suggestions.

Added support for headphones, microphone and bclk_ratio settings.

This patch adds headphone and microphone capability to the Audio Injector sound card. The patch also sets the bit clock ratio for use in the bcm2835-i2s driver. The bcm2835-i2s can't handle an 8 kHz sample rate when the bit clock is at 12 MHz because its register is only 10 bits wide which can't represent the ch2 offset of 1508. For that reason, the rate constraint is added.

ASoC: audioinjector-pi-soundcard: use modern dai_link style

Signed-off-by: Hui Wang <hui.wang@canonical.com>
sound/soc/bcm/audioinjector-pi-soundcard.c [new file with mode: 0644]