Skip to content

Commit

Permalink
Merge pull request #980 from notro/power
Browse files Browse the repository at this point in the history
BCM270x: Move power module
  • Loading branch information
pelwell committed May 28, 2015
2 parents 9f3236d + a742dce commit 886477a
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 333 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2835.dtsi
Expand Up @@ -6,7 +6,7 @@
interrupt-parent = <&intc>;

chosen {
bootargs = "earlyprintk console=ttyAMA0";
bootargs = "";
};

soc {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-bcm2708/Makefile
Expand Up @@ -2,6 +2,6 @@
# Makefile for the linux kernel.
#

obj-$(CONFIG_MACH_BCM2708) += bcm2708.o armctrl.o power.o
obj-$(CONFIG_MACH_BCM2708) += bcm2708.o armctrl.o
obj-$(CONFIG_BCM2708_GPIO) += bcm2708_gpio.o
obj-$(CONFIG_BCM2708_VCMEM) += vc_mem.o
26 changes: 0 additions & 26 deletions arch/arm/mach-bcm2708/include/mach/power.h

This file was deleted.

2 changes: 1 addition & 1 deletion arch/arm/mach-bcm2709/Makefile
Expand Up @@ -2,6 +2,6 @@
# Makefile for the linux kernel.
#

obj-$(CONFIG_MACH_BCM2709) += bcm2709.o armctrl.o power.o
obj-$(CONFIG_MACH_BCM2709) += bcm2709.o armctrl.o
obj-$(CONFIG_BCM2708_GPIO) += bcm2708_gpio.o
obj-$(CONFIG_BCM2708_VCMEM) += vc_mem.o
62 changes: 0 additions & 62 deletions arch/arm/mach-bcm2709/include/mach/arm_power.h

This file was deleted.

26 changes: 0 additions & 26 deletions arch/arm/mach-bcm2709/include/mach/power.h

This file was deleted.

199 changes: 0 additions & 199 deletions arch/arm/mach-bcm2709/power.c

This file was deleted.

1 change: 1 addition & 0 deletions drivers/soc/Kconfig
@@ -1,5 +1,6 @@
menu "SOC (System On Chip) specific Drivers"

source "drivers/soc/bcm2835/Kconfig"
source "drivers/soc/qcom/Kconfig"
source "drivers/soc/ti/Kconfig"
source "drivers/soc/versatile/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/soc/Makefile
Expand Up @@ -2,6 +2,7 @@
# Makefile for the Linux Kernel SOC specific device drivers.
#

obj-y += bcm2835/
obj-$(CONFIG_ARCH_QCOM) += qcom/
obj-$(CONFIG_ARCH_TEGRA) += tegra/
obj-$(CONFIG_SOC_TI) += ti/
Expand Down
9 changes: 9 additions & 0 deletions drivers/soc/bcm2835/Kconfig
@@ -0,0 +1,9 @@
#
# BCM2835 Soc drivers
#
config BCM2708_POWER
tristate "BCM2708 legacy power driver"
depends on (ARCH_BCM2708 || ARCH_BCM2709 || ARCH_BCM2835) && BCM2708_MBOX
default y
help
Turns on USB power and provides an API for controlling power.
1 change: 1 addition & 0 deletions drivers/soc/bcm2835/Makefile
@@ -0,0 +1 @@
obj-$(CONFIG_BCM2708_POWER) += bcm2708-power.o
Expand Up @@ -15,8 +15,7 @@
#include <linux/semaphore.h>
#include <linux/bug.h>
#include <linux/platform_data/mailbox-bcm2708.h>
#include <mach/power.h>
#include <mach/arm_power.h>
#include <soc/bcm2835/power.h>

#define DRIVER_NAME "bcm2708_power"

Expand Down

0 comments on commit 886477a

Please sign in to comment.