ASoC: max9768: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Sep 2023 08:23:48 +0000 (10:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 11:50:05 +0000 (12:50 +0100)
commit637a7969ef5780536f4d422f116fdee238bf1d18
tree2d8874da2f56031f539f6fc14b606680719325a2
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
ASoC: max9768: Convert to use GPIO descriptors

The MAX9768 is pretty straight forward to convert to GPIO
descriptors.

To name the GPIO properties, I looke at the bindings in
maxim,max9759.yaml which names these GPIO "mute" and
"shutdown" respectively.

No board files using platform data exist in the kernel, new
users can use GPIO descriptor tables if desired.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230911-descriptors-asoc-max-v2-1-b9d793fb768e@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/max9768.h
sound/soc/codecs/max9768.c