blob: c1e5e06a2ae1ae5b3022525a81ff090e86c35536 [file] [log] [blame]
Duy Truong790f06d2013-02-13 16:38:12 -08001/* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 */
13
14#ifndef __LINUX_BQ27520_H
15#define __LINUX_BQ27520_H
16struct bq27520_platform_data {
17 const char *name;
18 unsigned int soc_int;
19 unsigned int bi_tout;
20 unsigned int chip_en; /* CE */
21 const char *vreg_name; /* regulater used by bq27520 */
22 int vreg_value; /* its value */
23 int enable_dlog; /* if enable on-chip coulomb counter data logger */
24};
25
26#endif /* __LINUX_BQ27520_H */