404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.116.12.252: ~ $
/*
 * fan53555.h - Fairchild Regulator FAN53555 Driver
 *
 * Copyright (C) 2012 Marvell Technology Ltd.
 * Yunfan Zhang <yfzhang@marvell.com>
 *
 * This package is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 */

#ifndef __FAN53555_H__
#define __FAN53555_H__

/* VSEL ID */
enum {
	FAN53555_VSEL_ID_0 = 0,
	FAN53555_VSEL_ID_1,
};

/* Transition slew rate limiting from a low to high voltage.
 * -----------------------
 *   Bin |Slew Rate(mV/uS)
 * ------|----------------
 *   000 |    64.00
 * ------|----------------
 *   001 |    32.00
 * ------|----------------
 *   010 |    16.00
 * ------|----------------
 *   011 |     8.00
 * ------|----------------
 *   100 |     4.00
 * ------|----------------
 *   101 |     2.00
 * ------|----------------
 *   110 |     1.00
 * ------|----------------
 *   111 |     0.50
 * -----------------------
 */
enum {
	FAN53555_SLEW_RATE_64MV = 0,
	FAN53555_SLEW_RATE_32MV,
	FAN53555_SLEW_RATE_16MV,
	FAN53555_SLEW_RATE_8MV,
	FAN53555_SLEW_RATE_4MV,
	FAN53555_SLEW_RATE_2MV,
	FAN53555_SLEW_RATE_1MV,
	FAN53555_SLEW_RATE_0_5MV,
};

struct fan53555_platform_data {
	struct regulator_init_data *regulator;
	unsigned int slew_rate;
	/* Sleep VSEL ID */
	unsigned int sleep_vsel_id;
};

#endif /* __FAN53555_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