cs42l52.h 592 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * linux/sound/cs42l52.h -- Platform data for CS42L52
  4. *
  5. * Copyright (c) 2012 Cirrus Logic Inc.
  6. */
  7. #ifndef __CS42L52_H
  8. #define __CS42L52_H
  9. struct cs42l52_platform_data {
  10. /* MICBIAS Level. Check datasheet Pg48 */
  11. unsigned int micbias_lvl;
  12. /* MICA mode selection Differential or Single-ended */
  13. bool mica_diff_cfg;
  14. /* MICB mode selection Differential or Single-ended */
  15. bool micb_diff_cfg;
  16. /* Charge Pump Freq. Check datasheet Pg73 */
  17. unsigned int chgfreq;
  18. /* Reset GPIO */
  19. unsigned int reset_gpio;
  20. };
  21. #endif /* __CS42L52_H */