mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

Tidy up a few bits of the SDCA Kconfig. Default both HID and IRQ to enabled, since typically if one wants SDCA all the functionality will be expected. Finally, update the IRQ support to match the changes made to the HID support. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20250711100616.296329-2-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
32 lines
665 B
Plaintext
32 lines
665 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
menu "SoundWire (SDCA)"
|
|
|
|
config SND_SOC_SDCA
|
|
tristate
|
|
depends on ACPI
|
|
help
|
|
This option enables support for the MIPI SoundWire Device
|
|
Class for Audio (SDCA).
|
|
|
|
config SND_SOC_SDCA_HID
|
|
bool "SDCA HID support"
|
|
depends on SND_SOC_SDCA
|
|
depends on HID=y || HID=SND_SOC_SDCA
|
|
default y
|
|
help
|
|
This option enables support for audio jack button reporting using HID.
|
|
|
|
config SND_SOC_SDCA_IRQ
|
|
bool "SDCA IRQ support"
|
|
select REGMAP
|
|
select REGMAP_IRQ
|
|
depends on SND_SOC_SDCA
|
|
default y
|
|
help
|
|
This option enables support for SDCA IRQs.
|
|
|
|
config SND_SOC_SDCA_OPTIONAL
|
|
def_tristate SND_SOC_SDCA || !SND_SOC_SDCA
|
|
|
|
endmenu
|