1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * tps51632-regulator.h -- TPS51632 regulator
5 * Interface for regulator driver for TPS51632 3-2-1 Phase D-Cap Step Down
6 * Driverless Controller with serial VID control and DVFS.
8 * Copyright (C) 2012 NVIDIA Corporation
10 * Author: Laxman Dewangan <ldewangan@nvidia.com>
13 #ifndef __LINUX_REGULATOR_TPS51632_H
14 #define __LINUX_REGULATOR_TPS51632_H
17 * struct tps51632_regulator_platform_data - tps51632 regulator platform data.
19 * @reg_init_data: The regulator init data.
20 * @enable_pwm_dvfs: Enable PWM DVFS or not.
21 * @dvfs_step_20mV: Step for DVFS is 20mV or 10mV.
22 * @max_voltage_uV: Maximum possible voltage in PWM-DVFS mode.
23 * @base_voltage_uV: Base voltage when PWM-DVFS enabled.
25 struct tps51632_regulator_platform_data
{
26 struct regulator_init_data
*reg_init_data
;
33 #endif /* __LINUX_REGULATOR_TPS51632_H */