cs35l34.h 887 B

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