xref: /openbmc/linux/drivers/power/supply/Makefile (revision 9d64fc08)
1subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
2
3power_supply-y				:= power_supply_core.o
4power_supply-$(CONFIG_SYSFS)		+= power_supply_sysfs.o
5power_supply-$(CONFIG_LEDS_TRIGGERS)	+= power_supply_leds.o
6
7obj-$(CONFIG_POWER_SUPPLY)	+= power_supply.o
8obj-$(CONFIG_GENERIC_ADC_BATTERY)	+= generic-adc-battery.o
9
10obj-$(CONFIG_PDA_POWER)		+= pda_power.o
11obj-$(CONFIG_APM_POWER)		+= apm_power.o
12obj-$(CONFIG_AXP20X_POWER)	+= axp20x_usb_power.o
13obj-$(CONFIG_MAX8925_POWER)	+= max8925_power.o
14obj-$(CONFIG_WM831X_BACKUP)	+= wm831x_backup.o
15obj-$(CONFIG_WM831X_POWER)	+= wm831x_power.o
16obj-$(CONFIG_WM8350_POWER)	+= wm8350_power.o
17obj-$(CONFIG_TEST_POWER)	+= test_power.o
18
19obj-$(CONFIG_BATTERY_88PM860X)	+= 88pm860x_battery.o
20obj-$(CONFIG_BATTERY_ACT8945A)	+= act8945a_charger.o
21obj-$(CONFIG_BATTERY_AXP20X)	+= axp20x_battery.o
22obj-$(CONFIG_CHARGER_AXP20X)	+= axp20x_ac_power.o
23obj-$(CONFIG_BATTERY_CPCAP)	+= cpcap-battery.o
24obj-$(CONFIG_BATTERY_DS2760)	+= ds2760_battery.o
25obj-$(CONFIG_BATTERY_DS2780)	+= ds2780_battery.o
26obj-$(CONFIG_BATTERY_DS2781)	+= ds2781_battery.o
27obj-$(CONFIG_BATTERY_DS2782)	+= ds2782_battery.o
28obj-$(CONFIG_BATTERY_GAUGE_LTC2941)	+= ltc2941-battery-gauge.o
29obj-$(CONFIG_BATTERY_GOLDFISH)	+= goldfish_battery.o
30obj-$(CONFIG_BATTERY_LEGO_EV3)	+= lego_ev3_battery.o
31obj-$(CONFIG_BATTERY_PMU)	+= pmu_battery.o
32obj-$(CONFIG_BATTERY_OLPC)	+= olpc_battery.o
33obj-$(CONFIG_BATTERY_TOSA)	+= tosa_battery.o
34obj-$(CONFIG_BATTERY_COLLIE)	+= collie_battery.o
35obj-$(CONFIG_BATTERY_IPAQ_MICRO) += ipaq_micro_battery.o
36obj-$(CONFIG_BATTERY_WM97XX)	+= wm97xx_battery.o
37obj-$(CONFIG_BATTERY_SBS)	+= sbs-battery.o
38obj-$(CONFIG_CHARGER_SBS)	+= sbs-charger.o
39obj-$(CONFIG_BATTERY_BQ27XXX)	+= bq27xxx_battery.o
40obj-$(CONFIG_BATTERY_BQ27XXX_I2C) += bq27xxx_battery_i2c.o
41obj-$(CONFIG_BATTERY_BQ27XXX_HDQ) += bq27xxx_battery_hdq.o
42obj-$(CONFIG_BATTERY_DA9030)	+= da9030_battery.o
43obj-$(CONFIG_BATTERY_DA9052)	+= da9052-battery.o
44obj-$(CONFIG_CHARGER_DA9150)	+= da9150-charger.o
45obj-$(CONFIG_BATTERY_DA9150)	+= da9150-fg.o
46obj-$(CONFIG_BATTERY_MAX17040)	+= max17040_battery.o
47obj-$(CONFIG_BATTERY_MAX17042)	+= max17042_battery.o
48obj-$(CONFIG_BATTERY_MAX1721X)	+= max1721x_battery.o
49obj-$(CONFIG_BATTERY_Z2)	+= z2_battery.o
50obj-$(CONFIG_BATTERY_RT5033)	+= rt5033_battery.o
51obj-$(CONFIG_CHARGER_RT9455)	+= rt9455_charger.o
52obj-$(CONFIG_BATTERY_S3C_ADC)	+= s3c_adc_battery.o
53obj-$(CONFIG_BATTERY_TWL4030_MADC)	+= twl4030_madc_battery.o
54obj-$(CONFIG_CHARGER_88PM860X)	+= 88pm860x_charger.o
55obj-$(CONFIG_CHARGER_PCF50633)	+= pcf50633-charger.o
56obj-$(CONFIG_BATTERY_JZ4740)	+= jz4740-battery.o
57obj-$(CONFIG_BATTERY_RX51)	+= rx51_battery.o
58obj-$(CONFIG_AB8500_BM)		+= ab8500_bmdata.o ab8500_charger.o ab8500_fg.o ab8500_btemp.o abx500_chargalg.o pm2301_charger.o
59obj-$(CONFIG_CHARGER_CPCAP)	+= cpcap-charger.o
60obj-$(CONFIG_CHARGER_ISP1704)	+= isp1704_charger.o
61obj-$(CONFIG_CHARGER_MAX8903)	+= max8903_charger.o
62obj-$(CONFIG_CHARGER_TWL4030)	+= twl4030_charger.o
63obj-$(CONFIG_CHARGER_LP8727)	+= lp8727_charger.o
64obj-$(CONFIG_CHARGER_LP8788)	+= lp8788-charger.o
65obj-$(CONFIG_CHARGER_GPIO)	+= gpio-charger.o
66obj-$(CONFIG_CHARGER_MANAGER)	+= charger-manager.o
67obj-$(CONFIG_CHARGER_LTC3651)	+= ltc3651-charger.o
68obj-$(CONFIG_CHARGER_MAX14577)	+= max14577_charger.o
69obj-$(CONFIG_CHARGER_DETECTOR_MAX14656)	+= max14656_charger_detector.o
70obj-$(CONFIG_CHARGER_MAX77693)	+= max77693_charger.o
71obj-$(CONFIG_CHARGER_MAX8997)	+= max8997_charger.o
72obj-$(CONFIG_CHARGER_MAX8998)	+= max8998_charger.o
73obj-$(CONFIG_CHARGER_QCOM_SMBB)	+= qcom_smbb.o
74obj-$(CONFIG_CHARGER_BQ2415X)	+= bq2415x_charger.o
75obj-$(CONFIG_CHARGER_BQ24190)	+= bq24190_charger.o
76obj-$(CONFIG_CHARGER_BQ24257)	+= bq24257_charger.o
77obj-$(CONFIG_CHARGER_BQ24735)	+= bq24735-charger.o
78obj-$(CONFIG_CHARGER_BQ25890)	+= bq25890_charger.o
79obj-$(CONFIG_CHARGER_SMB347)	+= smb347-charger.o
80obj-$(CONFIG_CHARGER_TPS65090)	+= tps65090-charger.o
81obj-$(CONFIG_CHARGER_TPS65217)	+= tps65217_charger.o
82obj-$(CONFIG_AXP288_FUEL_GAUGE) += axp288_fuel_gauge.o
83obj-$(CONFIG_AXP288_CHARGER)	+= axp288_charger.o
84