diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2013-05-23 14:14:50 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-25 10:33:30 -0400 |
| commit | b6b5e76bb8bb22ecff90a7840dc4845d63328289 (patch) | |
| tree | bc8fa98cf13025bce74dc37e212be6de3ae86679 /include/linux/platform_data | |
| parent | c7788792a5e7b0d5d7f96d0766b4cb6112d47d75 (diff) | |
ASoC: Add ssm2518 support
This patch adds a ASoC CODEC driver for the SSM2516. The SSM2516 is a stereo
Class-D audio amplifier with an I2S interface for audio in and a built-in
dynamic range control processor.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/ssm2518.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/platform_data/ssm2518.h b/include/linux/platform_data/ssm2518.h new file mode 100644 index 000000000000..9a8e3ea287e3 --- /dev/null +++ b/include/linux/platform_data/ssm2518.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* | ||
| 2 | * SSM2518 amplifier audio driver | ||
| 3 | * | ||
| 4 | * Copyright 2013 Analog Devices Inc. | ||
| 5 | * Author: Lars-Peter Clausen <lars@metafoo.de> | ||
| 6 | * | ||
| 7 | * Licensed under the GPL-2. | ||
| 8 | */ | ||
| 9 | |||
| 10 | #ifndef __LINUX_PLATFORM_DATA_SSM2518_H__ | ||
| 11 | #define __LINUX_PLATFORM_DATA_SSM2518_H__ | ||
| 12 | |||
| 13 | /** | ||
| 14 | * struct ssm2518_platform_data - Platform data for the ssm2518 driver | ||
| 15 | * @enable_gpio: GPIO connected to the nSD pin. Set to -1 if the nSD pin is | ||
| 16 | * hardwired. | ||
| 17 | */ | ||
| 18 | struct ssm2518_platform_data { | ||
| 19 | int enable_gpio; | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif | ||
