wm9081.h 515 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * linux/sound/wm9081.h -- Platform data for WM9081
  4. *
  5. * Copyright 2009 Wolfson Microelectronics. PLC.
  6. */
  7. #ifndef __LINUX_SND_WM_9081_H
  8. #define __LINUX_SND_WM_9081_H
  9. struct wm9081_retune_mobile_setting {
  10. const char *name;
  11. unsigned int rate;
  12. u16 config[20];
  13. };
  14. struct wm9081_pdata {
  15. bool irq_high; /* IRQ is active high */
  16. bool irq_cmos; /* IRQ is in CMOS mode */
  17. struct wm9081_retune_mobile_setting *retune_configs;
  18. int num_retune_configs;
  19. };
  20. #endif