aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tas2770.h
diff options
context:
space:
mode:
authorGravatar Dan Murphy <dmurphy@ti.com> 2020-09-23 08:25:56 -0500
committerGravatar Mark Brown <broonie@kernel.org> 2020-09-23 18:48:01 +0100
commit5d0b9dfe0de26b8c4242145cbf7de3a5a2e98293 (patch)
tree4eb8492a0e659208c2f25f54ea953f1aea02ce90 /sound/soc/codecs/tas2770.h
parentdt-bindings: tas2770: Add shutdown gpio property (diff)
downloadlinux-5d0b9dfe0de26b8c4242145cbf7de3a5a2e98293.tar.gz
linux-5d0b9dfe0de26b8c4242145cbf7de3a5a2e98293.tar.bz2
linux-5d0b9dfe0de26b8c4242145cbf7de3a5a2e98293.zip
ASoC: tas2770: Add shutdown capability via a GPIO
Add the hardware shutdown mechanism to shutdown and wake up the device via a GPIO. Signed-off-by: Dan Murphy <dmurphy@ti.com> Link: https://lore.kernel.org/r/20200923132600.10652-2-dmurphy@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2770.h')
-rw-r--r--sound/soc/codecs/tas2770.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tas2770.h b/sound/soc/codecs/tas2770.h
index 07e3556fc702..b3fc4a487033 100644
--- a/sound/soc/codecs/tas2770.h
+++ b/sound/soc/codecs/tas2770.h
@@ -134,6 +134,7 @@ struct tas2770_priv {
int power_state;
int asi_format;
struct gpio_desc *reset_gpio;
+ struct gpio_desc *sdz_gpio;
int sampling_rate;
int channel_size;
int slot_width;