Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: af42d3466bdc8f39806b26f593604fdc54140bcb authored by Linus Torvalds on 17 November 2019, 22:47:30 UTC
Linux 5.4-rc8
Tip revision: af42d34
regulator-haptic.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Regulator Haptic Platform Data
 *
 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
 * Author: Jaewon Kim <jaewon02.kim@samsung.com>
 * Author: Hyunhee Kim <hyunhee.kim@samsung.com>
 */

#ifndef _REGULATOR_HAPTIC_H
#define _REGULATOR_HAPTIC_H

/*
 * struct regulator_haptic_data - Platform device data
 *
 * @max_volt: maximum voltage value supplied to the haptic motor.
 *		<The unit of the voltage is a micro>
 * @min_volt: minimum voltage value supplied to the haptic motor.
 *		<The unit of the voltage is a micro>
 */
struct regulator_haptic_data {
	unsigned int max_volt;
	unsigned int min_volt;
};

#endif /* _REGULATOR_HAPTIC_H */
back to top