1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * tps62360.h -- TI tps62360 3 * tps62360.h -- TI tps62360 4 * 4 * 5 * Interface for regulator driver for TI TPS62 5 * Interface for regulator driver for TI TPS62360 Processor core supply 6 * 6 * 7 * Copyright (C) 2012 NVIDIA Corporation 7 * Copyright (C) 2012 NVIDIA Corporation 8 8 9 * Author: Laxman Dewangan <ldewangan@nvidia.c 9 * Author: Laxman Dewangan <ldewangan@nvidia.com> 10 */ 10 */ 11 11 12 #ifndef __LINUX_REGULATOR_TPS62360_H 12 #ifndef __LINUX_REGULATOR_TPS62360_H 13 #define __LINUX_REGULATOR_TPS62360_H 13 #define __LINUX_REGULATOR_TPS62360_H 14 14 15 /* 15 /* 16 * struct tps62360_regulator_platform_data - t 16 * struct tps62360_regulator_platform_data - tps62360 regulator platform data. 17 * 17 * 18 * @reg_init_data: The regulator init data. 18 * @reg_init_data: The regulator init data. 19 * @en_discharge: Enable discharge the output 19 * @en_discharge: Enable discharge the output capacitor via internal 20 * register. 20 * register. 21 * @en_internal_pulldn: internal pull down ena 21 * @en_internal_pulldn: internal pull down enable or not. 22 * @vsel0_def_state: Default state of vsel0. 1 22 * @vsel0_def_state: Default state of vsel0. 1 if it is high else 0. 23 * @vsel1_def_state: Default state of vsel1. 1 23 * @vsel1_def_state: Default state of vsel1. 1 if it is high else 0. 24 */ 24 */ 25 struct tps62360_regulator_platform_data { 25 struct tps62360_regulator_platform_data { 26 struct regulator_init_data *reg_init_d 26 struct regulator_init_data *reg_init_data; 27 bool en_discharge; 27 bool en_discharge; 28 bool en_internal_pulldn; 28 bool en_internal_pulldn; 29 int vsel0_def_state; 29 int vsel0_def_state; 30 int vsel1_def_state; 30 int vsel1_def_state; 31 }; 31 }; 32 32 33 #endif /* __LINUX_REGULATOR_TPS62360_H */ 33 #endif /* __LINUX_REGULATOR_TPS62360_H */ 34 34
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.