blob: cbdf89d595a301133bc17bf46e32aed25e4f410b [file] [log] [blame]
Geert Uytterhoeven213feb52015-02-23 17:08:48 +01001subdir-ccflags-$(CONFIG_POWER_SUPPLY_DEBUG) := -DDEBUG
Anton Vorontsov4a11b592007-05-04 00:27:45 +04002
matt mooney57894512010-10-06 00:46:27 -07003power_supply-y := power_supply_core.o
4power_supply-$(CONFIG_SYSFS) += power_supply_sysfs.o
5power_supply-$(CONFIG_LEDS_TRIGGERS) += power_supply_leds.o
Anton Vorontsov4a11b592007-05-04 00:27:45 +04006
7obj-$(CONFIG_POWER_SUPPLY) += power_supply.o
anish kumare60fea72012-09-21 17:10:00 +01008obj-$(CONFIG_GENERIC_ADC_BATTERY) += generic-adc-battery.o
Anton Vorontsovb2998042007-05-04 00:32:17 +04009
10obj-$(CONFIG_PDA_POWER) += pda_power.o
Anton Vorontsov3788ec92007-05-04 00:43:24 +040011obj-$(CONFIG_APM_POWER) += apm_power.o
Haojian Zhuang28db3882010-01-25 10:38:35 -050012obj-$(CONFIG_MAX8925_POWER) += max8925_power.o
Mark Brownc26964e2009-10-01 15:41:06 +010013obj-$(CONFIG_WM831X_BACKUP) += wm831x_backup.o
Mark Brown3961f7c2009-08-10 17:43:53 +010014obj-$(CONFIG_WM831X_POWER) += wm831x_power.o
Mark Brown14431aa2008-11-16 20:16:47 +010015obj-$(CONFIG_WM8350_POWER) += wm8350_power.o
Anton Vorontsova1e50fd2010-05-17 23:46:45 +040016obj-$(CONFIG_TEST_POWER) += test_power.o
Anton Vorontsovfe0e3152007-05-04 00:45:39 +040017
Jett.Zhoua830d282012-07-27 16:27:16 +080018obj-$(CONFIG_BATTERY_88PM860X) += 88pm860x_battery.o
Anton Vorontsovfe0e3152007-05-04 00:45:39 +040019obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o
Clifton Barnes275ac742011-05-26 16:26:04 -070020obj-$(CONFIG_BATTERY_DS2780) += ds2780_battery.o
Renata Sayakhovafef37e92012-02-29 14:58:53 +010021obj-$(CONFIG_BATTERY_DS2781) += ds2781_battery.o
Ryan Mallonbfdb46c2009-06-18 11:26:26 +120022obj-$(CONFIG_BATTERY_DS2782) += ds2782_battery.o
Mike Looijmans085bc242014-10-28 08:05:12 +010023obj-$(CONFIG_BATTERY_GAUGE_LTC2941) += ltc2941-battery-gauge.o
Mike Lockwood84d7b762013-01-25 15:30:00 +000024obj-$(CONFIG_BATTERY_GOLDFISH) += goldfish_battery.o
David Woodhouseefea58e2007-05-04 00:47:40 +040025obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o
David Woodhousefb972872007-05-04 00:51:18 +040026obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o
Dmitry Baryshkovfece4182008-06-24 18:51:07 +040027obj-$(CONFIG_BATTERY_TOSA) += tosa_battery.o
Thomas Kunzef1fce592009-02-10 14:12:29 +010028obj-$(CONFIG_BATTERY_COLLIE) += collie_battery.o
Dmitry Artamonow00a588f2014-07-24 16:00:32 +020029obj-$(CONFIG_BATTERY_IPAQ_MICRO) += ipaq_micro_battery.o
Anton Vorontsoved8c3172008-10-18 20:28:24 +040030obj-$(CONFIG_BATTERY_WM97XX) += wm97xx_battery.o
Rhyland Kleinc78f2b62011-12-05 17:50:45 -080031obj-$(CONFIG_BATTERY_SBS) += sbs-battery.o
Rodolfo Giomettib996ad02008-08-20 16:52:58 -070032obj-$(CONFIG_BATTERY_BQ27x00) += bq27x00_battery.o
Mike Rapoport342d7652008-12-30 22:44:53 +010033obj-$(CONFIG_BATTERY_DA9030) += da9030_battery.o
Ashish Jangamded7fc72011-12-14 17:57:56 +053034obj-$(CONFIG_BATTERY_DA9052) += da9052-battery.o
Adam Thomsonc1a281e2015-02-18 14:08:32 +000035obj-$(CONFIG_CHARGER_DA9150) += da9150-charger.o
Adam Thomsona419b4f2015-10-07 14:54:16 +010036obj-$(CONFIG_BATTERY_DA9150) += da9150-fg.o
Minkyu Kangc6f4a422009-06-05 15:33:04 +090037obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o
MyungJoo Ham359ab9f2011-01-14 14:46:11 +090038obj-$(CONFIG_BATTERY_MAX17042) += max17042_battery.o
Marek Vasute3e8d1c2010-02-28 12:47:49 +010039obj-$(CONFIG_BATTERY_Z2) += z2_battery.o
Beomho Seob847dd92015-01-09 17:45:11 +090040obj-$(CONFIG_BATTERY_RT5033) += rt5033_battery.o
Anda-Maria Nicolaee86d69d2015-05-29 17:25:45 +030041obj-$(CONFIG_CHARGER_RT9455) += rt9455_charger.o
Vasily Khoruzhick808be4b2010-07-17 13:57:03 +030042obj-$(CONFIG_BATTERY_S3C_ADC) += s3c_adc_battery.o
Marek Beliskoda0a00e2013-08-29 11:41:52 +020043obj-$(CONFIG_BATTERY_TWL4030_MADC) += twl4030_madc_battery.o
Jett.Zhoua830d282012-07-27 16:27:16 +080044obj-$(CONFIG_CHARGER_88PM860X) += 88pm860x_charger.o
Minkyu Kangc6f4a422009-06-05 15:33:04 +090045obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o
Lars-Peter Clausenf6a21382010-06-19 04:08:29 +000046obj-$(CONFIG_BATTERY_JZ4740) += jz4740-battery.o
Nithish Mahalingam67210812010-06-17 18:12:36 +010047obj-$(CONFIG_BATTERY_INTEL_MID) += intel_mid_battery.o
Pali Rohár04930ba2012-10-31 10:48:40 +010048obj-$(CONFIG_BATTERY_RX51) += rx51_battery.o
Marcus Cooper405fea12012-08-10 12:59:06 +020049obj-$(CONFIG_AB8500_BM) += ab8500_bmdata.o ab8500_charger.o ab8500_fg.o ab8500_btemp.o abx500_chargalg.o pm2301_charger.o
Heikki Krogerusec464752010-08-19 15:09:36 +030050obj-$(CONFIG_CHARGER_ISP1704) += isp1704_charger.o
MyungJoo Hamb14a9cc2011-03-29 10:10:16 +090051obj-$(CONFIG_CHARGER_MAX8903) += max8903_charger.o
Grazvydas Ignotas2e727f12010-09-27 23:18:24 +030052obj-$(CONFIG_CHARGER_TWL4030) += twl4030_charger.o
Woogyom Kim2165c8a2012-01-04 08:27:43 +040053obj-$(CONFIG_CHARGER_LP8727) += lp8727_charger.o
Kim, Milo98a27662012-09-05 10:43:21 +000054obj-$(CONFIG_CHARGER_LP8788) += lp8788-charger.o
Lars-Peter Clausen50704372010-10-21 17:55:01 +020055obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o
Donggeun Kim3bb3dbb2011-12-27 18:47:48 +090056obj-$(CONFIG_CHARGER_MANAGER) += charger-manager.o
Krzysztof Kozlowski55e64702013-12-06 12:32:12 +010057obj-$(CONFIG_CHARGER_MAX14577) += max14577_charger.o
Krzysztof Kozlowski87c2d902015-01-20 11:00:54 +010058obj-$(CONFIG_CHARGER_MAX77693) += max77693_charger.o
Donggeun Kim149c0772011-06-22 19:40:06 +090059obj-$(CONFIG_CHARGER_MAX8997) += max8997_charger.o
Donggeun Kimbb4ce972011-06-24 19:04:18 +090060obj-$(CONFIG_CHARGER_MAX8998) += max8998_charger.o
Anton Vorontsov7ad85832012-11-18 15:48:52 -080061obj-$(CONFIG_CHARGER_BQ2415X) += bq2415x_charger.o
Mark A. Greerd7bf3532013-08-23 19:21:03 -070062obj-$(CONFIG_CHARGER_BQ24190) += bq24190_charger.o
Laurentiu Palcu2219a932015-04-16 12:31:16 +030063obj-$(CONFIG_CHARGER_BQ24257) += bq24257_charger.o
Darbha Sriharshace773992013-10-11 17:15:43 -040064obj-$(CONFIG_CHARGER_BQ24735) += bq24735-charger.o
Laurentiu Palcu4aeae9c2015-05-19 16:24:40 +030065obj-$(CONFIG_CHARGER_BQ25890) += bq25890_charger.o
Jean Pihet21ff63a2012-04-25 16:43:17 +053066obj-$(CONFIG_POWER_AVS) += avs/
Bruce E. Robertsoned1a2302012-02-06 15:59:01 +000067obj-$(CONFIG_CHARGER_SMB347) += smb347-charger.o
Rhyland Klein6f8da5d2013-03-12 18:08:09 -040068obj-$(CONFIG_CHARGER_TPS65090) += tps65090-charger.o
Jamie Lentin96ff0f52012-11-17 09:51:04 +010069obj-$(CONFIG_POWER_RESET) += reset/
Todd Brandt5a5bf492015-02-04 16:24:38 -080070obj-$(CONFIG_AXP288_FUEL_GAUGE) += axp288_fuel_gauge.o
Ramakrishna Pallala843735b2015-05-04 22:16:07 +053071obj-$(CONFIG_AXP288_CHARGER) += axp288_charger.o