blob: cc32aff53222c6924417a5fcc2df3ec662229088 [file] [log] [blame]
Mark Brown9a76f1f2010-08-05 13:20:59 +01001/*
2 * wm8962.h -- WM8962 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 _WM8962_PDATA_H
10#define _WM8962_PDATA_H
11
12#define WM8962_MAX_GPIO 6
13
14/* Use to set GPIO default values to zero */
15#define WM8962_GPIO_SET 0x10000
16
17struct wm8962_pdata {
18 u32 gpio_init[WM8962_MAX_GPIO];
19
Mark Brown45e65502010-09-28 16:01:20 -070020 bool irq_active_low;
21
Mark Brown9a76f1f2010-08-05 13:20:59 +010022 bool spk_mono; /* Speaker outputs tied together as mono */
23};
24
25#endif