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