OpenCloudOS-Kernel/sound/soc/intel
Mark Brown aa70527d36
Make headphone work on Huawei Matebook D15
Merge series from Mauro Carvalho Chehab <mchehab@kernel.org>:

Huawei Matebook D15 uses two different GPIOs are used to control the output:

	- gpio0 controls the speaker output;
	- gpio1 controls the headphone output.

Changing both at the same time cause spurious events that are mis-interpreted
as input events, causing troubles on apps. So, a delay is needed before turning
on such gpios.

Also, the headset microphone is connected to MIC1, instead of MIC2 port.

With this patch, plugging a headphone causes a jack event to trigger the speaker
supply, powering down the speaker and powering up the headphone output.
Removing the headphone also triggers the power supply, powering up the speaker
and powering down the headphone.

The headset microphone also works.
2022-04-08 12:08:37 +01:00
..
atom treewide: Replace zero-length arrays with flexible-array members 2022-02-17 07:00:39 -06:00
avs ASoC: Intel: avs: Code loading over HDA 2022-03-11 16:24:10 +00:00
boards ASoC: Intel: sof_es8336: Add a quirk for Huawei Matebook D15 2022-04-07 20:26:54 +01:00
catpt ASoC: Intel: catpt: use asoc_substream_to_rtd() 2022-03-08 12:27:52 +00:00
common ASoC: Intel: soc-acpi: correct device endpoints for max98373 2022-04-07 18:29:40 +01:00
keembay Merge remote-tracking branch 'asoc/for-5.13' into asoc-next 2021-04-23 19:01:02 +01:00
skylake flexible-array transformations for 5.18-rc1 2022-03-24 11:39:32 -07:00
Kconfig ASoC: Intel: avs: Code loading over HDA 2022-03-11 16:24:10 +00:00
Makefile ASoC: Intel: Introduce AVS driver 2022-03-11 16:23:54 +00:00