summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-kirkwood
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2012-11-17 15:46:14 +0100
committerJason Cooper <jason@lakedaemon.net>2012-11-24 02:57:10 +0000
commit423b89595de34f81061d106c34cfca58cde497da (patch)
treef4384e66e83c371309f3def4d04c3ae60ab98e6b /arch/arm/mach-kirkwood
parent280b348d9157b77cceb1aafd6b0e9ac6eb6c3b44 (diff)
downloadtalos-op-linux-423b89595de34f81061d106c34cfca58cde497da.tar.gz
talos-op-linux-423b89595de34f81061d106c34cfca58cde497da.zip
ARM: Kirkwood: Convert LSXL to use regulators
Control the power to USB and HDD using a fixed regulator. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Michael Walle <michael@walle.cc> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/mach-kirkwood')
-rw-r--r--arch/arm/mach-kirkwood/board-lsxl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-kirkwood/board-lsxl.c b/arch/arm/mach-kirkwood/board-lsxl.c
index b6fbdaac3843..f780e2e0c5dc 100644
--- a/arch/arm/mach-kirkwood/board-lsxl.c
+++ b/arch/arm/mach-kirkwood/board-lsxl.c
@@ -19,7 +19,6 @@
#include <linux/spi/flash.h>
#include <linux/spi/spi.h>
#include <linux/mv643xx_eth.h>
-#include <linux/gpio.h>
#include "common.h"
#include "mpp.h"
@@ -61,9 +60,6 @@ static void lsxl_power_off(void)
kirkwood_restart('h', NULL);
}
-#define LSXL_GPIO_HDD_POWER 10
-#define LSXL_GPIO_USB_POWER 11
-
void __init lsxl_init(void)
{
/*
@@ -71,10 +67,6 @@ void __init lsxl_init(void)
*/
kirkwood_mpp_conf(lsxl_mpp_config);
- /* usb and sata power on */
- gpio_set_value(LSXL_GPIO_USB_POWER, 1);
- gpio_set_value(LSXL_GPIO_HDD_POWER, 1);
-
kirkwood_ge00_init(&lsxl_ge00_data);
kirkwood_ge01_init(&lsxl_ge01_data);
OpenPOWER on IntegriCloud