Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292075
b: refs/heads/master
c: 7dc3a6a
h: refs/heads/master
i:
  292073: d427ffb
  292071: ec7e7f5
v: v3
  • Loading branch information
Sascha Hauer authored and Mark Brown committed Mar 3, 2012
1 parent 55dfc98 commit 7330a3b
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: 613330a0f73b2698b2210ea89092eb56635fc5d8
refs/heads/master: 7dc3a6a562aecb2931734424e00cc4ca78cf2dc0
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-imx/mach-pcm037.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include <linux/usb/ulpi.h>
#include <linux/gfp.h>
#include <linux/memblock.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/fixed.h>

#include <media/soc_camera.h>

Expand Down Expand Up @@ -570,6 +572,11 @@ static int __init pcm037_otg_mode(char *options)
}
__setup("otg_mode=", pcm037_otg_mode);

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

/*
* Board specific initialization.
*/
Expand All @@ -579,6 +586,8 @@ static void __init pcm037_init(void)

imx31_soc_init();

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

mxc_iomux_set_gpr(MUX_PGP_UH2, 1);

mxc_iomux_setup_multiple_pins(pcm037_pins, ARRAY_SIZE(pcm037_pins),
Expand Down

0 comments on commit 7330a3b

Please sign in to comment.