2 * fan53555.h - Fairchild Regulator FAN53555 Driver
4 * Copyright (C) 2012 Marvell Technology Ltd.
5 * Yunfan Zhang <yfzhang@marvell.com>
7 * This package is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
13 #ifndef __FAN53555_H__
14 #define __FAN53555_H__
18 FAN53555_VSEL_ID_0
= 0,
22 /* Transition slew rate limiting from a low to high voltage.
23 * -----------------------
24 * Bin |Slew Rate(mV/uS)
25 * ------|----------------
27 * ------|----------------
29 * ------|----------------
31 * ------|----------------
33 * ------|----------------
35 * ------|----------------
37 * ------|----------------
39 * ------|----------------
41 * -----------------------
44 FAN53555_SLEW_RATE_64MV
= 0,
45 FAN53555_SLEW_RATE_32MV
,
46 FAN53555_SLEW_RATE_16MV
,
47 FAN53555_SLEW_RATE_8MV
,
48 FAN53555_SLEW_RATE_4MV
,
49 FAN53555_SLEW_RATE_2MV
,
50 FAN53555_SLEW_RATE_1MV
,
51 FAN53555_SLEW_RATE_0_5MV
,
54 struct fan53555_platform_data
{
55 struct regulator_init_data
*regulator
;
56 unsigned int slew_rate
;
58 unsigned int sleep_vsel_id
;
61 #endif /* __FAN53555_H__ */