ASoC: Intel: add sof-nau8825 machine driver
authorMac Chiang <mac.chiang@intel.com>
Tue, 9 Nov 2021 13:38:08 +0000 (08:38 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 15 Nov 2021 19:25:22 +0000 (19:25 +0000)
commit8d0872f6239f9d067d538d8368bdec643bb0d255
treebdd3ad53b1fe39bac6631196493419bba5438b7f
parent95cead06866a95baf0f8355bba81a8142d5908cf
ASoC: Intel: add sof-nau8825 machine driver

The machine driver is a generic machine driver for SOF with nau8825
codec w or w/o speaker additionally. Depending on the SOC
HDMI, DMIC, Bluetooth offload support are added dynamically.

Only add information related to SOF since the machine driver was
only tested with SOF.

There are currently 4 i2s machine variants of ADL.
This supports the headphone NUA8825(SSP0) alone or with smart or dumb
speakers.
Board 2,3,4 use SSP2 for Bluetooth offload support except board 1.

Board 1 : NAU8825 + RT1019P(SSP2)
Board 2 : NAU8825 + MAX98373(SSP1)
Board 3 : NAU8825 + MAX98360A(SSP1)
Board 4 : NAU8825

Signed-off-by: David Lin <CTLIN0@nuvoton.com>
Co-developed-by: Mac Chiang <mac.chiang@intel.com>
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211109133808.8729-1-mac.chiang@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_nau8825.c [new file with mode: 0644]
sound/soc/intel/common/soc-acpi-intel-adl-match.c