summaryrefslogtreecommitdiff
path: root/include/linux/power/bq25700-charge.h
blob: 5e7d3e40d2ea09f3b40f264c572dcd45009a8e8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * 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.
 */

#ifndef __CHARGER_BQ25700_H_
#define __CHARGER_BQ25700_H_

#define CHARGER_CURRENT_EVENT	0x01
#define INPUT_CURRENT_EVENT	0x02

void bq25700_charger_set_current(unsigned long event, int current_value);

#endif /* __CHARGER_BQ25700_H_ */