diff options
author | Saravanan Sekar <sravanhome@gmail.com> | 2020-05-26 12:06:42 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-05-26 12:41:40 +0300 |
commit | 06081646450e46efcc1ca58c3b227bd60083cd3e (patch) | |
tree | b763b4fcb0c69be22852618a19e86b0efab5cdd7 /include/linux/mfd | |
parent | 25c8c452ff45e9376c0b664d549fe2f57ee9d602 (diff) | |
download | linux-06081646450e46efcc1ca58c3b227bd60083cd3e.tar.xz |
mfd: mp2629: Add support for mps battery charger
mp2629 is a highly-integrated switching-mode battery charge management
device for single-cell Li-ion or Li-polymer battery.
Add MFD core enables chip access for ADC driver for battery readings,
and a power supply battery-charger driver
Signed-off-by: Saravanan Sekar <sravanhome@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/mp2629.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/mfd/mp2629.h b/include/linux/mfd/mp2629.h new file mode 100644 index 000000000000..baaeeaf82949 --- /dev/null +++ b/include/linux/mfd/mp2629.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2020 Monolithic Power Systems, Inc + */ + +#ifndef __MP2629_H__ +#define __MP2629_H__ + +#include <linux/device.h> +#include <linux/regmap.h> + +struct mp2629_data { + struct device *dev; + struct regmap *regmap; +}; + +#endif |