xref: /OK3568_Linux_fs/kernel/include/linux/platform_data/regulator-haptic.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Regulator Haptic Platform Data
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6*4882a593Smuzhiyun  * Author: Jaewon Kim <jaewon02.kim@samsung.com>
7*4882a593Smuzhiyun  * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
8*4882a593Smuzhiyun  */
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #ifndef _REGULATOR_HAPTIC_H
11*4882a593Smuzhiyun #define _REGULATOR_HAPTIC_H
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun /*
14*4882a593Smuzhiyun  * struct regulator_haptic_data - Platform device data
15*4882a593Smuzhiyun  *
16*4882a593Smuzhiyun  * @max_volt: maximum voltage value supplied to the haptic motor.
17*4882a593Smuzhiyun  *		<The unit of the voltage is a micro>
18*4882a593Smuzhiyun  * @min_volt: minimum voltage value supplied to the haptic motor.
19*4882a593Smuzhiyun  *		<The unit of the voltage is a micro>
20*4882a593Smuzhiyun  */
21*4882a593Smuzhiyun struct regulator_haptic_data {
22*4882a593Smuzhiyun 	unsigned int max_volt;
23*4882a593Smuzhiyun 	unsigned int min_volt;
24*4882a593Smuzhiyun };
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun #endif /* _REGULATOR_HAPTIC_H */
27