Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298675
b: refs/heads/master
c: 954c59a
h: refs/heads/master
i:
  298673: 7ff4d38
  298671: c8aa1f9
v: v3
  • Loading branch information
Fabio Estevam authored and Sascha Hauer committed Apr 2, 2012
1 parent 34416c5 commit 1bf4fba
Show file tree
Hide file tree
Showing 2 changed files with 10 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: da21d4dc1795be22d244fa29ea757f3994511880
refs/heads/master: 954c59acd3f9df6899f908004e3ff349a7cecd7b
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-imx/mach-mx31lilly.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
#include <linux/mfd/mc13783.h>
#include <linux/usb/otg.h>
#include <linux/usb/ulpi.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>

#include <asm/mach-types.h>
#include <asm/mach/arch.h>
Expand Down Expand Up @@ -242,6 +244,11 @@ static struct platform_device *devices[] __initdata = {
static int mx31lilly_baseboard;
core_param(mx31lilly_baseboard, mx31lilly_baseboard, int, 0444);

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

static void __init mx31lilly_board_init(void)
{
imx31_soc_init();
Expand Down Expand Up @@ -280,6 +287,8 @@ static void __init mx31lilly_board_init(void)
imx31_add_spi_imx1(&spi1_pdata);
spi_register_board_info(&mc13783_dev, 1);

regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies));

platform_add_devices(devices, ARRAY_SIZE(devices));

/* USB */
Expand Down

0 comments on commit 1bf4fba

Please sign in to comment.