Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Regulator Haptic Platform Data
0004  *
0005  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
0006  * Author: Jaewon Kim <jaewon02.kim@samsung.com>
0007  * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
0008  */
0009 
0010 #ifndef _REGULATOR_HAPTIC_H
0011 #define _REGULATOR_HAPTIC_H
0012 
0013 /*
0014  * struct regulator_haptic_data - Platform device data
0015  *
0016  * @max_volt: maximum voltage value supplied to the haptic motor.
0017  *      <The unit of the voltage is a micro>
0018  * @min_volt: minimum voltage value supplied to the haptic motor.
0019  *      <The unit of the voltage is a micro>
0020  */
0021 struct regulator_haptic_data {
0022     unsigned int max_volt;
0023     unsigned int min_volt;
0024 };
0025 
0026 #endif /* _REGULATOR_HAPTIC_H */