1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * tps62360.h -- TI tps62360
5 * Interface for regulator driver for TI TPS62360 Processor core supply
7 * Copyright (C) 2012 NVIDIA Corporation
9 * Author: Laxman Dewangan <ldewangan@nvidia.com>
12 #ifndef __LINUX_REGULATOR_TPS62360_H
13 #define __LINUX_REGULATOR_TPS62360_H
16 * struct tps62360_regulator_platform_data - tps62360 regulator platform data.
18 * @reg_init_data: The regulator init data.
19 * @en_discharge: Enable discharge the output capacitor via internal
21 * @en_internal_pulldn: internal pull down enable or not.
22 * @vsel0_gpio: Gpio number for vsel0. It should be -1 if this is tied with
24 * @vsel1_gpio: Gpio number for vsel1. It should be -1 if this is tied with
26 * @vsel0_def_state: Default state of vsel0. 1 if it is high else 0.
27 * @vsel1_def_state: Default state of vsel1. 1 if it is high else 0.
29 struct tps62360_regulator_platform_data {
30 struct regulator_init_data *reg_init_data;
32 bool en_internal_pulldn;
39 #endif /* __LINUX_REGULATOR_TPS62360_H */