2019-05-27 09:55:05 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-10-12 01:15:43 +04: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 09:03:45 +03:00
|
|
|
bool ext_control;
|
|
|
|
|
2013-10-12 01:15:43 +04:00
|
|
|
char **supplied_to;
|
|
|
|
size_t num_supplicants;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __CHARGER_BQ24735_H_ */
|