linux-stable/sound/soc
Pierre-Louis Bossart 651c304df7
ASoC: Intel: sof_es8336: use NHLT information to set dmic and SSP
Since we see a proliferation of devices with various configurations,
we want to automatically set the DMIC and SSP information. This patch
relies on the information extracted from NHLT and partially reverts
existing DMI quirks added by commit a164137ce9 ("ASoC: Intel: add
machine driver for SOF+ES8336")

Note that NHLT can report multiple SSPs, choosing from the
ssp_link_mask in an MSB-first manner was found experimentally to work
fine.

The only thing that cannot be detected is the GPIO type, and users may
want to use the quirk override parameter if the 'wrong' solution is
provided.

Tested-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220308192610.392950-15-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-03-09 13:30:27 +00:00
..
adi
amd ASoC: amd: acp3x: Fix signedness bug in acp3x 2022-03-08 12:27:56 +00:00
atmel Add driver for SAMA7G5's PDMC 2022-03-08 17:19:20 +00:00
au1x
bcm ASoC: bcm: Use platform_get_irq() to get the interrupt 2021-12-21 18:05:43 +00:00
cirrus ARM: SoC drivers for 5.16 2021-11-03 17:00:52 -07:00
codecs ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe 2022-03-08 12:32:01 +00:00
dwc ASoC: dwc-i2s: Handle errors for clk_enable 2022-03-02 13:45:24 +00:00
fsl ASoC: fsl_sai: implement 1:1 bclk:mclk ratio support 2022-03-07 13:13:10 +00:00
generic ASoC: audio_graph_card2: Add support for variable slot widths 2022-03-07 13:12:58 +00:00
hisilicon
img ASoC: img: Use dev_err_probe() helper 2021-12-20 12:47:16 +00:00
intel ASoC: Intel: sof_es8336: use NHLT information to set dmic and SSP 2022-03-09 13:30:27 +00:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8192-mt6359: Fix error handling in mt8192_mt6359_dev_probe 2022-03-08 12:27:59 +00:00
meson ASoC: Merge fixes 2021-12-31 13:23:28 +00:00
mxs ASoC: mxs: Fix error handling in mxs_sgtl5000_probe 2022-03-08 13:41:15 +00:00
pxa
qcom ASoC: qcom: select correct WCD938X config for SC7280 2022-03-07 13:14:55 +00:00
rockchip ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe 2022-03-08 12:27:57 +00:00
samsung ASoC: samsung: Explicitly include gpiolib header 2022-02-03 11:31:00 +00:00
sh ASoC: fsi: Add check for clk_enable 2022-03-07 13:14:56 +00:00
sof ASoC: Intel: soc-acpi: quirk topology filename dynamically 2022-03-09 13:30:18 +00:00
spear
sprd
sti
stm ASoC: stm: Use dev_err_probe() helper 2021-12-20 12:47:23 +00:00
sunxi ASoC: sun4i-i2s: Add support for the R329/D1 variant 2022-02-03 11:30:57 +00:00
tegra ASoC: tegra20: spdif: make const array rates static 2022-02-15 12:52:44 +00:00
ti ASoC: ti: davinci-i2s: Add check for clk_enable() 2022-02-28 13:33:54 +00:00
uniphier ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA 2021-11-25 11:54:30 +00:00
ux500
xilinx ASoC: xilinx: xlnx_i2s: Handle sysclk setting 2022-01-24 19:45:38 +00:00
xtensa
Kconfig
Makefile
soc-ac97.c
soc-acpi.c ASoC: soc-acpi: Set mach->id field on comp_ids matches 2021-11-22 15:40:01 +00:00
soc-card.c
soc-component.c ASoC: soc-component: add snd_soc_pcm_component_delay() 2021-11-29 12:19:41 +00:00
soc-compress.c ASoC: soc-compress: prevent the potentially use of null pointer 2022-03-02 13:45:26 +00:00
soc-core.c ASoC: soc-core: skip zero num_dai component in searching dai name 2022-02-15 12:52:45 +00:00
soc-dai.c ASoC: soc-dai: update snd_soc_dai_delay() to snd_soc_pcm_dai_delay() 2021-11-29 12:19:40 +00:00
soc-dapm.c ASoC: DAPM: Cover regression by kctl change notification fix 2021-11-05 12:58:12 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: dmaengine: do not use a NULL prepare_slave_config() callback 2022-03-08 13:38:56 +00:00
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: fix BE handling of PAUSE_RELEASE 2021-12-14 17:15:48 +00:00
soc-topology-test.c
soc-topology.c ASoC: topology: Optimize soc_tplg_dapm_graph_elems_load behavior 2022-01-24 13:31:23 +00:00
soc-utils.c ASoC: Stop dummy from overriding hwparams 2021-10-29 16:49:45 +01:00