diff options
| -rw-r--r-- | arch/arm/mach-imx/mach-mx53_ard.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mach-mx53_ard.c b/arch/arm/mach-imx/mach-mx53_ard.c index 753f4fc9ec04..05641980dc5e 100644 --- a/arch/arm/mach-imx/mach-mx53_ard.c +++ b/arch/arm/mach-imx/mach-mx53_ard.c | |||
| @@ -23,6 +23,8 @@ | |||
| 23 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
| 24 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
| 25 | #include <linux/smsc911x.h> | 25 | #include <linux/smsc911x.h> |
| 26 | #include <linux/regulator/machine.h> | ||
| 27 | #include <linux/regulator/fixed.h> | ||
| 26 | 28 | ||
| 27 | #include <mach/common.h> | 29 | #include <mach/common.h> |
| 28 | #include <mach/hardware.h> | 30 | #include <mach/hardware.h> |
| @@ -214,6 +216,11 @@ static int weim_cs_config(void) | |||
| 214 | return 0; | 216 | return 0; |
| 215 | } | 217 | } |
| 216 | 218 | ||
| 219 | static struct regulator_consumer_supply dummy_supplies[] = { | ||
| 220 | REGULATOR_SUPPLY("vdd33a", "smsc911x"), | ||
| 221 | REGULATOR_SUPPLY("vddvario", "smsc911x"), | ||
| 222 | }; | ||
| 223 | |||
| 217 | void __init imx53_ard_common_init(void) | 224 | void __init imx53_ard_common_init(void) |
| 218 | { | 225 | { |
| 219 | mxc_iomux_v3_setup_multiple_pads(mx53_ard_pads, | 226 | mxc_iomux_v3_setup_multiple_pads(mx53_ard_pads, |
| @@ -232,6 +239,7 @@ static void __init mx53_ard_board_init(void) | |||
| 232 | 239 | ||
| 233 | imx53_ard_common_init(); | 240 | imx53_ard_common_init(); |
| 234 | mx53_ard_io_init(); | 241 | mx53_ard_io_init(); |
| 242 | regulator_register_fixed(0, dummy_supplies, ARRAY_SIZE(dummy_supplies)); | ||
| 235 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 243 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
| 236 | 244 | ||
| 237 | imx53_add_sdhci_esdhc_imx(0, &mx53_ard_sd1_data); | 245 | imx53_add_sdhci_esdhc_imx(0, &mx53_ard_sd1_data); |
