cs35l34.h 741 B

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * linux/sound/cs35l34.h -- Platform data for CS35l34
  4. *
  5. * Copyright (c) 2016 Cirrus Logic Inc.
  6. */
  7. #ifndef __CS35L34_H
  8. #define __CS35L34_H
  9. struct cs35l34_platform_data {
  10. /* Set AIF to half drive strength */
  11. bool aif_half_drv;
  12. /* Digital Soft Ramp Disable */
  13. bool digsft_disable;
  14. /* Amplifier Invert */
  15. bool amp_inv;
  16. /* Peak current (mA) */
  17. unsigned int boost_peak;
  18. /* Boost inductor value (nH) */
  19. unsigned int boost_ind;
  20. /* Boost Controller Voltage Setting (mV) */
  21. unsigned int boost_vtge;
  22. /* Gain Change Zero Cross */
  23. bool gain_zc_disable;
  24. /* SDIN Left/Right Selection */
  25. unsigned int i2s_sdinloc;
  26. /* TDM Rising Edge */
  27. bool tdm_rising_edge;
  28. };
  29. #endif /* __CS35L34_H */