Create a platform device instance for DSI2. Use "dss_dsi2" hwmod name and
"omapdss_dsi" platfrom device name to build the platform_device instance. Add
"omapdss_dsi.1" as a regulator consumer for "vdds_dsi".

Signed-off-by: Archit Taneja <[email protected]>
---
 arch/arm/mach-omap2/board-4430sdp.c |    1 +
 arch/arm/mach-omap2/display.c       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/board-4430sdp.c 
b/arch/arm/mach-omap2/board-4430sdp.c
index eafadb4..1f48499 100644
--- a/arch/arm/mach-omap2/board-4430sdp.c
+++ b/arch/arm/mach-omap2/board-4430sdp.c
@@ -376,6 +376,7 @@ static struct regulator_consumer_supply 
sdp4430_vmmc_supply[] = {
 static struct regulator_consumer_supply sdp4430_vcxio_supply[] = {
        REGULATOR_SUPPLY("vdds_dsi", "omapdss_dss"),
        REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"),
+       REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.1"),
 };
 
 static int omap4_twl6030_hsmmc_late_init(struct device *dev)
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c
index f0e9cbf..07ac97d 100644
--- a/arch/arm/mach-omap2/display.c
+++ b/arch/arm/mach-omap2/display.c
@@ -83,6 +83,7 @@ static const struct omap_dss_hwmod_data 
omap4_dss_hwmod_data[] __initdata = {
        { "dss_rfbi", "omapdss_rfbi", -1 },
        { "dss_venc", "omapdss_venc", -1 },
        { "dss_dsi1", "omapdss_dsi", 0 },
+       { "dss_dsi2", "omapdss_dsi", 1 },
        { "dss_hdmi", "omapdss_hdmi", -1 },
 };
 
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to