ASoC: max9768: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 25 Aug 2023 08:12:11 +0000 (10:12 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:19:01 +0000 (01:19 +0100)
commit0015a18acf9ceafbf7e24f5addefce566326132b
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/20230825-descriptors-asoc-max-v1-1-b212292b2f08@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/max9768.h
sound/soc/codecs/max9768.c