Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 2 | subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG |
| 3 | |
| 4 | power_supply-y := power_supply_core.o |
| 5 | power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o |
| 6 | power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o |
| 7 | |
| 8 | obj-$(CONFIG_POWER_SUPPLY) += power_supply.o |
Andrey Smirnov | e67d4df | 2019-06-12 01:44:04 -0700 | [diff] [blame] | 9 | obj-$(CONFIG_POWER_SUPPLY_HWMON) += power_supply_hwmon.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 10 | obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o |
| 11 | |
| 12 | obj-$(CONFIG_PDA_POWER) += pda_power.o |
| 13 | obj-$(CONFIG_APM_POWER) += apm_power.o |
| 14 | obj-$(CONFIG_AXP20X_POWER) += axp20x_usb_power.o |
| 15 | obj-$(CONFIG_MAX8925_POWER) += max8925_power.o |
| 16 | obj-$(CONFIG_WM831X_BACKUP) += wm831x_backup.o |
| 17 | obj-$(CONFIG_WM831X_POWER) += wm831x_power.o |
| 18 | obj-$(CONFIG_WM8350_POWER) += wm8350_power.o |
| 19 | obj-$(CONFIG_TEST_POWER) += test_power.o |
| 20 | |
| 21 | obj-$(CONFIG_BATTERY_88PM860X) += 88pm860x_battery.o |
Stefan Popa | fe8e81b | 2018-04-11 18:09:42 +0300 | [diff] [blame] | 22 | obj-$(CONFIG_CHARGER_ADP5061) += adp5061.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 23 | obj-$(CONFIG_BATTERY_ACT8945A) += act8945a_charger.o |
Quentin Schulz | 46c202b | 2017-04-18 09:34:17 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_BATTERY_AXP20X) += axp20x_battery.o |
Quentin Schulz | 744cc30 | 2017-01-27 09:54:43 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_CHARGER_AXP20X) += axp20x_ac_power.o |
Tony Lindgren | 874b2ad | 2017-05-31 17:19:21 -0700 | [diff] [blame] | 26 | obj-$(CONFIG_BATTERY_CPCAP) += cpcap-battery.o |
Tobias Schramm | b4c7715 | 2020-04-14 14:52:08 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_BATTERY_CW2015) += cw2015_battery.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 28 | obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o |
| 29 | obj-$(CONFIG_BATTERY_DS2780) += ds2780_battery.o |
| 30 | obj-$(CONFIG_BATTERY_DS2781) += ds2781_battery.o |
| 31 | obj-$(CONFIG_BATTERY_DS2782) += ds2782_battery.o |
| 32 | obj-$(CONFIG_BATTERY_GAUGE_LTC2941) += ltc2941-battery-gauge.o |
| 33 | obj-$(CONFIG_BATTERY_GOLDFISH) += goldfish_battery.o |
David Lechner | 53db885 | 2017-04-11 16:05:22 -0500 | [diff] [blame] | 34 | obj-$(CONFIG_BATTERY_LEGO_EV3) += lego_ev3_battery.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o |
| 36 | obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o |
| 37 | obj-$(CONFIG_BATTERY_TOSA) += tosa_battery.o |
| 38 | obj-$(CONFIG_BATTERY_COLLIE) += collie_battery.o |
Artur Rojek | fb24ccf | 2019-04-18 20:24:04 +0200 | [diff] [blame] | 39 | obj-$(CONFIG_BATTERY_INGENIC) += ingenic-battery.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 40 | obj-$(CONFIG_BATTERY_IPAQ_MICRO) += ipaq_micro_battery.o |
| 41 | obj-$(CONFIG_BATTERY_WM97XX) += wm97xx_battery.o |
| 42 | obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o |
Nicolas Saenz Julienne | feb583e | 2016-12-20 16:31:13 +0100 | [diff] [blame] | 43 | obj-$(CONFIG_CHARGER_SBS) += sbs-charger.o |
Karl-Heinz Schneider | dbc4ded | 2017-08-24 17:31:08 +0800 | [diff] [blame] | 44 | obj-$(CONFIG_MANAGER_SBS) += sbs-manager.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 45 | obj-$(CONFIG_BATTERY_BQ27XXX) += bq27xxx_battery.o |
| 46 | obj-$(CONFIG_BATTERY_BQ27XXX_I2C) += bq27xxx_battery_i2c.o |
Andrew F. Davis | 55a9db6 | 2017-07-19 12:04:06 -0500 | [diff] [blame] | 47 | obj-$(CONFIG_BATTERY_BQ27XXX_HDQ) += bq27xxx_battery_hdq.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 48 | obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o |
| 49 | obj-$(CONFIG_BATTERY_DA9052) += da9052-battery.o |
| 50 | obj-$(CONFIG_CHARGER_DA9150) += da9150-charger.o |
| 51 | obj-$(CONFIG_BATTERY_DA9150) += da9150-fg.o |
| 52 | obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o |
| 53 | obj-$(CONFIG_BATTERY_MAX17042) += max17042_battery.o |
Alex A. Mihaylov | 10e48b7 | 2017-07-06 16:10:16 +0300 | [diff] [blame] | 54 | obj-$(CONFIG_BATTERY_MAX1721X) += max1721x_battery.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 55 | obj-$(CONFIG_BATTERY_Z2) += z2_battery.o |
| 56 | obj-$(CONFIG_BATTERY_RT5033) += rt5033_battery.o |
| 57 | obj-$(CONFIG_CHARGER_RT9455) += rt9455_charger.o |
| 58 | obj-$(CONFIG_BATTERY_S3C_ADC) += s3c_adc_battery.o |
| 59 | obj-$(CONFIG_BATTERY_TWL4030_MADC) += twl4030_madc_battery.o |
| 60 | obj-$(CONFIG_CHARGER_88PM860X) += 88pm860x_charger.o |
| 61 | obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 62 | obj-$(CONFIG_BATTERY_RX51) += rx51_battery.o |
| 63 | obj-$(CONFIG_AB8500_BM) += ab8500_bmdata.o ab8500_charger.o ab8500_fg.o ab8500_btemp.o abx500_chargalg.o pm2301_charger.o |
Tony Lindgren | 0c9888e | 2017-03-26 20:25:13 -0700 | [diff] [blame] | 64 | obj-$(CONFIG_CHARGER_CPCAP) += cpcap-charger.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 65 | obj-$(CONFIG_CHARGER_ISP1704) += isp1704_charger.o |
| 66 | obj-$(CONFIG_CHARGER_MAX8903) += max8903_charger.o |
| 67 | obj-$(CONFIG_CHARGER_TWL4030) += twl4030_charger.o |
| 68 | obj-$(CONFIG_CHARGER_LP8727) += lp8727_charger.o |
| 69 | obj-$(CONFIG_CHARGER_LP8788) += lp8788-charger.o |
| 70 | obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o |
| 71 | obj-$(CONFIG_CHARGER_MANAGER) += charger-manager.o |
Michael Hennerich | d7830ce | 2019-04-09 08:24:41 +0200 | [diff] [blame] | 72 | obj-$(CONFIG_CHARGER_LT3651) += lt3651-charger.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 73 | obj-$(CONFIG_CHARGER_MAX14577) += max14577_charger.o |
Alexander Kurz | 9d60595 | 2016-10-19 18:04:49 +0200 | [diff] [blame] | 74 | obj-$(CONFIG_CHARGER_DETECTOR_MAX14656) += max14656_charger_detector.o |
Bartosz Golaszewski | e85e17d | 2019-04-23 11:04:47 +0200 | [diff] [blame] | 75 | obj-$(CONFIG_CHARGER_MAX77650) += max77650-charger.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 76 | obj-$(CONFIG_CHARGER_MAX77693) += max77693_charger.o |
| 77 | obj-$(CONFIG_CHARGER_MAX8997) += max8997_charger.o |
| 78 | obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o |
Saravanan Sekar | 3bc6d79 | 2020-05-26 11:06:44 +0200 | [diff] [blame] | 79 | obj-$(CONFIG_CHARGER_MP2629) += mp2629_charger.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 80 | obj-$(CONFIG_CHARGER_QCOM_SMBB) += qcom_smbb.o |
| 81 | obj-$(CONFIG_CHARGER_BQ2415X) += bq2415x_charger.o |
| 82 | obj-$(CONFIG_CHARGER_BQ24190) += bq24190_charger.o |
| 83 | obj-$(CONFIG_CHARGER_BQ24257) += bq24257_charger.o |
| 84 | obj-$(CONFIG_CHARGER_BQ24735) += bq24735-charger.o |
Ricardo Rivera-Matos | 4490845 | 2020-07-20 15:44:00 -0500 | [diff] [blame] | 85 | obj-$(CONFIG_CHARGER_BQ2515X) += bq2515x_charger.o |
Sebastian Reichel | 8c0984e | 2016-06-17 13:54:32 +0200 | [diff] [blame] | 86 | obj-$(CONFIG_CHARGER_BQ25890) += bq25890_charger.o |
| 87 | obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o |
| 88 | obj-$(CONFIG_CHARGER_TPS65090) += tps65090-charger.o |
| 89 | obj-$(CONFIG_CHARGER_TPS65217) += tps65217_charger.o |
| 90 | obj-$(CONFIG_AXP288_FUEL_GAUGE) += axp288_fuel_gauge.o |
| 91 | obj-$(CONFIG_AXP288_CHARGER) += axp288_charger.o |
Sameer Nanda | f68b883 | 2018-05-02 17:44:17 +0200 | [diff] [blame] | 92 | obj-$(CONFIG_CHARGER_CROS_USBPD) += cros_usbpd-charger.o |
Baolin Wang | 1c3d7b0 | 2018-09-17 13:03:31 -0700 | [diff] [blame] | 93 | obj-$(CONFIG_CHARGER_SC2731) += sc2731_charger.o |
Baolin Wang | 195ca17 | 2018-11-05 15:39:11 +0800 | [diff] [blame] | 94 | obj-$(CONFIG_FUEL_GAUGE_SC27XX) += sc27xx_fuel_gauge.o |
Andrey Smirnov | 9a2688e | 2019-05-03 10:00:41 -0700 | [diff] [blame] | 95 | obj-$(CONFIG_CHARGER_UCS1002) += ucs1002_power.o |
Matti Vaittinen | f8c7f7d | 2019-06-03 10:28:20 +0300 | [diff] [blame] | 96 | obj-$(CONFIG_CHARGER_BD70528) += bd70528-charger.o |
Matti Vaittinen | 0902f83 | 2020-05-08 18:49:26 +0300 | [diff] [blame] | 97 | obj-$(CONFIG_CHARGER_BD99954) += bd99954-charger.o |
Nick Crews | 3f57fe2 | 2019-05-08 14:38:25 -0600 | [diff] [blame] | 98 | obj-$(CONFIG_CHARGER_WILCO) += wilco-charger.o |
Andreas Kemnade | 1426dff | 2020-08-28 13:49:06 +0200 | [diff] [blame^] | 99 | obj-$(CONFIG_RN5T618_POWER) += rn5t618_power.o |