Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645)
authorClive Messer <clive.m.messer@gmail.com>
Mon, 19 Sep 2016 13:01:04 +0000 (14:01 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:07:57 +0000 (00:07 +0100)
commit4cea0f03fc9854b8688bcae6e74395fd5615fb5e
tree96ed0371a1d8b1270a66ce5a37b85d50fa7f5675
parente7f33bceae923476f2239d197b13c6d99c3cb704
Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645)

Add initial 2 channel (stereo) support for Allo Piano DAC (2.0/2.1) boards,
using allo-piano-dac-pcm512x-audio overlay and allo-piano-dac ALSA ASoC
machine driver.

NB. The initial support is 2 channel (stereo) ONLY!
(The Piano DAC 2.1 will only support 2 channel (stereo) left/right output,
 pending an update to the upstream pcm512x codec driver, which will have
 to be submitted via upstream. With the initial downstream support,
 provided by this patch, the Piano DAC 2.1 subwoofer outputs will
 not function.)

Signed-off-by: Baswaraj K <jaikumar@cem-solutions.net>
Signed-off-by: Clive Messer <clive.messer@digitaldreamtime.co.uk>
Tested-by: Clive Messer <clive.messer@digitaldreamtime.co.uk>
ASoC: allo-piano-dac: fix S24_LE format

Remove set_bclk_ratio call so 24-bit data is transmitted in
24 bclk cycles.

Also remove hw_params and ops as they are no longer needed.

Signed-off-by: Matthias Reichl <hias@horus.com>
sound/soc/bcm/allo-piano-dac.c [new file with mode: 0644]