1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * linux/sound/wm9081.h -- Platform data for W 3 * linux/sound/wm9081.h -- Platform data for WM9081 4 * 4 * 5 * Copyright 2009 Wolfson Microelectronics. PL 5 * Copyright 2009 Wolfson Microelectronics. PLC. 6 */ 6 */ 7 7 8 #ifndef __LINUX_SND_WM_9081_H 8 #ifndef __LINUX_SND_WM_9081_H 9 #define __LINUX_SND_WM_9081_H 9 #define __LINUX_SND_WM_9081_H 10 10 11 struct wm9081_retune_mobile_setting { 11 struct wm9081_retune_mobile_setting { 12 const char *name; 12 const char *name; 13 unsigned int rate; 13 unsigned int rate; 14 u16 config[20]; 14 u16 config[20]; 15 }; 15 }; 16 16 17 struct wm9081_pdata { 17 struct wm9081_pdata { 18 bool irq_high; /* IRQ is active high 18 bool irq_high; /* IRQ is active high */ 19 bool irq_cmos; /* IRQ is in CMOS mod 19 bool irq_cmos; /* IRQ is in CMOS mode */ 20 20 21 struct wm9081_retune_mobile_setting *r 21 struct wm9081_retune_mobile_setting *retune_configs; 22 int num_retune_configs; 22 int num_retune_configs; 23 }; 23 }; 24 24 25 #endif 25 #endif 26 26
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.