2019-05-27 14:55:05 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-10-12 05:15:43 +08:00
|
|
|
/*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CHARGER_BQ24735_H_
|
|
|
|
#define __CHARGER_BQ24735_H_
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/power_supply.h>
|
|
|
|
|
|
|
|
struct bq24735_platform {
|
|
|
|
uint32_t charge_current;
|
|
|
|
uint32_t charge_voltage;
|
|
|
|
uint32_t input_current;
|
|
|
|
|
|
|
|
const char *name;
|
|
|
|
|
2016-02-03 14:03:45 +08:00
|
|
|
bool ext_control;
|
|
|
|
|
2013-10-12 05:15:43 +08:00
|
|
|
char **supplied_to;
|
|
|
|
size_t num_supplicants;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __CHARGER_BQ24735_H_ */
|