Merge tag 'for-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply
Pull power supply and reset updates from Sebastian Reichel: "New drivers: - sbs-charger driver - max14656_charger_detector - axp20x_ac_power New chip/feature support" - axp20x_usb_power: add AXP223 support - tps65217: add usb charger support - qcom_smbb: support otg regulator - at91-reset: add samx7 support Dropped drivers: - intel_mid_battery (platform was dropped) Fixes: - at91-poweroff: avoid wearing off LPDDR memory - replace deprecated extcon API - lots of cleanup and style fixes - misc minor functionality fixes" * tag 'for-v4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (84 commits) power: supply: add AC power supply driver for AXP20X and AXP22X PMICs dt-bindings: power: supply: add AXP20X/AXP22X AC power supply power: supply: axp20x_usb_power: use IIO channels when available power: supply: max14656: Export I2C and OF device ID as module aliases power: supply: bq2415x: check for NULL acpi_id to avoid null pointer dereference power: supply: bq24190_charger: Adjust formatting power: supply: bq24190_charger: Handle fault before status on interrupt power: supply: bq24190_charger: Don't read fault register outside irq_handle_thread() power: supply: bq24190_charger: Call power_supply_changed() for relevant component power: supply: bq24190_charger: Install irq_handler_thread() at end of probe() power: supply: bq24190_charger: Call set_mode_host() on pm_resume() power: supply: bq24190_charger: Fix irq trigger to IRQF_TRIGGER_FALLING power: supply: qcom_smbb: add regulator dependency power: reset: at91-reset: remove leftover platform_device_id power: reset: at91-reset: add samx7 support power: supply: max14656: fix platform_no_drv_owner.cocci warnings power: supply: pcf50633-charger: Compress return logic into one line. power: supply: ab8500_btemp: Compress return logic into one line. power: reset: at91-poweroff: timely shutdown LPDDR memories ARM: at91: define LPDDR types ...
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <linux/regmap.h>
|
||||
|
||||
enum {
|
||||
enum axp20x_variants {
|
||||
AXP152_ID = 0,
|
||||
AXP202_ID,
|
||||
AXP209_ID,
|
||||
@@ -532,35 +532,6 @@ struct axp20x_dev {
|
||||
const struct regmap_irq_chip *regmap_irq_chip;
|
||||
};
|
||||
|
||||
#define BATTID_LEN 64
|
||||
#define OCV_CURVE_SIZE 32
|
||||
#define MAX_THERM_CURVE_SIZE 25
|
||||
#define PD_DEF_MIN_TEMP 0
|
||||
#define PD_DEF_MAX_TEMP 55
|
||||
|
||||
struct axp20x_fg_pdata {
|
||||
char battid[BATTID_LEN + 1];
|
||||
int design_cap;
|
||||
int min_volt;
|
||||
int max_volt;
|
||||
int max_temp;
|
||||
int min_temp;
|
||||
int cap1;
|
||||
int cap0;
|
||||
int rdc1;
|
||||
int rdc0;
|
||||
int ocv_curve[OCV_CURVE_SIZE];
|
||||
int tcsz;
|
||||
int thermistor_curve[MAX_THERM_CURVE_SIZE][2];
|
||||
};
|
||||
|
||||
struct axp20x_chrg_pdata {
|
||||
int max_cc;
|
||||
int max_cv;
|
||||
int def_cc;
|
||||
int def_cv;
|
||||
};
|
||||
|
||||
struct axp288_extcon_pdata {
|
||||
/* GPIO pin control to switch D+/D- lines b/w PMIC and SOC */
|
||||
struct gpio_desc *gpio_mux_cntl;
|
||||
|
Reference in New Issue
Block a user