Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * tps62360.h -- TI tps62360
0004  *
0005  * Interface for regulator driver for TI TPS62360 Processor core supply
0006  *
0007  * Copyright (C) 2012 NVIDIA Corporation
0008 
0009  * Author: Laxman Dewangan <ldewangan@nvidia.com>
0010  */
0011 
0012 #ifndef __LINUX_REGULATOR_TPS62360_H
0013 #define __LINUX_REGULATOR_TPS62360_H
0014 
0015 /*
0016  * struct tps62360_regulator_platform_data - tps62360 regulator platform data.
0017  *
0018  * @reg_init_data: The regulator init data.
0019  * @en_discharge: Enable discharge the output capacitor via internal
0020  *                register.
0021  * @en_internal_pulldn: internal pull down enable or not.
0022  * @vsel0_def_state: Default state of vsel0. 1 if it is high else 0.
0023  * @vsel1_def_state: Default state of vsel1. 1 if it is high else 0.
0024  */
0025 struct tps62360_regulator_platform_data {
0026     struct regulator_init_data *reg_init_data;
0027     bool en_discharge;
0028     bool en_internal_pulldn;
0029     int vsel0_def_state;
0030     int vsel1_def_state;
0031 };
0032 
0033 #endif /* __LINUX_REGULATOR_TPS62360_H */