Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wm5100.h
Go to the documentation of this file.
1 /*
2  * linux/sound/wm5100.h -- Platform data for WM5100
3  *
4  * Copyright 2011 Wolfson Microelectronics. PLC.
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_WM5100_H
12 #define __LINUX_SND_WM5100_H
13 
18 };
19 
25 };
26 
31 };
32 
35  int hp_pol;
36  int micd_src;
37 };
38 
39 #define WM5100_GPIO_SET 0x10000
40 
41 struct wm5100_pdata {
42  int reset;
43  int ldo_ena;
44  int hp_pol;
45  int irq_flags;
46  int gpio_base;
47 
49 
50  /* Input pin mode selection */
52 
53  /* DMIC supply selection */
55 
56  int gpio_defaults[6];
57 };
58 
59 #endif