diff options
Diffstat (limited to 'include/sound/wm8960.h')
-rw-r--r-- | include/sound/wm8960.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/sound/wm8960.h b/include/sound/wm8960.h new file mode 100644 index 000000000000..74e9a95529c5 --- /dev/null +++ b/include/sound/wm8960.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | * wm8960.h -- WM8960 Soc Audio driver platform data | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | #ifndef _WM8960_PDATA_H | ||
10 | #define _WM8960_PDATA_H | ||
11 | |||
12 | #define WM8960_DRES_400R 0 | ||
13 | #define WM8960_DRES_200R 1 | ||
14 | #define WM8960_DRES_600R 2 | ||
15 | #define WM8960_DRES_150R 3 | ||
16 | #define WM8960_DRES_MAX 3 | ||
17 | |||
18 | struct wm8960_data { | ||
19 | bool capless; /* Headphone outputs configured in capless mode */ | ||
20 | |||
21 | int dres; /* Discharge resistance for headphone outputs */ | ||
22 | }; | ||
23 | |||
24 | #endif | ||