wm8960.h 603 B

123456789101112131415161718192021222324
  1. /*
  2. * wm8960.h -- WM8960 Soc Audio driver platform data
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef _WM8960_PDATA_H
  9. #define _WM8960_PDATA_H
  10. #define WM8960_DRES_400R 0
  11. #define WM8960_DRES_200R 1
  12. #define WM8960_DRES_600R 2
  13. #define WM8960_DRES_150R 3
  14. #define WM8960_DRES_MAX 3
  15. struct wm8960_data {
  16. bool capless; /* Headphone outputs configured in capless mode */
  17. bool shared_lrclk; /* DAC and ADC LRCLKs are wired together */
  18. };
  19. #endif