drv260x-pdata.h 784 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Platform data for DRV260X haptics driver family
  3. *
  4. * Author: Dan Murphy <dmurphy@ti.com>
  5. *
  6. * Copyright: (C) 2014 Texas Instruments, Inc.
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. *
  12. * This program is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. */
  17. #ifndef _LINUX_DRV260X_PDATA_H
  18. #define _LINUX_DRV260X_PDATA_H
  19. struct drv260x_platform_data {
  20. u32 library_selection;
  21. u32 mode;
  22. u32 vib_rated_voltage;
  23. u32 vib_overdrive_voltage;
  24. };
  25. #endif