ti_drv2667.h 769 B

123456789101112131415161718192021222324252627
  1. /* Copyright (c) 2012, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #ifndef __TI_DRV2667__
  13. #define DRV2667_WAV_SEQ_LEN 11
  14. struct drv2667_pdata {
  15. const char *name;
  16. u8 mode;
  17. /* support one waveform for now */
  18. u8 wav_seq[DRV2667_WAV_SEQ_LEN];
  19. u8 gain;
  20. u8 idle_timeout_ms;
  21. u32 max_runtime_ms;
  22. };
  23. #endif