aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2023-09-11 10:23:48 +0200
committerMark Brown <broonie@kernel.org>2023-09-11 12:50:05 +0100
commit637a7969ef5780536f4d422f116fdee238bf1d18 (patch)
tree2d8874da2f56031f539f6fc14b606680719325a2 /include/sound
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
downloadlinux-637a7969ef5780536f4d422f116fdee238bf1d18.tar.gz
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>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/max9768.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sound/max9768.h b/include/sound/max9768.h
index 0f78b41d030ec..8509ba0079b03 100644
--- a/include/sound/max9768.h
+++ b/include/sound/max9768.h
@@ -9,14 +9,10 @@
/**
* struct max9768_pdata - optional platform specific MAX9768 configuration
- * @shdn_gpio: GPIO to SHDN pin. If not valid, pin must be hardwired HIGH
- * @mute_gpio: GPIO to MUTE pin. If not valid, control for mute won't be added
* @flags: configuration flags, e.g. set classic PWM mode (check datasheet
* regarding "filterless modulation" which is default).
*/
struct max9768_pdata {
- int shdn_gpio;
- int mute_gpio;
unsigned flags;
#define MAX9768_FLAG_CLASSIC_PWM (1 << 0)
};