diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-08-03 07:00:57 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-30 09:16:05 -0400 |
commit | 7c68dd96d5a5eefe3ff6d9b94fc98fd9378aff1f (patch) | |
tree | a290698ee2c1b07679aec55523c06f3d71875e3e /arch/arm | |
parent | f36465822d2e2651e03baf5c4c1a90ee4c1f9cdd (diff) |
OMAP: DSS2: Change DSI device naming
Currently, there are 2 differently named platform devices generated for
the 2 DSS DSI modules. In order to use the same driver, the dsi devices
should be 2 instances of the same platform device.
Change the platform device names from "omapdss_dsi1" and "omapdss_dsi2"
to omapdss_dsi", and set the device indices to 0 and 1.
Signed-off-by: Archit Taneja <archit@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/board-devkit8000.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/board-omap3pandora.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/display.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-omap2/twl-common.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index b6002ec31c6a..d3941e6a40a2 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
@@ -267,7 +267,7 @@ static struct twl4030_gpio_platform_data devkit8000_gpio_data = { | |||
267 | 267 | ||
268 | static struct regulator_consumer_supply devkit8000_vpll1_supplies[] = { | 268 | static struct regulator_consumer_supply devkit8000_vpll1_supplies[] = { |
269 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"), | 269 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"), |
270 | REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi1"), | 270 | REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"), |
271 | }; | 271 | }; |
272 | 272 | ||
273 | /* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ | 273 | /* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */ |
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index 080d7bd6795e..3f100011adfa 100644 --- a/arch/arm/mach-omap2/board-omap3pandora.c +++ b/arch/arm/mach-omap2/board-omap3pandora.c | |||
@@ -335,7 +335,7 @@ static struct regulator_consumer_supply pandora_vmmc3_supply[] = { | |||
335 | static struct regulator_consumer_supply pandora_vdds_supplies[] = { | 335 | static struct regulator_consumer_supply pandora_vdds_supplies[] = { |
336 | REGULATOR_SUPPLY("vdds_sdi", "omapdss"), | 336 | REGULATOR_SUPPLY("vdds_sdi", "omapdss"), |
337 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"), | 337 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"), |
338 | REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi1"), | 338 | REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"), |
339 | }; | 339 | }; |
340 | 340 | ||
341 | static struct regulator_consumer_supply pandora_vcc_lcd_supply[] = { | 341 | static struct regulator_consumer_supply pandora_vcc_lcd_supply[] = { |
diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index a5b7a236aa5b..c42df111c9d2 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch/arm/mach-omap2/display.c | |||
@@ -61,7 +61,7 @@ static const struct omap_dss_hwmod_data omap3_dss_hwmod_data[] __initdata = { | |||
61 | { "dss_dispc", "omapdss_dispc", -1 }, | 61 | { "dss_dispc", "omapdss_dispc", -1 }, |
62 | { "dss_rfbi", "omapdss_rfbi", -1 }, | 62 | { "dss_rfbi", "omapdss_rfbi", -1 }, |
63 | { "dss_venc", "omapdss_venc", -1 }, | 63 | { "dss_venc", "omapdss_venc", -1 }, |
64 | { "dss_dsi1", "omapdss_dsi1", -1 }, | 64 | { "dss_dsi1", "omapdss_dsi", 0 }, |
65 | }; | 65 | }; |
66 | 66 | ||
67 | static const struct omap_dss_hwmod_data omap4_dss_hwmod_data[] __initdata = { | 67 | static const struct omap_dss_hwmod_data omap4_dss_hwmod_data[] __initdata = { |
@@ -69,8 +69,8 @@ static const struct omap_dss_hwmod_data omap4_dss_hwmod_data[] __initdata = { | |||
69 | { "dss_dispc", "omapdss_dispc", -1 }, | 69 | { "dss_dispc", "omapdss_dispc", -1 }, |
70 | { "dss_rfbi", "omapdss_rfbi", -1 }, | 70 | { "dss_rfbi", "omapdss_rfbi", -1 }, |
71 | { "dss_venc", "omapdss_venc", -1 }, | 71 | { "dss_venc", "omapdss_venc", -1 }, |
72 | { "dss_dsi1", "omapdss_dsi1", -1 }, | 72 | { "dss_dsi1", "omapdss_dsi", 0 }, |
73 | { "dss_dsi2", "omapdss_dsi2", -1 }, | 73 | { "dss_dsi2", "omapdss_dsi", 1 }, |
74 | { "dss_hdmi", "omapdss_hdmi", -1 }, | 74 | { "dss_hdmi", "omapdss_hdmi", -1 }, |
75 | }; | 75 | }; |
76 | 76 | ||
diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c index daa056ed8738..4f6d2164e8cf 100644 --- a/arch/arm/mach-omap2/twl-common.c +++ b/arch/arm/mach-omap2/twl-common.c | |||
@@ -99,7 +99,7 @@ static struct regulator_init_data omap3_vdac_idata = { | |||
99 | 99 | ||
100 | static struct regulator_consumer_supply omap3_vpll2_supplies[] = { | 100 | static struct regulator_consumer_supply omap3_vpll2_supplies[] = { |
101 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"), | 101 | REGULATOR_SUPPLY("vdds_dsi", "omapdss"), |
102 | REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi1"), | 102 | REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"), |
103 | }; | 103 | }; |
104 | 104 | ||
105 | static struct regulator_init_data omap3_vpll2_idata = { | 105 | static struct regulator_init_data omap3_vpll2_idata = { |