2022-03-05 21:17:59 +05:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2021-10-27 18:46:41 +05: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;
|
|
|
|
|
|
|
|
bool ext_control;
|
|
|
|
|
|
|
|
char **supplied_to;
|
|
|
|
size_t num_supplicants;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __CHARGER_BQ24735_H_ */
|