aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator/tps6130x.h
blob: 41d5913418e1febac654dc507aadc05e03ae98ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * tps6130x-regulator.h
 *
 * Regulator driver for TPS6130x
 *
 * Copyright (C) 2011 Texas Instrument Incorporated - http://www.ti.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 version 2.
 *
 * This program is distributed "as is" WITHOUT ANY WARRANTY of any kind,
 * whether express or implied; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 */

#ifndef __LINUX_REGULATOR_TPS6130X_H
#define __LINUX_REGULATOR_TPS6130X_H

/**
 * tps6130x_platform_data - platform data for tps6130x regulator
 * @enable: Put tps6130x in normal/reset mode (used for tps61301/tps61305)
 *	    If not provided, it's assumed chip is always enabled:
 *	    - tps61300/tps61306
 *	    - tps61301/tps61305 with NRESET forced to low by hardware
 */

struct tps6130x_platform_data {
	int (*chip_enable)(int on);
};

#endif