forked from Minki/linux
8649efb2f8
Core: * Add over-current health state * Add standard, adaptive and custom charge types * Add new properties for start/end charge threshold New Drivers / Hardware: * UCS1002 Programmable USB Port Power Controller * Ingenic JZ47xx Battery Fuel Gauge * AXP20x USB Power: Add AXP813 support * AT91 poweroff: Add SAM9X60 support * OLPC battery: Add XO-1.5 and XO-1.75 support Misc. Changes: * syscon-reboot: support mask property * AXP288 fuel gauge: Blacklist ACEPC T8/T11 - Looks like some vendor thought it's a good idea to build a desktop system with a fuel gauge, that slowly "discharges"... * cpcap-battery: Fix calculation errors * misc. fixes -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlzbPpUACgkQ2O7X88g7 +ppU9w/9GDMAHh5LelpuKosuWfdoZMOiMqtyp+GH+Tg4t/cYksTpUFcupKE8sIEU HG+YHNZdD56rHYz7fF6/SRAWfj1o77+Hr2s7XQlLayReFYuxltPIM+MX+xXpj4Qt OJcSWnk9233UqfodPAyvC/Tj+I0SgElOUmkhhe5fqNtktQeJgvDO1Gs2oNBZOuMG +ySTT+8Dba2YbXAHYXYdyzMG1YuDZLbkvSpkYzRBH4CyfDrcTH2zkkfQSu0pAYPk VwdeWw05yKRNZtWhwS+eUefIXmdu8ZH2BNrYk5PobTeDhhMYx+QzoTuxyhIY+Mbq I1tabHrIOMy1Xyw0QsbB2/ujrt5SzNv6SLxgKaPvgPSr1uPz3Ogl3+SRziNY3zvN SmxSedAL5qx/TBTL+rKSKCO66aU8jAdGzvnRfwWcCoQhE+EZF5r0vSn5zIhR2Fxh fKKph8ZZv7426jPBuXTOurQVRs8daa+DmwHauebq4MNnhftJM1PfTb8SFOwrDTMD Es4M5BXgn/1RKfqjh0gKTYkbRBCtUhnHUAPmzAKFCbEENc0eC439P3wQ8lP0EzFT QHpdpPxeMor24HjVldfi0K4hXqNPGEnTlZwq7Asu6NAp0HcgdqIGXiLqQP3/s5ds gMUqOLNRAywupdpMT7db7JadnVmDRK1sHZnhk4wTAPt4Q6gqcE8= =qicd -----END PGP SIGNATURE----- Merge tag 'for-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply Pull power supply and reset updates from Sebastian Reichel: "Core: - Add over-current health state - Add standard, adaptive and custom charge types - Add new properties for start/end charge threshold New Drivers / Hardware: - UCS1002 Programmable USB Port Power Controller - Ingenic JZ47xx Battery Fuel Gauge - AXP20x USB Power: Add AXP813 support - AT91 poweroff: Add SAM9X60 support - OLPC battery: Add XO-1.5 and XO-1.75 support Misc Changes: - syscon-reboot: support mask property - AXP288 fuel gauge: Blacklist ACEPC T8/T11. Looks like some vendor thought it's a good idea to build a desktop system with a fuel gauge, that slowly "discharges"... - cpcap-battery: Fix calculation errors - misc fixes" * tag 'for-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (54 commits) power: supply: olpc_battery: force the le/be casts power: supply: ucs1002: Fix build error without CONFIG_REGULATOR power: supply: ucs1002: Fix wrong return value checking power: supply: Add driver for Microchip UCS1002 dt-bindings: power: supply: Add bindings for Microchip UCS1002 power: supply: core: Add POWER_SUPPLY_HEALTH_OVERCURRENT constant power: supply: core: fix clang -Wunsequenced power: supply: core: Add missing documentation for CHARGE_CONTROL_* properties power: supply: core: Add CHARGE_CONTROL_{START_THRESHOLD,END_THRESHOLD} properties power: supply: core: Add Standard, Adaptive, and Custom charge types power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist power: supply: bq27xxx_battery: Notify also about status changes power: supply: olpc_battery: Have the framework register sysfs files for us power: supply: olpc_battery: Add OLPC XO 1.75 support power: supply: olpc_battery: Avoid using platform_info power: supply: olpc_battery: Use devm_power_supply_register() power: supply: olpc_battery: Move priv data to a struct power: supply: olpc_battery: Use DT to get battery version x86/platform/olpc: Use a correct version when making up a battery node x86/platform/olpc: Trivial code move in DT fixup ...
93 lines
4.4 KiB
Makefile
93 lines
4.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
|
|
|
|
power_supply-y := power_supply_core.o
|
|
power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o
|
|
power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o
|
|
|
|
obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
|
|
obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o
|
|
|
|
obj-$(CONFIG_PDA_POWER) += pda_power.o
|
|
obj-$(CONFIG_APM_POWER) += apm_power.o
|
|
obj-$(CONFIG_AXP20X_POWER) += axp20x_usb_power.o
|
|
obj-$(CONFIG_MAX8925_POWER) += max8925_power.o
|
|
obj-$(CONFIG_WM831X_BACKUP) += wm831x_backup.o
|
|
obj-$(CONFIG_WM831X_POWER) += wm831x_power.o
|
|
obj-$(CONFIG_WM8350_POWER) += wm8350_power.o
|
|
obj-$(CONFIG_TEST_POWER) += test_power.o
|
|
|
|
obj-$(CONFIG_BATTERY_88PM860X) += 88pm860x_battery.o
|
|
obj-$(CONFIG_CHARGER_ADP5061) += adp5061.o
|
|
obj-$(CONFIG_BATTERY_ACT8945A) += act8945a_charger.o
|
|
obj-$(CONFIG_BATTERY_AXP20X) += axp20x_battery.o
|
|
obj-$(CONFIG_CHARGER_AXP20X) += axp20x_ac_power.o
|
|
obj-$(CONFIG_BATTERY_CPCAP) += cpcap-battery.o
|
|
obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o
|
|
obj-$(CONFIG_BATTERY_DS2780) += ds2780_battery.o
|
|
obj-$(CONFIG_BATTERY_DS2781) += ds2781_battery.o
|
|
obj-$(CONFIG_BATTERY_DS2782) += ds2782_battery.o
|
|
obj-$(CONFIG_BATTERY_GAUGE_LTC2941) += ltc2941-battery-gauge.o
|
|
obj-$(CONFIG_BATTERY_GOLDFISH) += goldfish_battery.o
|
|
obj-$(CONFIG_BATTERY_LEGO_EV3) += lego_ev3_battery.o
|
|
obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o
|
|
obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o
|
|
obj-$(CONFIG_BATTERY_TOSA) += tosa_battery.o
|
|
obj-$(CONFIG_BATTERY_COLLIE) += collie_battery.o
|
|
obj-$(CONFIG_BATTERY_INGENIC) += ingenic-battery.o
|
|
obj-$(CONFIG_BATTERY_IPAQ_MICRO) += ipaq_micro_battery.o
|
|
obj-$(CONFIG_BATTERY_WM97XX) += wm97xx_battery.o
|
|
obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o
|
|
obj-$(CONFIG_CHARGER_SBS) += sbs-charger.o
|
|
obj-$(CONFIG_MANAGER_SBS) += sbs-manager.o
|
|
obj-$(CONFIG_BATTERY_BQ27XXX) += bq27xxx_battery.o
|
|
obj-$(CONFIG_BATTERY_BQ27XXX_I2C) += bq27xxx_battery_i2c.o
|
|
obj-$(CONFIG_BATTERY_BQ27XXX_HDQ) += bq27xxx_battery_hdq.o
|
|
obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
|
|
obj-$(CONFIG_BATTERY_DA9052) += da9052-battery.o
|
|
obj-$(CONFIG_CHARGER_DA9150) += da9150-charger.o
|
|
obj-$(CONFIG_BATTERY_DA9150) += da9150-fg.o
|
|
obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o
|
|
obj-$(CONFIG_BATTERY_MAX17042) += max17042_battery.o
|
|
obj-$(CONFIG_BATTERY_MAX1721X) += max1721x_battery.o
|
|
obj-$(CONFIG_BATTERY_Z2) += z2_battery.o
|
|
obj-$(CONFIG_BATTERY_RT5033) += rt5033_battery.o
|
|
obj-$(CONFIG_CHARGER_RT9455) += rt9455_charger.o
|
|
obj-$(CONFIG_BATTERY_S3C_ADC) += s3c_adc_battery.o
|
|
obj-$(CONFIG_BATTERY_TWL4030_MADC) += twl4030_madc_battery.o
|
|
obj-$(CONFIG_CHARGER_88PM860X) += 88pm860x_charger.o
|
|
obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
|
|
obj-$(CONFIG_BATTERY_JZ4740) += jz4740-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_CHARGER_CPCAP) += cpcap-charger.o
|
|
obj-$(CONFIG_CHARGER_ISP1704) += isp1704_charger.o
|
|
obj-$(CONFIG_CHARGER_MAX8903) += max8903_charger.o
|
|
obj-$(CONFIG_CHARGER_TWL4030) += twl4030_charger.o
|
|
obj-$(CONFIG_CHARGER_LP8727) += lp8727_charger.o
|
|
obj-$(CONFIG_CHARGER_LP8788) += lp8788-charger.o
|
|
obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o
|
|
obj-$(CONFIG_CHARGER_MANAGER) += charger-manager.o
|
|
obj-$(CONFIG_CHARGER_LT3651) += lt3651-charger.o
|
|
obj-$(CONFIG_CHARGER_MAX14577) += max14577_charger.o
|
|
obj-$(CONFIG_CHARGER_DETECTOR_MAX14656) += max14656_charger_detector.o
|
|
obj-$(CONFIG_CHARGER_MAX77650) += max77650-charger.o
|
|
obj-$(CONFIG_CHARGER_MAX77693) += max77693_charger.o
|
|
obj-$(CONFIG_CHARGER_MAX8997) += max8997_charger.o
|
|
obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o
|
|
obj-$(CONFIG_CHARGER_QCOM_SMBB) += qcom_smbb.o
|
|
obj-$(CONFIG_CHARGER_BQ2415X) += bq2415x_charger.o
|
|
obj-$(CONFIG_CHARGER_BQ24190) += bq24190_charger.o
|
|
obj-$(CONFIG_CHARGER_BQ24257) += bq24257_charger.o
|
|
obj-$(CONFIG_CHARGER_BQ24735) += bq24735-charger.o
|
|
obj-$(CONFIG_CHARGER_BQ25890) += bq25890_charger.o
|
|
obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o
|
|
obj-$(CONFIG_CHARGER_TPS65090) += tps65090-charger.o
|
|
obj-$(CONFIG_CHARGER_TPS65217) += tps65217_charger.o
|
|
obj-$(CONFIG_AXP288_FUEL_GAUGE) += axp288_fuel_gauge.o
|
|
obj-$(CONFIG_AXP288_CHARGER) += axp288_charger.o
|
|
obj-$(CONFIG_CHARGER_CROS_USBPD) += cros_usbpd-charger.o
|
|
obj-$(CONFIG_CHARGER_SC2731) += sc2731_charger.o
|
|
obj-$(CONFIG_FUEL_GAUGE_SC27XX) += sc27xx_fuel_gauge.o
|
|
obj-$(CONFIG_CHARGER_UCS1002) += ucs1002_power.o
|