]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: boards: sof-wm8804: support for Hifiberry Digiplus boards
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 1 May 2020 15:16:25 +0000 (10:16 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 1 May 2020 16:45:22 +0000 (17:45 +0100)
commit024d060c37dd839cbcdc5c572f7069d99b48420e
tree0c6e5576110caa82502fdc5a6c3215ea656488d3
parentfce2c4e7b40610c8f9b61bd4289181219dbc84b5
ASoC: Intel: boards: sof-wm8804: support for Hifiberry Digiplus boards

Add a new machine driver to interface with WM8804. The code is based
on settings found in sound/soc/bcm/hifiberry-digi.c in the Raspberry
PI tree.

Tested on Up2 with Digi+ IO (capture+playback) and Digi+ PRO (playback
with two local oscillators supported). The codec is clock master in
both cases.

Capture support has known clocking restrictions: the transmitter needs
to be active for the clock recovery, the "Tx Source" mixer set to
"S/PDIF RX". Playback will only work while capture is active.

When Capture is not desired, or when there is no RX connector, the "Tx
Source" mixer should be set to "AIF"

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200501151625.17820-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Kconfig
sound/soc/intel/boards/Makefile
sound/soc/intel/boards/sof_wm8804.c [new file with mode: 0644]