1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 286ed3669SMark Brown /* 386ed3669SMark Brown * linux/sound/wm9081.h -- Platform data for WM9081 486ed3669SMark Brown * 586ed3669SMark Brown * Copyright 2009 Wolfson Microelectronics. PLC. 686ed3669SMark Brown */ 786ed3669SMark Brown 886ed3669SMark Brown #ifndef __LINUX_SND_WM_9081_H 986ed3669SMark Brown #define __LINUX_SND_WM_9081_H 1086ed3669SMark Brown 1186ed3669SMark Brown struct wm9081_retune_mobile_setting { 1286ed3669SMark Brown const char *name; 1386ed3669SMark Brown unsigned int rate; 1486ed3669SMark Brown u16 config[20]; 1586ed3669SMark Brown }; 1686ed3669SMark Brown 174a5f7bdaSMark Brown struct wm9081_pdata { 184a5f7bdaSMark Brown bool irq_high; /* IRQ is active high */ 194a5f7bdaSMark Brown bool irq_cmos; /* IRQ is in CMOS mode */ 204a5f7bdaSMark Brown 214a5f7bdaSMark Brown struct wm9081_retune_mobile_setting *retune_configs; 224a5f7bdaSMark Brown int num_retune_configs; 2386ed3669SMark Brown }; 2486ed3669SMark Brown 2586ed3669SMark Brown #endif 26