ASoC: SDCA: Generic interrupt support
authorMaciej Strozek <mstrozek@opensource.cirrus.com>
Tue, 24 Jun 2025 12:28:43 +0000 (13:28 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 30 Jun 2025 15:04:17 +0000 (16:04 +0100)
commitb126394d9ec6f9d8322cf392ba23d4a5f96faf5a
treed0e28854aeebc8884469561071758aabd16db3ad
parent775f5729b47d8737f4f98e0141f61b3358245398
ASoC: SDCA: Generic interrupt support

Add a library supporting usage of SDCA interrupts, using regmap irq
framework. The library adds functions for parsing ACPI for
interrupt-related information, configuring irq chip and requesting
individual irqs. Calling code (SDCA function code) is expected to also
substitute the library's base irq handler for its own, appropriate
callback.

Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20250624122844.2761627-7-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sdca_interrupts.h [new file with mode: 0644]
sound/soc/sdca/Kconfig
sound/soc/sdca/Makefile
sound/soc/sdca/sdca_interrupts.c [new file with mode: 0644]