regulator-haptic.h 837 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Regulator Haptic Platform Data
  3. *
  4. * Copyright (c) 2014 Samsung Electronics Co., Ltd.
  5. * Author: Jaewon Kim <jaewon02.kim@samsung.com>
  6. * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
  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. #ifndef _REGULATOR_HAPTIC_H
  13. #define _REGULATOR_HAPTIC_H
  14. /*
  15. * struct regulator_haptic_data - Platform device data
  16. *
  17. * @max_volt: maximum voltage value supplied to the haptic motor.
  18. * <The unit of the voltage is a micro>
  19. * @min_volt: minimum voltage value supplied to the haptic motor.
  20. * <The unit of the voltage is a micro>
  21. */
  22. struct regulator_haptic_data {
  23. unsigned int max_volt;
  24. unsigned int min_volt;
  25. };
  26. #endif /* _REGULATOR_HAPTIC_H */