Skip to content

ES8336 support

Pierre-Louis Bossart edited this page Nov 15, 2022 · 10 revisions

background

before filing any issues related to ES8336, please see the documentation in https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#es8336-support

You also want to enable dynamic debug as suggested in https://thesofproject.github.io/latest/getting_started/intel_debug/suggestions.html#enable-dynamic-debug. The recommended configuration is to copy this file sof-dyndbg.conf.txt as /etc/modprobe.d/sof-dyndbg.conf

For compilation support, see the documentation in https://thesofproject.github.io/latest/getting_started/setup_linux/install_locally.html

5.19 support

The branch https://github.com/thesofproject/linux/tree/es8336-v5.19 provides a shortcut to all the required commits on top of v5.19:

4608b85c5c598 ASoC: codecs: es8326: change es8326_regmap_config to static
d623d9059e514 ASoC: codecs: add support for ES8326
7e0275410befe ASoC: codecs: add suspend and resume for ES8316
b70675a5fd62e ASoC: SOF: Intel: hda: override mclk_id after parsing NHLT SSP blob
4ae3e6c75449f ALSA: hda: intel-nhlt: add intel_nhlt_ssp_mclk_mask()
e04a593f85b2b ASoC: SOF: add quirk to override topology mclk_id
a1d1b139831e0 ASoC: Intel: fix sof_es8336 probe
c61bd5b02fc13 ASoC: Intel: sof_es8336: remove hard-coded SSP selection
97f45ae36051a ASoC: Intel: sof_es8336: reset the num_links during probe
b28c6590d3459 ASoC: Intel: sof_es8336: add support for HDMI_In capture
55a2652ec1a36 ASoC: Intel: soc-acpi: Add entry for sof_es8336 in ADL match table
34049c693c596 ASoC: Intel: sof_es8336: ignore GpioInt when looking for speaker/headset GPIO lines
d6678c4b0d413 ASoC: Intel: sof_es8336: Fix GPIO quirks set via module option

6.0 support

The branch https://github.com/thesofproject/linux/tree/es8336-v6.0 provides a shortcut to all the required commits on top of v6.0:

c7c4f34586b13 ASoC: codecs: es8326: change es8326_regmap_config to static
0d9adabcaacee ASoC: codecs: add support for ES8326
0ca38023a073c ASoC: codecs: add suspend and resume for ES8316
ceb00f262a634 ASoC: SOF: Intel: hda: override mclk_id after parsing NHLT SSP blob
9d2c850b55b1e ALSA: hda: intel-nhlt: add intel_nhlt_ssp_mclk_mask()
0a7c25120f907 ASoC: SOF: add quirk to override topology mclk_id

The kernel configuration needs to include these two options

CONFIG_SND_SOC_INTEL_SOF_ES8336_MACH=m
CONFIG_SND_SOC_ES8316=m

Plus: New topology files added in /lib/firmware/intel/sof-tplg (link below)

es8336_topologies_main.tar.gz

Clone this wiki locally