]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: ti: Convert N810 ASoC to GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Sep 2023 13:25:29 +0000 (15:25 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 2 Oct 2023 13:06:19 +0000 (14:06 +0100)
commit22041ed154aaf89f31306014a305dde516c308ea
tree2e33d91b7459d7264593ef8f4f57e8d1b5aa2fb8
parent5b12dd84499a74be9d133e020e424025359a244f
ASoC: ti: Convert N810 ASoC to GPIO descriptors

The N810 uses GPIO descriptors pretty much exclusively, but not
for ASoC, so let's fix it. Register the pins in a descriptor table
in the machine since the ASoC device is not using device tree.

Use static locals for the GPIO descriptors because I'm not able
to experient with better state storage on any real hardware. Others
using the N810 can come afterwards and improve this.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Link: https://lore.kernel.org/r/20230926-descriptors-asoc-ti-v1-1-60cf4f8adbc5@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/mach-omap2/board-n8x0.c
sound/soc/ti/n810.c