wm9090.h 634 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * linux/sound/wm9090.h -- Platform data for WM9090
  4. *
  5. * Copyright 2009, 2010 Wolfson Microelectronics. PLC.
  6. */
  7. #ifndef __LINUX_SND_WM9090_H
  8. #define __LINUX_SND_WM9090_H
  9. struct wm9090_platform_data {
  10. /* Line inputs 1 & 2 can optionally be differential */
  11. unsigned int lin1_diff:1;
  12. unsigned int lin2_diff:1;
  13. /* AGC configuration. This is intended to protect the speaker
  14. * against overdriving and will therefore depend on the
  15. * hardware setup with incorrect runtime configuration
  16. * potentially causing hardware damage.
  17. */
  18. unsigned int agc_ena:1;
  19. u16 agc[3];
  20. };
  21. #endif