Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
978 B
C
34 lines
978 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* tps62360.h -- TI tps62360
|
|
*
|
|
* Interface for regulator driver for TI TPS62360 Processor core supply
|
|
*
|
|
* Copyright (C) 2012 NVIDIA Corporation
|
|
|
|
* Author: Laxman Dewangan <ldewangan@nvidia.com>
|
|
*/
|
|
|
|
#ifndef __LINUX_REGULATOR_TPS62360_H
|
|
#define __LINUX_REGULATOR_TPS62360_H
|
|
|
|
/*
|
|
* struct tps62360_regulator_platform_data - tps62360 regulator platform data.
|
|
*
|
|
* @reg_init_data: The regulator init data.
|
|
* @en_discharge: Enable discharge the output capacitor via internal
|
|
* register.
|
|
* @en_internal_pulldn: internal pull down enable or not.
|
|
* @vsel0_def_state: Default state of vsel0. 1 if it is high else 0.
|
|
* @vsel1_def_state: Default state of vsel1. 1 if it is high else 0.
|
|
*/
|
|
struct tps62360_regulator_platform_data {
|
|
struct regulator_init_data *reg_init_data;
|
|
bool en_discharge;
|
|
bool en_internal_pulldn;
|
|
int vsel0_def_state;
|
|
int vsel1_def_state;
|
|
};
|
|
|
|
#endif /* __LINUX_REGULATOR_TPS62360_H */
|