404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.217.162.18: ~ $
/*
 * 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>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA	02110-1301, USA.
 *
 */

#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_gpio: Gpio number for vsel0. It should be -1 if this is tied with
 *              fixed logic.
 * @vsel1_gpio: Gpio number for vsel1. It should be -1 if this is tied with
 *              fixed logic.
 * @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_gpio;
	int vsel1_gpio;
	int vsel0_def_state;
	int vsel1_def_state;
};

#endif /* __LINUX_REGULATOR_TPS62360_H */

Filemanager

Name Type Size Permission Actions
ab8500.h File 7.03 KB 0644
act8865.h File 1.85 KB 0644
arizona-ldo1.h File 532 B 0644
arizona-micsupp.h File 493 B 0644
consumer.h File 17.86 KB 0644
da9211.h File 1.15 KB 0644
db8500-prcmu.h File 1.14 KB 0644
driver.h File 18.94 KB 0644
fan53555.h File 1.35 KB 0644
fixed.h File 2.41 KB 0644
gpio-regulator.h File 2.4 KB 0644
lp3971.h File 1.38 KB 0644
lp3972.h File 1.28 KB 0644
lp872x.h File 2.03 KB 0644
machine.h File 8.18 KB 0644
max1586.h File 2.14 KB 0644
max8649.h File 976 B 0644
max8660.h File 1.55 KB 0644
max8952.h File 2.94 KB 0644
max8973-regulator.h File 3.18 KB 0644
mt6311.h File 834 B 0644
mt6323-regulator.h File 1.2 KB 0644
mt6380-regulator.h File 870 B 0644
mt6397-regulator.h File 1.17 KB 0644
of_regulator.h File 1.09 KB 0644
pfuze100.h File 2.13 KB 0644
qcom_smd-regulator.h File 989 B 0644
tps51632-regulator.h File 1.62 KB 0644
tps62360.h File 1.85 KB 0644
tps6507x.h File 1.09 KB 0644
userspace-consumer.h File 675 B 0644