Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298673
b: refs/heads/master
c: fd36dfb
h: refs/heads/master
i:
  298671: c8aa1f9
v: v3
  • Loading branch information
Fabio Estevam authored and Sascha Hauer committed Apr 2, 2012
1 parent 7311fc2 commit 7ff4d38
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfb5f5530c8b3efd3f5e58ab14258bf2a9b34096
refs/heads/master: fd36dfb89fa080255ddca0ddbab62b64c9288e78
8 changes: 8 additions & 0 deletions trunk/arch/arm/mach-imx/mach-mx53_ard.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/smsc911x.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>

#include <mach/common.h>
#include <mach/hardware.h>
Expand Down Expand Up @@ -214,6 +216,11 @@ static int weim_cs_config(void)
return 0;
}

static struct regulator_consumer_supply dummy_supplies[] = {
REGULATOR_SUPPLY("vdd33a", "smsc911x"),
REGULATOR_SUPPLY("vddvario", "smsc911x"),
};

void __init imx53_ard_common_init(void)
{
mxc_iomux_v3_setup_multiple_pads(mx53_ard_pads,
Expand All @@ -232,6 +239,7 @@ static void __init mx53_ard_board_init(void)

imx53_ard_common_init();
mx53_ard_io_init();
regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies));
platform_add_devices(devices, ARRAY_SIZE(devices));

imx53_add_sdhci_esdhc_imx(0, &mx53_ard_sd1_data);
Expand Down

0 comments on commit 7ff4d38

Please sign in to comment.