]> Pileus Git - ~andy/linux/commitdiff
ARM: ux500: Remove support for Snowball's Ethernet regulator when booting with ATAGs
authorLee Jones <lee.jones@linaro.org>
Mon, 19 Aug 2013 15:27:28 +0000 (16:27 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Sep 2013 09:07:08 +0000 (11:07 +0200)
It's time to remove all ATAG support from ux500 and rely solely on
Device Tree booting. This patch is part of that endeavour.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/board-mop500.c

index a1c433062f625aca3f5b6fd423228d17f9db2db9..6c7bec4c154bc014a58e889ce57e0c34aa8fcea0 100644 (file)
 #include "board-mop500.h"
 #include "board-mop500-regulators.h"
 
-static struct fixed_voltage_config snowball_gpio_en_3v3_data = {
-       .supply_name            = "EN-3V3",
-       .gpio                   = SNOWBALL_EN_3V3_ETH_GPIO,
-       .microvolts             = 3300000,
-       .enable_high            = 1,
-       .init_data              = &gpio_en_3v3_regulator,
-       .startup_delay          = 5000, /* 1200us */
-};
-
-static struct platform_device snowball_gpio_en_3v3_regulator_dev = {
-       .name   = "reg-fixed-voltage",
-       .id     = 1,
-       .dev    = {
-               .platform_data  = &snowball_gpio_en_3v3_data,
-       },
-};
-
 /* Dynamically populated. */
 static struct gpio sdi0_reg_gpios[] = {
        { 0, GPIOF_OUT_INIT_LOW, "mmci_vsel" },
@@ -377,7 +360,6 @@ static void __init u8500_cryp1_hash1_init(struct device *parent)
 }
 
 static struct platform_device *snowball_platform_devs[] __initdata = {
-       &snowball_gpio_en_3v3_regulator_dev,
        &u8500_cpufreq_cooling_device,
        &sdi0_regulator,
 };