Skip to content

Commit

Permalink
power: move power supply drivers to power/supply
Browse files Browse the repository at this point in the history
This moves all power supply drivers from drivers/power/
to drivers/power/supply/. The intention is a cleaner
source tree, since drivers/power/ also contains frameworks
unrelated to power supply, like adaptive voltage scaling.

Signed-off-by: Sebastian Reichel <[email protected]>
  • Loading branch information
sre committed Aug 10, 2016
1 parent 29b4817 commit 8c0984e
Show file tree
Hide file tree
Showing 81 changed files with 624 additions and 616 deletions.
4 changes: 2 additions & 2 deletions Documentation/power/power_supply_class.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ kind of power supply, and can process/present them to a user in consistent
manner. Results for different power supplies and machines are also directly
comparable.

See drivers/power/ds2760_battery.c and drivers/power/pda_power.c for the
example how to declare and handle attributes.
See drivers/power/supply/ds2760_battery.c and drivers/power/supply/pda_power.c
for the example how to declare and handle attributes.


Units
Expand Down
41 changes: 25 additions & 16 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -3751,8 +3751,8 @@ F: drivers/leds/leds-da90??.c
F: drivers/mfd/da903x.c
F: drivers/mfd/da90??-*.c
F: drivers/mfd/da91??-*.c
F: drivers/power/da9052-battery.c
F: drivers/power/da91??-*.c
F: drivers/power/supply/da9052-battery.c
F: drivers/power/supply/da91??-*.c
F: drivers/regulator/da903x.c
F: drivers/regulator/da9???-regulator.[ch]
F: drivers/rtc/rtc-da90??.c
Expand Down Expand Up @@ -7451,8 +7451,8 @@ MAXIM MUIC CHARGER DRIVERS FOR EXYNOS BASED BOARDS
M: Krzysztof Kozlowski <[email protected]>
L: [email protected]
S: Supported
F: drivers/power/max14577_charger.c
F: drivers/power/max77693_charger.c
F: drivers/power/supply/max14577_charger.c
F: drivers/power/supply/max77693_charger.c

MAXIM MAX77802 MULTIFUNCTION PMIC DEVICE DRIVERS
M: Javier Martinez Canillas <[email protected]>
Expand Down Expand Up @@ -8323,11 +8323,11 @@ R: Pali Rohár <[email protected]>
F: include/linux/power/bq2415x_charger.h
F: include/linux/power/bq27xxx_battery.h
F: include/linux/power/isp1704_charger.h
F: drivers/power/bq2415x_charger.c
F: drivers/power/bq27xxx_battery.c
F: drivers/power/bq27xxx_battery_i2c.c
F: drivers/power/isp1704_charger.c
F: drivers/power/rx51_battery.c
F: drivers/power/supply/bq2415x_charger.c
F: drivers/power/supply/bq27xxx_battery.c
F: drivers/power/supply/bq27xxx_battery_i2c.c
F: drivers/power/supply/isp1704_charger.c
F: drivers/power/supply/rx51_battery.c

NTB DRIVER CORE
M: Jon Mason <[email protected]>
Expand Down Expand Up @@ -9334,8 +9334,7 @@ S: Maintained
F: Documentation/devicetree/bindings/power/
F: Documentation/devicetree/bindings/power_supply/
F: include/linux/power_supply.h
F: drivers/power/
X: drivers/power/avs/
F: drivers/power/supply/

POWER STATE COORDINATION INTERFACE (PSCI)
M: Mark Rutland <[email protected]>
Expand Down Expand Up @@ -10322,8 +10321,8 @@ F: drivers/thunderbolt/
TI BQ27XXX POWER SUPPLY DRIVER
R: Andrew F. Davis <[email protected]>
F: include/linux/power/bq27xxx_battery.h
F: drivers/power/bq27xxx_battery.c
F: drivers/power/bq27xxx_battery_i2c.c
F: drivers/power/supply/bq27xxx_battery.c
F: drivers/power/supply/bq27xxx_battery_i2c.c

TIMEKEEPING, CLOCKSOURCE CORE, NTP, ALARMTIMER
M: John Stultz <[email protected]>
Expand Down Expand Up @@ -11329,6 +11328,16 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
S: Supported
F: drivers/mfd/syscon.c

SYSTEM RESET/SHUTDOWN DRIVERS
M: Sebastian Reichel <[email protected]>
M: Dmitry Eremin-Solenikov <[email protected]>
M: David Woodhouse <[email protected]>
L: [email protected]
T: git git://git.infradead.org/battery-2.6.git
S: Maintained
F: Documentation/devicetree/bindings/power/reset/
F: drivers/power/reset/

SYSV FILESYSTEM
M: Christoph Hellwig <[email protected]>
S: Maintained
Expand Down Expand Up @@ -11677,7 +11686,7 @@ F: include/linux/platform_data/lp855x.h
TI LP8727 CHARGER DRIVER
M: Milo Kim <[email protected]>
S: Maintained
F: drivers/power/lp8727_charger.c
F: drivers/power/supply/lp8727_charger.c
F: include/linux/platform_data/lp8727.h

TI LP8788 MFD DRIVER
Expand All @@ -11686,7 +11695,7 @@ S: Maintained
F: drivers/iio/adc/lp8788_adc.c
F: drivers/leds/leds-lp8788.c
F: drivers/mfd/lp8788*.c
F: drivers/power/lp8788-charger.c
F: drivers/power/supply/lp8788-charger.c
F: drivers/regulator/lp8788-*.c
F: include/linux/mfd/lp8788*.h

Expand Down Expand Up @@ -12762,7 +12771,7 @@ F: drivers/input/touchscreen/wm97*.c
F: drivers/mfd/arizona*
F: drivers/mfd/wm*.c
F: drivers/mfd/cs47l24*
F: drivers/power/wm83*.c
F: drivers/power/supply/wm83*.c
F: drivers/rtc/rtc-wm83*.c
F: drivers/regulator/wm8*.c
F: drivers/video/backlight/wm83*_bl.c
Expand Down
Loading

0 comments on commit 8c0984e

Please sign in to comment.