* [PATCH 01/14] OMAP2: Devkit8000: Cleanup for supplies
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 02/14] OMAP2: Devkit8000: change lcd panel to generic Thomas Weber
` (14 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
Corrected the wrong supplies in devkit8000 code.
Add supply for ads7846 to support the new regulator framework for
touchscreen.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 32 ++++++++++++++++++++++++++------
1 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 6d910df..887e1a1 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -168,6 +168,10 @@ static struct regulator_consumer_supply devkit8000_vsim_supply = {
.supply = "vmmc_aux",
};
+/* ads7846 on SPI */
+static struct regulator_consumer_supply devkit8000_vio_supplies[] = {
+ REGULATOR_SUPPLY("vcc", "spi2.0")
+};
static struct omap_dss_device devkit8000_lcd_device = {
.name = "lcd",
@@ -282,7 +286,7 @@ static struct twl4030_gpio_platform_data devkit8000_gpio_data = {
.setup = devkit8000_twl_gpio_setup,
};
-static struct regulator_consumer_supply devkit8000_vpll2_supplies[] = {
+static struct regulator_consumer_supply devkit8000_vpll1_supplies[] = {
{
.supply = "vdvi",
.dev = &devkit8000_lcd_device.dev,
@@ -337,8 +341,8 @@ static struct regulator_init_data devkit8000_vdac = {
.consumer_supplies = &devkit8000_vdda_dac_supply,
};
-/* VPLL2 for digital video outputs */
-static struct regulator_init_data devkit8000_vpll2 = {
+/* VPLL1 for digital video outputs */
+static struct regulator_init_data devkit8000_vpll1 = {
.constraints = {
.name = "VDVI",
.min_uV = 1800000,
@@ -348,8 +352,23 @@ static struct regulator_init_data devkit8000_vpll2 = {
.valid_ops_mask = REGULATOR_CHANGE_MODE
| REGULATOR_CHANGE_STATUS,
},
- .num_consumer_supplies = ARRAY_SIZE(devkit8000_vpll2_supplies),
- .consumer_supplies = devkit8000_vpll2_supplies,
+ .num_consumer_supplies = ARRAY_SIZE(devkit8000_vpll1_supplies),
+ .consumer_supplies = devkit8000_vpll1_supplies,
+};
+
+/* VAUX4 for ads7846 and nubs */
+static struct regulator_init_data devkit8000_vio = {
+ .constraints = {
+ .min_uV = 1800000,
+ .max_uV = 1800000,
+ .apply_uV = true,
+ .valid_modes_mask = REGULATOR_MODE_NORMAL
+ | REGULATOR_MODE_STANDBY,
+ .valid_ops_mask = REGULATOR_CHANGE_MODE
+ | REGULATOR_CHANGE_STATUS,
+ },
+ .num_consumer_supplies = ARRAY_SIZE(devkit8000_vio_supplies),
+ .consumer_supplies = devkit8000_vio_supplies,
};
static struct twl4030_usb_data devkit8000_usb_data = {
@@ -376,7 +395,8 @@ static struct twl4030_platform_data devkit8000_twldata = {
.vmmc1 = &devkit8000_vmmc1,
.vsim = &devkit8000_vsim,
.vdac = &devkit8000_vdac,
- .vpll2 = &devkit8000_vpll2,
+ .vpll1 = &devkit8000_vpll1,
+ .vio = &devkit8000_vio,
.keypad = &devkit8000_kp_data,
};
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 02/14] OMAP2: Devkit8000: change lcd panel to generic
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
2010-05-18 12:05 ` [PATCH 01/14] OMAP2: Devkit8000: Cleanup for supplies Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 03/14] OMAP2: Devkit8000: Enable DVI-D output Thomas Weber
` (13 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
Choose the generic panel to use with Devkit8000.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 887e1a1..e989136 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -175,7 +175,7 @@ static struct regulator_consumer_supply devkit8000_vio_supplies[] = {
static struct omap_dss_device devkit8000_lcd_device = {
.name = "lcd",
- .driver_name = "innolux_at_panel",
+ .driver_name = "generic_panel",
.type = OMAP_DISPLAY_TYPE_DPI,
.phy.dpi.data_lines = 24,
.platform_enable = devkit8000_panel_enable_lcd,
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 03/14] OMAP2: Devkit8000: Enable DVI-D output
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
2010-05-18 12:05 ` [PATCH 01/14] OMAP2: Devkit8000: Cleanup for supplies Thomas Weber
2010-05-18 12:05 ` [PATCH 02/14] OMAP2: Devkit8000: change lcd panel to generic Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 04/14] OMAP2: Devkit8000: Setup LCD reset Thomas Weber
` (12 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber, Kan-Ru Chen
This patch corrects the DVI-D output setup of Devkit8000.
Devkit8000 has different DVI reset pin with the BeagleBoard. On
Devkit8000 the TWL4030 GPIO_7 is assigned to do the job.
Signed-off-by: Kan-Ru Chen <kanru@0xlab.org>
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index e989136..c6b9ed4 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -140,13 +140,18 @@ static int devkit8000_panel_enable_lcd(struct omap_dss_device *dssdev)
static void devkit8000_panel_disable_lcd(struct omap_dss_device *dssdev)
{
}
+
static int devkit8000_panel_enable_dvi(struct omap_dss_device *dssdev)
{
+ if (dssdev->reset_gpio != -EINVAL)
+ gpio_set_value(dssdev->reset_gpio, 1);
return 0;
}
static void devkit8000_panel_disable_dvi(struct omap_dss_device *dssdev)
{
+ if (dssdev->reset_gpio != -EINVAL)
+ gpio_set_value(dssdev->reset_gpio, 0);
}
static int devkit8000_panel_enable_tv(struct omap_dss_device *dssdev)
@@ -186,6 +191,7 @@ static struct omap_dss_device devkit8000_dvi_device = {
.driver_name = "generic_panel",
.type = OMAP_DISPLAY_TYPE_DPI,
.phy.dpi.data_lines = 24,
+ .reset_gpio = -EINVAL, /* will be replaced */
.platform_enable = devkit8000_panel_enable_dvi,
.platform_disable = devkit8000_panel_disable_dvi,
};
@@ -272,6 +278,15 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
devkit8000_vmmc1_supply.dev = mmc[0].dev;
devkit8000_vsim_supply.dev = mmc[0].dev;
+ /* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
+ gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
+
+ /* gpio + 7 is "DVI_PD" (out, active low) */
+ devkit8000_dvi_device.reset_gpio = gpio + 7;
+ gpio_request(devkit8000_dvi_device.reset_gpio, "DVI PowerDown");
+ /* Disable until needed */
+ gpio_direction_output(devkit8000_dvi_device.reset_gpio, 0);
+
return 0;
}
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 04/14] OMAP2: Devkit8000: Setup LCD reset
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (2 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 03/14] OMAP2: Devkit8000: Enable DVI-D output Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 05/14] OMAP2: Devkit8000: Remove unneeded VDVI Thomas Weber
` (11 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Kan-Ru Chen, Thomas Weber
From: Kan-Ru Chen <kanru@0xlab.org>
This patch corrects the LCD reset pin config.
Original code from early devkit8000 patch sets the TWL4030 GPIO_1
to EHCI_nOC and TWL4030_GPIO_MAX+1 to ledA. Indeed these two pins
are both LCD_PWREN. Setup the lcd reset_gpio properly so it can be
disabled when other display is turned on.
Signed-off-by: Kan-Ru Chen <kanru@0xlab.org>
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index c6b9ed4..37b047e 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -134,11 +134,15 @@ static int devkit8000_panel_enable_lcd(struct omap_dss_device *dssdev)
twl_i2c_write_u8(TWL4030_MODULE_GPIO, 0x80, REG_GPIODATADIR1);
twl_i2c_write_u8(TWL4030_MODULE_LED, 0x0, 0x0);
+ if (dssdev->reset_gpio != -EINVAL)
+ gpio_set_value(dssdev->reset_gpio, 1);
return 0;
}
static void devkit8000_panel_disable_lcd(struct omap_dss_device *dssdev)
{
+ if (dssdev->reset_gpio != -EINVAL)
+ gpio_set_value(dssdev->reset_gpio, 0);
}
static int devkit8000_panel_enable_dvi(struct omap_dss_device *dssdev)
@@ -183,6 +187,7 @@ static struct omap_dss_device devkit8000_lcd_device = {
.driver_name = "generic_panel",
.type = OMAP_DISPLAY_TYPE_DPI,
.phy.dpi.data_lines = 24,
+ .reset_gpio = -EINVAL, /* will be replaced */
.platform_enable = devkit8000_panel_enable_lcd,
.platform_disable = devkit8000_panel_disable_lcd,
};
@@ -281,6 +286,12 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
+ /* gpio + 1 is "LCD_PWREN" (out, active high) */
+ devkit8000_lcd_device.reset_gpio = gpio + 1;
+ gpio_request(devkit8000_lcd_device.reset_gpio, "LCD_PWREN");
+ /* Disable until needed */
+ gpio_direction_output(devkit8000_lcd_device.reset_gpio, 0);
+
/* gpio + 7 is "DVI_PD" (out, active low) */
devkit8000_dvi_device.reset_gpio = gpio + 7;
gpio_request(devkit8000_dvi_device.reset_gpio, "DVI PowerDown");
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 05/14] OMAP2: Devkit8000: Remove unneeded VDVI
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (3 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 04/14] OMAP2: Devkit8000: Setup LCD reset Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 06/14] OMAP2: Devkit8000: Remove nonexisting vsim Thomas Weber
` (10 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
The VDVI is no longer needed with the new DSS2 interface. This
patch removes the supply from board code.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 37b047e..4611274 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -314,10 +314,6 @@ static struct twl4030_gpio_platform_data devkit8000_gpio_data = {
static struct regulator_consumer_supply devkit8000_vpll1_supplies[] = {
{
- .supply = "vdvi",
- .dev = &devkit8000_lcd_device.dev,
- },
- {
.supply = "vdds_dsi",
.dev = &devkit8000_dss_device.dev,
}
@@ -370,7 +366,6 @@ static struct regulator_init_data devkit8000_vdac = {
/* VPLL1 for digital video outputs */
static struct regulator_init_data devkit8000_vpll1 = {
.constraints = {
- .name = "VDVI",
.min_uV = 1800000,
.max_uV = 1800000,
.valid_modes_mask = REGULATOR_MODE_NORMAL
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 06/14] OMAP2: Devkit8000: Remove nonexisting vsim
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (4 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 05/14] OMAP2: Devkit8000: Remove unneeded VDVI Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 07/14] OMAP2: Devkit8000: Remove en-/disable for tv panel Thomas Weber
` (9 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
The Devkit8000 uses the cost reduced variant tps65930 of the twl4030.
The TPS65930 only has vdd1, vdd2, vpll1, vio, vmmc1, vdac and vaux2.
vaux2 is not used.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 4611274..7d68016 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -168,15 +168,10 @@ static void devkit8000_panel_disable_tv(struct omap_dss_device *dssdev)
{
}
-
static struct regulator_consumer_supply devkit8000_vmmc1_supply = {
.supply = "vmmc",
};
-static struct regulator_consumer_supply devkit8000_vsim_supply = {
- .supply = "vmmc_aux",
-};
-
/* ads7846 on SPI */
static struct regulator_consumer_supply devkit8000_vio_supplies[] = {
REGULATOR_SUPPLY("vcc", "spi2.0")
@@ -281,7 +276,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
/* link regulators to MMC adapters */
devkit8000_vmmc1_supply.dev = mmc[0].dev;
- devkit8000_vsim_supply.dev = mmc[0].dev;
/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
@@ -334,21 +328,6 @@ static struct regulator_init_data devkit8000_vmmc1 = {
.consumer_supplies = &devkit8000_vmmc1_supply,
};
-/* VSIM for MMC1 pins DAT4..DAT7 (2 mA, plus card == max 50 mA) */
-static struct regulator_init_data devkit8000_vsim = {
- .constraints = {
- .min_uV = 1800000,
- .max_uV = 3000000,
- .valid_modes_mask = REGULATOR_MODE_NORMAL
- | REGULATOR_MODE_STANDBY,
- .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
- | REGULATOR_CHANGE_MODE
- | REGULATOR_CHANGE_STATUS,
- },
- .num_consumer_supplies = 1,
- .consumer_supplies = &devkit8000_vsim_supply,
-};
-
/* VDAC for DSS driving S-Video (8 mA unloaded, max 65 mA) */
static struct regulator_init_data devkit8000_vdac = {
.constraints = {
@@ -414,7 +393,6 @@ static struct twl4030_platform_data devkit8000_twldata = {
.gpio = &devkit8000_gpio_data,
.codec = &devkit8000_codec_data,
.vmmc1 = &devkit8000_vmmc1,
- .vsim = &devkit8000_vsim,
.vdac = &devkit8000_vdac,
.vpll1 = &devkit8000_vpll1,
.vio = &devkit8000_vio,
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 07/14] OMAP2: Devkit8000: Remove en-/disable for tv panel
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (5 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 06/14] OMAP2: Devkit8000: Remove nonexisting vsim Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 08/14] OMAP2: Devkit8000: Use the REGULATOR_SUPPLY macro Thomas Weber
` (8 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
This patch removes devkit8000_panel_enable_tv and devkit8000_panel_disable_tv
because they are already done in DSS2 code.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 7d68016..543becc 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -158,16 +158,6 @@ static void devkit8000_panel_disable_dvi(struct omap_dss_device *dssdev)
gpio_set_value(dssdev->reset_gpio, 0);
}
-static int devkit8000_panel_enable_tv(struct omap_dss_device *dssdev)
-{
-
- return 0;
-}
-
-static void devkit8000_panel_disable_tv(struct omap_dss_device *dssdev)
-{
-}
-
static struct regulator_consumer_supply devkit8000_vmmc1_supply = {
.supply = "vmmc",
};
@@ -201,8 +191,6 @@ static struct omap_dss_device devkit8000_tv_device = {
.driver_name = "venc",
.type = OMAP_DISPLAY_TYPE_VENC,
.phy.venc.type = OMAP_DSS_VENC_TYPE_SVIDEO,
- .platform_enable = devkit8000_panel_enable_tv,
- .platform_disable = devkit8000_panel_disable_tv,
};
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 08/14] OMAP2: Devkit8000: Use the REGULATOR_SUPPLY macro
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (6 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 07/14] OMAP2: Devkit8000: Remove en-/disable for tv panel Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 09/14] OMAP2: Devkit8000: Fixing comment about pins used Thomas Weber
` (7 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
Replacing the supplies with the REGULATOR_SUPPLY macro.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 36 +++++++++++--------------------
1 files changed, 13 insertions(+), 23 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 543becc..4a633f8 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -158,14 +158,13 @@ static void devkit8000_panel_disable_dvi(struct omap_dss_device *dssdev)
gpio_set_value(dssdev->reset_gpio, 0);
}
-static struct regulator_consumer_supply devkit8000_vmmc1_supply = {
- .supply = "vmmc",
-};
+static struct regulator_consumer_supply devkit8000_vmmc1_supply =
+ REGULATOR_SUPPLY("vmmc", "mmci-omap-hs.0");
+
/* ads7846 on SPI */
-static struct regulator_consumer_supply devkit8000_vio_supplies[] = {
- REGULATOR_SUPPLY("vcc", "spi2.0")
-};
+static struct regulator_consumer_supply devkit8000_vio_supply =
+ REGULATOR_SUPPLY("vcc", "spi2.0");
static struct omap_dss_device devkit8000_lcd_device = {
.name = "lcd",
@@ -214,10 +213,8 @@ static struct platform_device devkit8000_dss_device = {
},
};
-static struct regulator_consumer_supply devkit8000_vdda_dac_supply = {
- .supply = "vdda_dac",
- .dev = &devkit8000_dss_device.dev,
-};
+static struct regulator_consumer_supply devkit8000_vdda_dac_supply =
+ REGULATOR_SUPPLY("vdda_dac", "omapdss");
static int board_keymap[] = {
KEY(0, 0, KEY_1),
@@ -262,9 +259,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
mmc[0].gpio_cd = gpio + 0;
omap2_hsmmc_init(mmc);
- /* link regulators to MMC adapters */
- devkit8000_vmmc1_supply.dev = mmc[0].dev;
-
/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
@@ -294,12 +288,8 @@ static struct twl4030_gpio_platform_data devkit8000_gpio_data = {
.setup = devkit8000_twl_gpio_setup,
};
-static struct regulator_consumer_supply devkit8000_vpll1_supplies[] = {
- {
- .supply = "vdds_dsi",
- .dev = &devkit8000_dss_device.dev,
- }
-};
+static struct regulator_consumer_supply devkit8000_vpll1_supply =
+ REGULATOR_SUPPLY("vdds_dsi", "omapdss");
/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */
static struct regulator_init_data devkit8000_vmmc1 = {
@@ -340,8 +330,8 @@ static struct regulator_init_data devkit8000_vpll1 = {
.valid_ops_mask = REGULATOR_CHANGE_MODE
| REGULATOR_CHANGE_STATUS,
},
- .num_consumer_supplies = ARRAY_SIZE(devkit8000_vpll1_supplies),
- .consumer_supplies = devkit8000_vpll1_supplies,
+ .num_consumer_supplies = 1,
+ .consumer_supplies = &devkit8000_vpll1_supply,
};
/* VAUX4 for ads7846 and nubs */
@@ -355,8 +345,8 @@ static struct regulator_init_data devkit8000_vio = {
.valid_ops_mask = REGULATOR_CHANGE_MODE
| REGULATOR_CHANGE_STATUS,
},
- .num_consumer_supplies = ARRAY_SIZE(devkit8000_vio_supplies),
- .consumer_supplies = devkit8000_vio_supplies,
+ .num_consumer_supplies = 1,
+ .consumer_supplies = &devkit8000_vio_supply,
};
static struct twl4030_usb_data devkit8000_usb_data = {
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 09/14] OMAP2: Devkit8000: Fixing comment about pins used
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (7 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 08/14] OMAP2: Devkit8000: Use the REGULATOR_SUPPLY macro Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 10/14] OMAP2: Devkit8000: Fix whitespace with tab Thomas Weber
` (6 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
Fix the comment about the pins support by the vmmc1 power source.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 4a633f8..d8c1d81 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -291,7 +291,7 @@ static struct twl4030_gpio_platform_data devkit8000_gpio_data = {
static struct regulator_consumer_supply devkit8000_vpll1_supply =
REGULATOR_SUPPLY("vdds_dsi", "omapdss");
-/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT3 (20 mA, plus card == max 220 mA) */
+/* VMMC1 for MMC1 pins CMD, CLK, DAT0..DAT7 (20 mA, plus card == max 220 mA) */
static struct regulator_init_data devkit8000_vmmc1 = {
.constraints = {
.min_uV = 1850000,
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 10/14] OMAP2: Devkit8000: Fix whitespace with tab
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (8 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 09/14] OMAP2: Devkit8000: Fixing comment about pins used Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 11/14] OMAP2: Devkit8000: Fix comment Thomas Weber
` (5 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index d8c1d81..637a2c3 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -262,7 +262,7 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
- /* gpio + 1 is "LCD_PWREN" (out, active high) */
+ /* gpio + 1 is "LCD_PWREN" (out, active high) */
devkit8000_lcd_device.reset_gpio = gpio + 1;
gpio_request(devkit8000_lcd_device.reset_gpio, "LCD_PWREN");
/* Disable until needed */
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 11/14] OMAP2: Devkit8000: Fix comment
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (9 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 10/14] OMAP2: Devkit8000: Fix whitespace with tab Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 12/14] OMAP2: Devkit8000: Using gpio_is_valid Thomas Weber
` (4 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
The comment says VAUX4 which is not used for ads7846.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 637a2c3..bb3f3f5 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -334,7 +334,7 @@ static struct regulator_init_data devkit8000_vpll1 = {
.consumer_supplies = &devkit8000_vpll1_supply,
};
-/* VAUX4 for ads7846 and nubs */
+/* VIO for ads7846 */
static struct regulator_init_data devkit8000_vio = {
.constraints = {
.min_uV = 1800000,
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 12/14] OMAP2: Devkit8000: Using gpio_is_valid
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (10 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 11/14] OMAP2: Devkit8000: Fix comment Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 13/14] OMAP2: Devkit8000: Remove unused omap_board_config Thomas Weber
` (3 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
Using the macro gpio_is_valid for check of valid gpio pins.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index bb3f3f5..de7c28a 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -134,27 +134,27 @@ static int devkit8000_panel_enable_lcd(struct omap_dss_device *dssdev)
twl_i2c_write_u8(TWL4030_MODULE_GPIO, 0x80, REG_GPIODATADIR1);
twl_i2c_write_u8(TWL4030_MODULE_LED, 0x0, 0x0);
- if (dssdev->reset_gpio != -EINVAL)
+ if (gpio_is_valid(dssdev->reset_gpio))
gpio_set_value(dssdev->reset_gpio, 1);
return 0;
}
static void devkit8000_panel_disable_lcd(struct omap_dss_device *dssdev)
{
- if (dssdev->reset_gpio != -EINVAL)
+ if (gpio_is_valid(dssdev->reset_gpio))
gpio_set_value(dssdev->reset_gpio, 0);
}
static int devkit8000_panel_enable_dvi(struct omap_dss_device *dssdev)
{
- if (dssdev->reset_gpio != -EINVAL)
+ if (gpio_is_valid(dssdev->reset_gpio))
gpio_set_value(dssdev->reset_gpio, 1);
return 0;
}
static void devkit8000_panel_disable_dvi(struct omap_dss_device *dssdev)
{
- if (dssdev->reset_gpio != -EINVAL)
+ if (gpio_is_valid(dssdev->reset_gpio))
gpio_set_value(dssdev->reset_gpio, 0);
}
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 13/14] OMAP2: Devkit8000: Remove unused omap_board_config
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (11 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 12/14] OMAP2: Devkit8000: Using gpio_is_valid Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-18 12:05 ` [PATCH 14/14] OMAP2: Devkit8000: Correct regulator Thomas Weber
` (2 subsequent siblings)
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index de7c28a..81000e4 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -126,8 +126,6 @@ static struct omap2_hsmmc_info mmc[] = {
},
{} /* Terminator */
};
-static struct omap_board_config_kernel devkit8000_config[] __initdata = {
-};
static int devkit8000_panel_enable_lcd(struct omap_dss_device *dssdev)
{
@@ -461,8 +459,6 @@ static struct platform_device keys_gpio = {
static void __init devkit8000_init_irq(void)
{
- omap_board_config = devkit8000_config;
- omap_board_config_size = ARRAY_SIZE(devkit8000_config);
omap2_init_common_hw(mt46h32m32lf6_sdrc_params,
mt46h32m32lf6_sdrc_params);
omap_init_irq();
@@ -794,8 +790,6 @@ static void __init devkit8000_init(void)
devkit8000_i2c_init();
platform_add_devices(devkit8000_devices,
ARRAY_SIZE(devkit8000_devices));
- omap_board_config = devkit8000_config;
- omap_board_config_size = ARRAY_SIZE(devkit8000_config);
spi_register_board_info(devkit8000_spi_board_info,
ARRAY_SIZE(devkit8000_spi_board_info));
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* [PATCH 14/14] OMAP2: Devkit8000: Correct regulator
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (12 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 13/14] OMAP2: Devkit8000: Remove unused omap_board_config Thomas Weber
@ 2010-05-18 12:05 ` Thomas Weber
2010-05-19 4:02 ` [PATCH 00/14] Multiple fixes for Devkit8000 Kan-Ru Chen
2010-06-01 5:36 ` Thomas Weber
15 siblings, 0 replies; 18+ messages in thread
From: Thomas Weber @ 2010-05-18 12:05 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
Devkit8000 uses the TPS65930 and not the TWL4030.
The TPS65930 uses only a subset of the voltage
regulators of the TWL4030.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
arch/arm/mach-omap2/board-devkit8000.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c
index 81000e4..96836fe 100644
--- a/arch/arm/mach-omap2/board-devkit8000.c
+++ b/arch/arm/mach-omap2/board-devkit8000.c
@@ -377,7 +377,7 @@ static struct twl4030_platform_data devkit8000_twldata = {
static struct i2c_board_info __initdata devkit8000_i2c_boardinfo[] = {
{
- I2C_BOARD_INFO("twl4030", 0x48),
+ I2C_BOARD_INFO("tps65930", 0x48),
.flags = I2C_CLIENT_WAKE,
.irq = INT_34XX_SYS_NIRQ,
.platform_data = &devkit8000_twldata,
--
1.6.4.4
^ permalink raw reply related [flat|nested] 18+ messages in thread* Re: [PATCH 00/14] Multiple fixes for Devkit8000
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (13 preceding siblings ...)
2010-05-18 12:05 ` [PATCH 14/14] OMAP2: Devkit8000: Correct regulator Thomas Weber
@ 2010-05-19 4:02 ` Kan-Ru Chen
2010-06-01 5:36 ` Thomas Weber
15 siblings, 0 replies; 18+ messages in thread
From: Kan-Ru Chen @ 2010-05-19 4:02 UTC (permalink / raw)
To: linux-omap; +Cc: tony, Thomas Weber
[-- Attachment #1: Type: text/plain, Size: 2212 bytes --]
On Tue, 18 May 2010 14:05:21 +0200, Thomas Weber <weber@corscience.de> wrote:
> Some of these patches were submitted earlier but got no comments
> so I am sending them one more time.
>
> These patches correct errors that were done while using the board code
> from beagle board for Devkit8000.
>
> The Devkit8000 uses the TPS65930, an reduced version of the TWL4030.
> So not all power supplies from the TWL4030 are available.
> There were also a wrong comment about the pins supported by the vmmc1.
> The DSS2 do not need a VDVI any longer so it is removed.
> The definition of the supplies are changed to use the new REGULATOR_SUPPLY macro.
> The pins for lcd and dvi powerdown are corrected.
>
>
> Kan-Ru Chen (1):
> OMAP2: Devkit8000: Setup LCD reset
>
> Thomas Weber (13):
> OMAP2: Devkit8000: Cleanup for supplies
> OMAP2: Devkit8000: change lcd panel to generic
> OMAP2: Devkit8000: Enable DVI-D output
> OMAP2: Devkit8000: Remove unneeded VDVI
> OMAP2: Devkit8000: Remove nonexisting vsim
> OMAP2: Devkit8000: Remove en-/disable for tv panel
> OMAP2: Devkit8000: Use the REGULATOR_SUPPLY macro
> OMAP2: Devkit8000: Fixing comment about pins used
> OMAP2: Devkit8000: Fix whitespace with tab
> OMAP2: Devkit8000: Fix comment
> OMAP2: Devkit8000: Using gpio_is_valid
> OMAP2: Devkit8000: Remove unused omap_board_config
> OMAP2: Devkit8000: Correct regulator
>
> arch/arm/mach-omap2/board-devkit8000.c | 125 +++++++++++++++-----------------
> 1 files changed, 58 insertions(+), 67 deletions(-)
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Tested on Devkit8000 rev 1.
Boots fine, framebuffer failed due to recent LMB update.
Respect to the regulators there are some errors might be related:
<7>[ 1.246459] ehci-omap ehci-omap.0: failed to get ehci port0 regulator
<4>[ 1.662811] regulator_init_complete: incomplete constraints, leaving VDAC on
The usb port still works and is stable, but can't be probed after soft
reboot.
Otherwise looks good to me.
Tested-by: Kan-Ru Chen <kanru@0xlab.org>
[-- Attachment #2: dmesg --]
[-- Type: text/plain, Size: 16602 bytes --]
<6>[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[ 0.000000] Memory: 128MB = 128MB total
<5>[ 0.000000] Memory: 123860k/123860k available, 7212k reserved, 0K highmem
<5>[ 0.000000] Virtual kernel memory layout:
<5>[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
<5>[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
<5>[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
<5>[ 0.000000] vmalloc : 0xc8800000 - 0xf8000000 ( 760 MB)
<5>[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
<5>[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
<5>[ 0.000000] .init : 0xc0008000 - 0xc017a000 (1480 kB)
<5>[ 0.000000] .text : 0xc017a000 - 0xc0579000 (4092 kB)
<5>[ 0.000000] .data : 0xc059a000 - 0xc05ce900 ( 211 kB)
<6>[ 0.000000] Hierarchical RCU implementation.
<6>[ 0.000000] NR_IRQS:402
<6>[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/266/500 MHz
<6>[ 0.000000] Reprogramming SDRC clock to 266000000 Hz
<3>[ 0.000000] dpll3_m2_clk rate change failed: -22
<6>[ 0.000000] GPMC revision 5.0
<6>[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
<6>[ 0.000000] Total of 96 interrupts on 1 active controller
<6>[ 0.000000] OMAP GPIO hardware version 2.5
<6>[ 0.000000] OMAP clockevent source: GPTIMER12 at 32768 Hz
<4>[ 0.000000] Console: colour dummy device 80x30
<6>[ 0.000000] Calibrating delay loop... 504.17 BogoMIPS (lpj=1970176)
<4>[ 0.000000] Mount-cache hash table entries: 512
<6>[ 0.000000] CPU: Testing write buffer coherency: ok
<6>[ 0.000000] regulator: core version 0.5
<6>[ 0.000000] NET: Registered protocol family 16
<7>[ 0.000000] mux: Setting signal i2c3_scl.i2c3_scl 0x0100 -> 0x0100
<7>[ 0.000000] mux: Setting signal i2c3_sda.i2c3_sda 0x0100 -> 0x0100
<7>[ 0.000000] mux: Setting signal etk_clk.hsusb1_stp 0x0003 -> 0x0003
<7>[ 0.000000] mux: Setting signal etk_ctl.hsusb1_clk 0x0103 -> 0x0003
<7>[ 0.000000] mux: Setting signal etk_d8.hsusb1_dir 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d9.hsusb1_nxt 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d0.hsusb1_data0 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d1.hsusb1_data1 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d2.hsusb1_data2 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d7.hsusb1_data3 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d4.hsusb1_data4 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d5.hsusb1_data5 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d6.hsusb1_data6 0x0103 -> 0x010b
<7>[ 0.000000] mux: Setting signal etk_d3.hsusb1_data7 0x0103 -> 0x010b
<6>[ 0.000000] Found NAND on CS0
<6>[ 0.000000] Registering NAND on CS0
<7>[ 0.000000] mux: Setting signal sdrc_cke0.sdrc_cke0 0x0118 -> 0x0000
<7>[ 0.000000] mux: Setting signal sdrc_cke1.sdrc_cke1 0x0107 -> 0x0000
<6>[ 0.000030] OMAP DMA hardware revision 4.0
<4>[ 0.017486] bio: create slab <bio-0> at 0
<5>[ 0.020843] SCSI subsystem initialized
<6>[ 0.023376] usbcore: registered new interface driver usbfs
<6>[ 0.023620] usbcore: registered new interface driver hub
<6>[ 0.023895] usbcore: registered new device driver usb
<6>[ 0.024780] i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
<6>[ 0.028167] twl4030: PIH (irq 7) chaining IRQs 368..375
<6>[ 0.028198] twl4030: power (irq 373) chaining IRQs 376..383
<6>[ 0.028808] twl4030: gpio (irq 368) chaining IRQs 384..401
<7>[ 0.029022] mux: Setting signal etk_d15.gpio29 0x011c -> 0x0104
<7>[ 0.029083] mux: Setting signal etk_d15.gpio29 0x0104 -> 0x011c
<7>[ 0.029296] mux: Setting signal sdmmc1_clk.sdmmc1_clk 0x0100 -> 0x0118
<7>[ 0.029449] mux: Setting signal sdmmc1_cmd.sdmmc1_cmd 0x0100 -> 0x0118
<7>[ 0.029571] mux: Setting signal sdmmc1_dat0.sdmmc1_dat0 0x0100 -> 0x0118
<7>[ 0.029663] mux: Setting signal sdmmc1_dat1.sdmmc1_dat1 0x0100 -> 0x0118
<7>[ 0.029785] mux: Setting signal sdmmc1_dat2.sdmmc1_dat2 0x0100 -> 0x0118
<7>[ 0.029876] mux: Setting signal sdmmc1_dat3.sdmmc1_dat3 0x0100 -> 0x0118
<7>[ 0.029968] mux: Setting signal sdmmc1_dat4.sdmmc1_dat4 0x0100 -> 0x0118
<7>[ 0.030090] mux: Setting signal sdmmc1_dat5.sdmmc1_dat5 0x0100 -> 0x0118
<7>[ 0.030181] mux: Setting signal sdmmc1_dat6.sdmmc1_dat6 0x0100 -> 0x0118
<7>[ 0.030303] mux: Setting signal sdmmc1_dat7.sdmmc1_dat7 0x0100 -> 0x0118
<6>[ 0.032287] regulator: VUSB1V5: 1500 mV normal standby
<6>[ 0.032928] regulator: VUSB1V8: 1800 mV normal standby
<6>[ 0.033569] regulator: VUSB3V1: 3100 mV normal standby
<7>[ 0.035247] twl4030_usb twl4030_usb: HW_CONDITIONS 0xc0/192; link 1
<6>[ 0.038208] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
<6>[ 0.039398] regulator: VPLL1: 1800 mV normal standby
<6>[ 0.041320] regulator: VIO: 1800 mV normal standby
<6>[ 0.042053] regulator: VMMC1: 1850 <--> 3150 mV at 3000 mV normal standby
<6>[ 0.042694] regulator: VDAC: 1800 mV normal standby
<6>[ 0.042999] i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
<6>[ 0.044769] Advanced Linux Sound Architecture Driver Version 1.0.22.1.
<6>[ 0.045654] NET: Registered protocol family 23
<6>[ 0.045745] Bluetooth: Core ver 2.15
<6>[ 0.046081] NET: Registered protocol family 31
<6>[ 0.046081] Bluetooth: HCI device and connection manager initialized
<6>[ 0.046112] Bluetooth: HCI socket layer initialized
<6>[ 0.046142] Switching to clocksource 32k_counter
<6>[ 0.048461] musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
<7>[ 0.048614] HS USB OTG: revision 0x33, sysconfig 0x2010, sysstatus 0x1, intrfsel 0x1, simenable 0x0
<7>[ 0.048675] musb_hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
<7>[ 0.048706] musb_hdrc: MHDRC RTL version 1.400
<7>[ 0.048706] musb_hdrc: setup fifo_mode 4
<7>[ 0.048736] musb_hdrc: 28/31 max ep, 16384/16384 memory
<6>[ 0.048889] musb_hdrc musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
<6>[ 0.049377] NET: Registered protocol family 2
<6>[ 0.049591] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[ 0.050170] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<6>[ 0.050292] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>[ 0.050354] TCP: Hash tables configured (established 4096 bind 4096)
<6>[ 0.050384] TCP reno registered
<6>[ 0.050384] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.050445] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.050689] NET: Registered protocol family 1
<6>[ 0.051086] RPC: Registered udp transport module.
<6>[ 0.051086] RPC: Registered tcp transport module.
<6>[ 0.051116] RPC: Registered tcp NFSv4.1 backchannel transport module.
<4>[ 0.065979] NetWinder Floating Point Emulator V0.97 (double precision)
<5>[ 0.067993] VFS: Disk quotas dquot_6.5.2
<4>[ 0.068115] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<6>[ 0.069366] JFFS2 version 2.2. (NAND) �� 2001-2006 Red Hat, Inc.
<6>[ 0.070098] msgmni has been set to 241
<6>[ 0.073669] alg: No test for stdrng (krng)
<6>[ 0.073791] io scheduler noop registered
<6>[ 0.073791] io scheduler deadline registered
<6>[ 0.073974] io scheduler cfq registered (default)
<6>[ 0.132751] OMAP DSS rev 2.0
<6>[ 0.132873] OMAP DISPC rev 3.0
<6>[ 0.132934] OMAP VENC rev 2
<6>[ 0.481719] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
<6>[ 0.504150] serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
<6>[ 0.525360] serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
<6>[ 0.546508] serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
<6>[ 1.083068] console [ttyS2] enabled
<6>[ 1.098815] brd: module loaded
<6>[ 1.108245] loop: module loaded
<6>[ 1.114044] omap2-nand driver initializing
<4>[ 1.118469] omap2-nand: probe of omap2-nand failed with error -16
<6>[ 1.125579] dm9000 Ethernet Driver, V1.31
<4>[ 1.218383] dm9000 dm9000: eth%d: Invalid ethernet MAC address. Please set using ifconfig
<6>[ 1.227355] eth0: dm9000a at c88bc000,c88c0400 IRQ 185 MAC: 00:00:00:00:00:00 (chip)
<5>[ 1.235443] usbmon: debugfs is not available
<6>[ 1.239746] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<7>[ 1.246368] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
<7>[ 1.246459] ehci-omap ehci-omap.0: failed to get ehci port0 regulator
<7>[ 1.246490] ehci-omap ehci-omap.0: starting TI EHCI USB Controller
<7>[ 1.246704] ehci-omap ehci-omap.0: TLL RESET DONE
<7>[ 1.246704] ehci-omap ehci-omap.0: OMAP3 ES version > ES2.1
<7>[ 1.246734] ehci-omap ehci-omap.0: UHH setup done, uhh_hostconfig=11c
<7>[ 1.246765] ehci-omap ehci-omap.0: reset hcs_params 0x1313 dbg=0 cc=1 pcc=3 ordered ports=3
<7>[ 1.246795] ehci-omap ehci-omap.0: reset hcc_params 0016 thresh 1 uframes 256/512/1024 park
<6>[ 1.246795] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
<6>[ 1.252563] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
<7>[ 1.260192] ehci-omap ehci-omap.0: park 0
<6>[ 1.260223] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
<7>[ 1.265991] ehci-omap ehci-omap.0: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
<7>[ 1.266021] ehci-omap ehci-omap.0: init command 010009 (park)=0 ithresh=1 period=256 RUN
<6>[ 1.280761] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
<7>[ 1.286651] usb usb1: default language 0x0409
<7>[ 1.286682] usb usb1: udev 1, busnum 1, minor = 0
<6>[ 1.286712] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 1.293579] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 1.300872] usb usb1: Product: OMAP-EHCI Host Controller
<6>[ 1.306243] usb usb1: Manufacturer: Linux 2.6.34-08151-g1674c0c-dirty ehci_hcd
<6>[ 1.313537] usb usb1: SerialNumber: ehci-omap.0
<7>[ 1.318634] usb usb1: usb_probe_device
<7>[ 1.318664] usb usb1: configuration #1 chosen from 1 choice
<7>[ 1.318725] usb usb1: adding 1-0:1.0 (config #1, interface 0)
<7>[ 1.319091] hub 1-0:1.0: usb_probe_interface
<7>[ 1.319091] hub 1-0:1.0: usb_probe_interface - got id
<6>[ 1.319122] hub 1-0:1.0: USB hub found
<6>[ 1.322967] hub 1-0:1.0: 3 ports detected
<7>[ 1.327026] hub 1-0:1.0: standalone hub
<7>[ 1.327026] hub 1-0:1.0: individual port power switching
<7>[ 1.327026] hub 1-0:1.0: individual port over-current protection
<7>[ 1.327056] hub 1-0:1.0: power on to power good time: 20ms
<7>[ 1.327087] hub 1-0:1.0: local power source is good
<7>[ 1.327117] hub 1-0:1.0: enabling power on all ports
<4>[ 1.327697] g_ether gadget: using random self ethernet address
<4>[ 1.333587] g_ether gadget: using random host ethernet address
<6>[ 1.340148] usb0: MAC 9a:73:ca:93:bd:f3
<6>[ 1.344085] usb0: HOST MAC 6a:c4:e3:40:3a:9d
<7>[ 1.348388] g_ether gadget: adding config #1 'CDC Ethernet (ECM)'/c05c6c84
<7>[ 1.348419] g_ether gadget: adding 'cdc_ethernet'/c7edf680 to config 'CDC Ethernet (ECM)'/c05c6c84
<7>[ 1.348449] g_ether gadget: CDC Ethernet: dual speed IN/ep1in OUT/ep1out NOTIFY/ep2in
<7>[ 1.348480] g_ether gadget: cfg 1/c05c6c84 speeds: high full
<7>[ 1.348480] g_ether gadget: interface 0 = cdc_ethernet/c7edf680
<7>[ 1.348510] g_ether gadget: interface 1 = cdc_ethernet/c7edf680
<6>[ 1.348541] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
<6>[ 1.355224] g_ether gadget: g_ether ready
<6>[ 1.359283] musb_hdrc musb_hdrc: MUSB HDRC host driver
<6>[ 1.364501] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
<7>[ 1.371856] usb usb2: default language 0x0409
<7>[ 1.371917] usb usb2: udev 1, busnum 2, minor = 128
<6>[ 1.371917] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
<6>[ 1.378784] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
<6>[ 1.386077] usb usb2: Product: MUSB HDRC host driver
<6>[ 1.391082] usb usb2: Manufacturer: Linux 2.6.34-08151-g1674c0c-dirty musb-hcd
<6>[ 1.398376] usb usb2: SerialNumber: musb_hdrc
<7>[ 1.403289] usb usb2: usb_probe_device
<7>[ 1.403320] usb usb2: configuration #1 chosen from 1 choice
<7>[ 1.403381] usb usb2: adding 2-0:1.0 (config #1, interface 0)
<7>[ 1.403717] hub 2-0:1.0: usb_probe_interface
<7>[ 1.403717] hub 2-0:1.0: usb_probe_interface - got id
<6>[ 1.403747] hub 2-0:1.0: USB hub found
<6>[ 1.407592] hub 2-0:1.0: 1 port detected
<7>[ 1.411529] hub 2-0:1.0: standalone hub
<7>[ 1.411560] hub 2-0:1.0: individual port power switching
<7>[ 1.411560] hub 2-0:1.0: no over-current protection
<7>[ 1.411590] hub 2-0:1.0: power on to power good time: 10ms
<7>[ 1.411621] hub 2-0:1.0: 100mA bus power budget for each child
<7>[ 1.411621] hub 2-0:1.0: local power source is good
<7>[ 1.411651] hub 2-0:1.0: enabling power on all ports
<6>[ 1.413177] input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
<7>[ 1.423309] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000
<6>[ 1.425048] ads7846 spi2.0: touchscreen, irq 187
<6>[ 1.430603] input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.2/spi2.0/input/input1
<6>[ 1.440277] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
<4>[ 1.446594] twl_rtc twl_rtc: Power up reset detected.
<6>[ 1.452056] twl_rtc twl_rtc: Enabling TWL-RTC.
<6>[ 1.457183] i2c /dev entries driver
<6>[ 1.462158] sdhci: Secure Digital Host Controller Interface driver
<6>[ 1.468444] sdhci: Copyright(c) Pierre Ossman
<7>[ 1.475250] Registered led device: led1
<7>[ 1.475616] Registered led device: led2
<7>[ 1.476989] Registered led device: ledB
<7>[ 1.477233] Registered led device: led3
<6>[ 1.478332] usbcore: registered new interface driver usbhid
<6>[ 1.484039] usbhid: USB HID core driver
<7>[ 1.508728] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000
<4>[ 1.568145] No device for DAI omap-mcbsp-dai-0
<4>[ 1.572662] No device for DAI omap-mcbsp-dai-1
<4>[ 1.577117] No device for DAI omap-mcbsp-dai-2
<4>[ 1.581634] No device for DAI omap-mcbsp-dai-3
<4>[ 1.586120] No device for DAI omap-mcbsp-dai-4
<6>[ 1.590606] OMAP3 Beagle/Devkit8000 SoC init
<6>[ 1.596801] asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
<6>[ 1.606079] ALSA device list:
<6>[ 1.609161] #0: omap3beagle (twl4030)
<6>[ 1.613281] TCP cubic registered
<6>[ 1.616516] NET: Registered protocol family 17
<6>[ 1.621124] NET: Registered protocol family 15
<3>[ 1.626251] Power Management for TI OMAP3.
<6>[ 1.630706] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
<3>[ 1.641723] omapfb omapfb: failed to allocate framebuffer
<3>[ 1.647155] omapfb omapfb: failed to allocate fbmem
<3>[ 1.652130] omapfb omapfb: failed to setup omapfb
<4>[ 1.656921] omapfb: probe of omapfb failed with error -12
<4>[ 1.662811] regulator_init_complete: incomplete constraints, leaving VDAC on
<6>[ 1.671600] twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
<6>[ 1.695281] Freeing init memory: 1480K
<6>[ 1.741821] mmc0: new high speed SD card at address 0002
<6>[ 1.747894] mmcblk0: mmc0:0002 N/A 242 MiB
<6>[ 1.752655] mmcblk0: p1 p2
<6>[ 1.848663] g_ether gadget: high speed config #1: CDC Ethernet (ECM)
<7>[ 1.855072] musb_hdrc periph: enabled ep2in for int IN, dma, maxpacket 16
<7>[ 1.855102] g_ether gadget: init ecm
<7>[ 1.855133] g_ether gadget: notify connect false
<7>[ 1.855163] g_ether gadget: notify speed 425984000
<7>[ 1.855682] g_ether gadget: activate ecm
<7>[ 1.855712] musb_hdrc periph: enabled ep1in for bulk IN, dma, maxpacket 512
<7>[ 1.855712] musb_hdrc periph: enabled ep1out for bulk OUT, dma, maxpacket 512
<7>[ 1.855743] usb0: qlen 10
<7>[ 1.855773] g_ether gadget: ecm_close
<7>[ 1.954254] g_ether gadget: notify connect false
<7>[ 1.954284] g_ether gadget: notify speed 425984000
^ permalink raw reply [flat|nested] 18+ messages in thread* Re: [PATCH 00/14] Multiple fixes for Devkit8000
2010-05-18 12:05 [PATCH 00/14] Multiple fixes for Devkit8000 Thomas Weber
` (14 preceding siblings ...)
2010-05-19 4:02 ` [PATCH 00/14] Multiple fixes for Devkit8000 Kan-Ru Chen
@ 2010-06-01 5:36 ` Thomas Weber
2010-06-01 8:32 ` Tony Lindgren
15 siblings, 1 reply; 18+ messages in thread
From: Thomas Weber @ 2010-06-01 5:36 UTC (permalink / raw)
To: tony; +Cc: linux-omap
Hello Tony,
can you please add these patches? Or is something to change?
Thomas
Am 18.05.2010 14:05, schrieb Thomas Weber:
> Some of these patches were submitted earlier but got no comments
> so I am sending them one more time.
>
> These patches correct errors that were done while using the board code
> from beagle board for Devkit8000.
>
> The Devkit8000 uses the TPS65930, an reduced version of the TWL4030.
> So not all power supplies from the TWL4030 are available.
> There were also a wrong comment about the pins supported by the vmmc1.
> The DSS2 do not need a VDVI any longer so it is removed.
> The definition of the supplies are changed to use the new REGULATOR_SUPPLY macro.
> The pins for lcd and dvi powerdown are corrected.
>
>
> Kan-Ru Chen (1):
> OMAP2: Devkit8000: Setup LCD reset
>
> Thomas Weber (13):
> OMAP2: Devkit8000: Cleanup for supplies
> OMAP2: Devkit8000: change lcd panel to generic
> OMAP2: Devkit8000: Enable DVI-D output
> OMAP2: Devkit8000: Remove unneeded VDVI
> OMAP2: Devkit8000: Remove nonexisting vsim
> OMAP2: Devkit8000: Remove en-/disable for tv panel
> OMAP2: Devkit8000: Use the REGULATOR_SUPPLY macro
> OMAP2: Devkit8000: Fixing comment about pins used
> OMAP2: Devkit8000: Fix whitespace with tab
> OMAP2: Devkit8000: Fix comment
> OMAP2: Devkit8000: Using gpio_is_valid
> OMAP2: Devkit8000: Remove unused omap_board_config
> OMAP2: Devkit8000: Correct regulator
>
> arch/arm/mach-omap2/board-devkit8000.c | 125 +++++++++++++++-----------------
> 1 files changed, 58 insertions(+), 67 deletions(-)
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 18+ messages in thread