Mark Brown | b6877a4 | 2010-03-03 11:43:38 +0000 | [diff] [blame] | 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 { |
Mark Brown | 913d7b4 | 2010-03-03 13:47:03 +0000 | [diff] [blame] | 19 | bool capless; /* Headphone outputs configured in capless mode */ |
| 20 | |
Mark Brown | b6877a4 | 2010-03-03 11:43:38 +0000 | [diff] [blame] | 21 | int dres; /* Discharge resistance for headphone outputs */ |
| 22 | }; |
| 23 | |
| 24 | #endif |