diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/regulator-haptic.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/platform_data/regulator-haptic.h b/include/linux/platform_data/regulator-haptic.h new file mode 100644 index 000000000000..5658e58e0738 --- /dev/null +++ b/include/linux/platform_data/regulator-haptic.h | |||
| @@ -0,0 +1,29 @@ | |||
| 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 | |||
| 13 | #ifndef _REGULATOR_HAPTIC_H | ||
| 14 | #define _REGULATOR_HAPTIC_H | ||
| 15 | |||
| 16 | /* | ||
| 17 | * struct regulator_haptic_data - Platform device data | ||
| 18 | * | ||
| 19 | * @max_volt: maximum voltage value supplied to the haptic motor. | ||
| 20 | * <The unit of the voltage is a micro> | ||
| 21 | * @min_volt: minimum voltage value supplied to the haptic motor. | ||
| 22 | * <The unit of the voltage is a micro> | ||
| 23 | */ | ||
| 24 | struct regulator_haptic_data { | ||
| 25 | unsigned int max_volt; | ||
| 26 | unsigned int min_volt; | ||
| 27 | }; | ||
| 28 | |||
| 29 | #endif /* _REGULATOR_HAPTIC_H */ | ||
