diff options
author | Bard Liao <bardliao@realtek.com> | 2013-06-11 01:10:16 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-12 12:46:54 -0400 |
commit | 997b05203b0a710e11f9b2732bef2d2fdc1d824b (patch) | |
tree | ac7d79d90343e22be82469c6e7e0438fbe8d28bb /include | |
parent | 317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff) |
ASoC: add RT5640 CODEC driver
This patch adds the ALC5640 codec driver.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Bard Liao <bardliao@realtek.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/rt5640.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/sound/rt5640.h b/include/sound/rt5640.h new file mode 100644 index 000000000000..27cc75ed67f8 --- /dev/null +++ b/include/sound/rt5640.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * linux/sound/rt5640.h -- Platform data for RT5640 | ||
3 | * | ||
4 | * Copyright 2011 Realtek Microelectronics | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __LINUX_SND_RT5640_H | ||
12 | #define __LINUX_SND_RT5640_H | ||
13 | |||
14 | struct rt5640_platform_data { | ||
15 | /* IN1 & IN2 can optionally be differential */ | ||
16 | bool in1_diff; | ||
17 | bool in2_diff; | ||
18 | |||
19 | int ldo1_en; /* GPIO for LDO1_EN */ | ||
20 | }; | ||
21 | |||
22 | #endif | ||