panda: Turn on vcxio regulator
The DSI peripheral is supplied by vcxio. Set it to always on.
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index e15ca8f..981d865 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -48,6 +48,7 @@
#include <plat/mmc.h>
#include <plat/dma-44xx.h>
#include <video/omap-panel-generic-dpi.h>
+#include <video/omap-panel-nokia-dsi.h>
#include "hsmmc.h"
#include "control.h"
@@ -350,12 +351,31 @@
.naudint_irq = OMAP44XX_IRQ_SYS_2N,
.irq_base = TWL6040_CODEC_IRQ_BASE,
};
+
+static struct regulator_consumer_supply omap4_panda_vcxio_supply[] = {
+ OMAP_DSS_SUPPLIES,
+};
+
+
+static struct regulator_init_data omap4_panda_vcxio = {
+ .constraints = {
+ .min_uV = 1800000,
+ .max_uV = 1800000,
+ .valid_modes_mask = REGULATOR_MODE_NORMAL | REGULATOR_MODE_STANDBY,
+ .valid_ops_mask = REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS,
+ .always_on = true,
+ },
+ .num_consumer_supplies = ARRAY_SIZE(omap4_panda_vcxio_supply),
+ .consumer_supplies = omap4_panda_vcxio_supply,
+};
+
/* Panda board uses the common PMIC configuration */
static struct twl4030_platform_data omap4_panda_twldata = {
.audio = &twl6040_audio,
/* Regulators */
.vusim = &omap4_panda_vusim,
.vaux1 = &omap4_panda_vaux1,
+ .vcxio = &omap4_panda_vcxio,
};
/*