power: supply: pm2301_charger: Delete driver
The PM2301 was only used in tandem with AB9540, part of U9540, a platform that was cancelled and never deployed in products. Delete it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
parent
e2bfc28afa
commit
aa8c8bf64b
|
@ -60,7 +60,7 @@ obj-$(CONFIG_BATTERY_TWL4030_MADC) += twl4030_madc_battery.o
|
||||||
obj-$(CONFIG_CHARGER_88PM860X) += 88pm860x_charger.o
|
obj-$(CONFIG_CHARGER_88PM860X) += 88pm860x_charger.o
|
||||||
obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
|
obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
|
||||||
obj-$(CONFIG_BATTERY_RX51) += rx51_battery.o
|
obj-$(CONFIG_BATTERY_RX51) += rx51_battery.o
|
||||||
obj-$(CONFIG_AB8500_BM) += ab8500_bmdata.o ab8500_charger.o ab8500_fg.o ab8500_btemp.o abx500_chargalg.o pm2301_charger.o
|
obj-$(CONFIG_AB8500_BM) += ab8500_bmdata.o ab8500_charger.o ab8500_fg.o ab8500_btemp.o abx500_chargalg.o
|
||||||
obj-$(CONFIG_CHARGER_CPCAP) += cpcap-charger.o
|
obj-$(CONFIG_CHARGER_CPCAP) += cpcap-charger.o
|
||||||
obj-$(CONFIG_CHARGER_ISP1704) += isp1704_charger.o
|
obj-$(CONFIG_CHARGER_ISP1704) += isp1704_charger.o
|
||||||
obj-$(CONFIG_CHARGER_MAX8903) += max8903_charger.o
|
obj-$(CONFIG_CHARGER_MAX8903) += max8903_charger.o
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,48 +0,0 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
||||||
/*
|
|
||||||
* PM2301 charger driver.
|
|
||||||
*
|
|
||||||
* Copyright (C) 2012 ST Ericsson Corporation
|
|
||||||
*
|
|
||||||
* Contact: Olivier LAUNAY (olivier.launay@stericsson.com
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __LINUX_PM2301_H
|
|
||||||
#define __LINUX_PM2301_H
|
|
||||||
|
|
||||||
/**
|
|
||||||
* struct pm2xxx_bm_charger_parameters - Charger specific parameters
|
|
||||||
* @ac_volt_max: maximum allowed AC charger voltage in mV
|
|
||||||
* @ac_curr_max: maximum allowed AC charger current in mA
|
|
||||||
*/
|
|
||||||
struct pm2xxx_bm_charger_parameters {
|
|
||||||
int ac_volt_max;
|
|
||||||
int ac_curr_max;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* struct pm2xxx_bm_data - pm2xxx battery management data
|
|
||||||
* @enable_overshoot flag to enable VBAT overshoot control
|
|
||||||
* @chg_params charger parameters
|
|
||||||
*/
|
|
||||||
struct pm2xxx_bm_data {
|
|
||||||
bool enable_overshoot;
|
|
||||||
const struct pm2xxx_bm_charger_parameters *chg_params;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct pm2xxx_charger_platform_data {
|
|
||||||
char **supplied_to;
|
|
||||||
size_t num_supplicants;
|
|
||||||
int i2c_bus;
|
|
||||||
const char *label;
|
|
||||||
int gpio_irq_number;
|
|
||||||
unsigned int lpn_gpio;
|
|
||||||
int irq_type;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct pm2xxx_platform_data {
|
|
||||||
struct pm2xxx_charger_platform_data *wall_charger;
|
|
||||||
struct pm2xxx_bm_data *battery;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif /* __LINUX_PM2301_H */
|
|
Loading…
Reference in New Issue