diff options
author | Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> | 2014-09-29 15:41:10 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-30 08:27:27 -0400 |
commit | 555b9ee1368a9ceddd5c963ad918db5120638674 (patch) | |
tree | 155751d595b0e076783b7d808d0dc5690fd0c5d1 /sound/soc/codecs/Kconfig | |
parent | fe2a08b3bf1a6e35c00e18843bc19aa1778432c3 (diff) |
ASoC: ssm2602: add device tree bindings
Allow the ssm2602/ssm2603/ssm2604 codec driver to be
instantiated from the device tree.
Also, add Kconfig prompts to allow manual selection of both the
I2C and SPI configuration versions of the driver.
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r-- | sound/soc/codecs/Kconfig | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 8838838e25ed..3649e7399ec7 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig | |||
@@ -520,12 +520,16 @@ config SND_SOC_SSM2602 | |||
520 | tristate | 520 | tristate |
521 | 521 | ||
522 | config SND_SOC_SSM2602_SPI | 522 | config SND_SOC_SSM2602_SPI |
523 | tristate "Analog Devices SSM2602 CODEC - SPI" | ||
524 | depends on SPI_MASTER | ||
523 | select SND_SOC_SSM2602 | 525 | select SND_SOC_SSM2602 |
524 | tristate | 526 | select REGMAP_SPI |
525 | 527 | ||
526 | config SND_SOC_SSM2602_I2C | 528 | config SND_SOC_SSM2602_I2C |
529 | tristate "Analog Devices SSM2602 CODEC - I2C" | ||
530 | depends on I2C | ||
527 | select SND_SOC_SSM2602 | 531 | select SND_SOC_SSM2602 |
528 | tristate | 532 | select REGMAP_I2C |
529 | 533 | ||
530 | config SND_SOC_STA32X | 534 | config SND_SOC_STA32X |
531 | tristate | 535 | tristate |