Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Mark Brown | 86ed366 | 2009-05-22 15:01:19 +0100 | [diff] [blame] | 2 | /* |
| 3 | * linux/sound/wm9081.h -- Platform data for WM9081 |
| 4 | * |
| 5 | * Copyright 2009 Wolfson Microelectronics. PLC. |
Mark Brown | 86ed366 | 2009-05-22 15:01:19 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __LINUX_SND_WM_9081_H |
| 9 | #define __LINUX_SND_WM_9081_H |
| 10 | |
| 11 | struct wm9081_retune_mobile_setting { |
| 12 | const char *name; |
| 13 | unsigned int rate; |
| 14 | u16 config[20]; |
| 15 | }; |
| 16 | |
Mark Brown | 4a5f7bd | 2011-03-01 20:10:46 +0000 | [diff] [blame] | 17 | struct 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 Brown | 86ed366 | 2009-05-22 15:01:19 +0100 | [diff] [blame] | 23 | }; |
| 24 | |
| 25 | #endif |