blob: 2fd4bec8ab3b4b17c88d3c00d65f06f7e53f2d8c [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Mark Brown86ed3662009-05-22 15:01:19 +01002/*
3 * linux/sound/wm9081.h -- Platform data for WM9081
4 *
5 * Copyright 2009 Wolfson Microelectronics. PLC.
Mark Brown86ed3662009-05-22 15:01:19 +01006 */
7
8#ifndef __LINUX_SND_WM_9081_H
9#define __LINUX_SND_WM_9081_H
10
11struct wm9081_retune_mobile_setting {
12 const char *name;
13 unsigned int rate;
14 u16 config[20];
15};
16
Mark Brown4a5f7bd2011-03-01 20:10:46 +000017struct wm9081_pdata {
18 bool irq_high; /* IRQ is active high */
19 bool irq_cmos; /* IRQ is in CMOS mode */
20
21 struct wm9081_retune_mobile_setting *retune_configs;
22 int num_retune_configs;
Mark Brown86ed3662009-05-22 15:01:19 +010023};
24
25#endif