diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-18 15:32:57 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-18 15:36:06 +0000 |
commit | 673abd92f999829bdd67d0273c43570a62123a63 (patch) | |
tree | 63132d1ffc1cb5bf50d244b184ca8d58a9cbc85c /meta/recipes-kernel/linux/linux-omap-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch | |
parent | fed61beb31c47e2d96af905a7047fe78d64c9bd0 (diff) | |
download | openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.gz openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.bz2 openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.xz openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.zip |
conf/machine: Drop older machines with no recent updates
These are all moving to meta-extras. Ideally in the future machines
such as these will be maintained to topic specific layers as we move
to a more layer oriented model. If this causes a problem for anyone
please discuss it on the mailing list.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-omap-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch deleted file mode 100644 index 49045f7bb..000000000 --- a/meta/recipes-kernel/linux/linux-omap-2.6.29/0001-board-ldp-add-regulator-info-to-get-the-microSD-slo.patch +++ /dev/null @@ -1,90 +0,0 @@ -From 7efa7cc5b807cb840c62b5bf54bf47181c9b95a6 Mon Sep 17 00:00:00 2001 -From: Koen Kooi <koen@openembedded.org> -Date: Mon, 30 Mar 2009 15:21:37 +0200 -Subject: [PATCH v2] ARM: OMAP: board-ldp: add regulator info to get the microSD slot working again - -The ldp board was left behind when other boards got updated. The ldp info was copied from the beagleboard board file and s/beagle/ldp/g - -Changes since v1: - * dropped vsim portion since only 4 pins are hooked up - -Signed-off-by: Koen Kooi <koen@beagleboard.org> ---- - arch/arm/mach-omap2/board-ldp.c | 32 ++++++++++++++++++++++++++++++++ - 1 files changed, 32 insertions(+), 0 deletions(-) - -diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c -index 30926b0..19a5c15 100644 ---- a/arch/arm/mach-omap2/board-ldp.c -+++ b/arch/arm/mach-omap2/board-ldp.c -@@ -22,6 +22,7 @@ - #include <linux/clk.h> - #include <linux/spi/spi.h> - #include <linux/spi/ads7846.h> -+#include <linux/regulator/machine.h> - #include <linux/i2c/twl4030.h> - - #include <mach/hardware.h> -@@ -450,7 +451,16 @@ static struct twl4030_script *twl4030_scripts[] __initdata = { - &wrst_script, - }; - -+static const struct twl4030_resconfig ldp_resconfig[] = { -+ /* disable regulators that u-boot left enabled; the -+ * devices' drivers should be managing these. -+ */ -+ { .resource = RES_VMMC1, }, -+ { 0, }, -+}; -+ - static struct twl4030_power_data sdp3430_t2scripts_data __initdata = { -+ .resource_config = ldp_resconfig, - .scripts = twl4030_scripts, - .size = ARRAY_SIZE(twl4030_scripts), - }; -@@ -474,6 +484,25 @@ static struct twl4030_madc_platform_data ldp_madc_data = { - .irq_line = 1, - }; - -+static struct regulator_consumer_supply ldp_vmmc1_supply = { -+ .supply = "vmmc", -+}; -+ -+/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ -+static struct regulator_init_data ldp_vmmc1 = { -+ .constraints = { -+ .min_uV = 1850000, -+ .max_uV = 3150000, -+ .valid_modes_mask = REGULATOR_MODE_NORMAL -+ | REGULATOR_MODE_STANDBY, -+ .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE -+ | REGULATOR_CHANGE_MODE -+ | REGULATOR_CHANGE_STATUS, -+ }, -+ .num_consumer_supplies = 1, -+ .consumer_supplies = &ldp_vmmc1_supply, -+}; -+ - static struct twl4030_platform_data ldp_twldata = { - .irq_base = TWL4030_IRQ_BASE, - .irq_end = TWL4030_IRQ_END, -@@ -483,6 +512,7 @@ static struct twl4030_platform_data ldp_twldata = { - .madc = &ldp_madc_data, - .usb = &ldp_usb_data, - .power = &sdp3430_t2scripts_data, -+ .vmmc1 = &ldp_vmmc1, - .gpio = &ldp_gpio_data, - .keypad = &ldp_kp_twl4030_data, - }; -@@ -530,6 +560,8 @@ static void __init omap_ldp_init(void) - omap_serial_init(); - usb_musb_init(); - twl4030_mmc_init(mmc); -+ /* link regulators to MMC adapters */ -+ ldp_vmmc1_supply.dev = mmc[0].dev; - } - - static void __init omap_ldp_map_io(void) --- -1.6.2 - |