wm9081.h 661 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * linux/sound/wm9081.h -- Platform data for WM9081
  3. *
  4. * Copyright 2009 Wolfson Microelectronics. PLC.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef __LINUX_SND_WM_9081_H
  11. #define __LINUX_SND_WM_9081_H
  12. struct wm9081_retune_mobile_setting {
  13. const char *name;
  14. unsigned int rate;
  15. u16 config[20];
  16. };
  17. struct wm9081_pdata {
  18. bool irq_high; /* IRQ is active high */
  19. bool irq_cmos; /* IRQ is in CMOS mode */
  20. struct wm9081_retune_mobile_setting *retune_configs;
  21. int num_retune_configs;
  22. };
  23. #endif