public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] cm_t35 tune up
@ 2013-10-07 14:28 Nikita Kiryanov
  2013-10-07 14:28 ` [U-Boot] [PATCH 1/3] cm_t35: reduce default bootdelay to 3 seconds Nikita Kiryanov
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Nikita Kiryanov @ 2013-10-07 14:28 UTC (permalink / raw)
  To: u-boot

This patchset is a collection of short cm_t35 updates. It changes some
configuration parameters and turns on GPIO commands.

Nikita Kiryanov (3):
  cm_t35: reduce default bootdelay to 3 seconds
  cm_t35: turn on GPIO commands
  cm_t35: update lcd predefines

 board/compulab/cm_t35/display.c | 8 +++++++-
 include/configs/cm_t35.h        | 3 ++-
 2 files changed, 9 insertions(+), 2 deletions(-)

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 1/3] cm_t35: reduce default bootdelay to 3 seconds
  2013-10-07 14:28 [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov
@ 2013-10-07 14:28 ` Nikita Kiryanov
  2013-11-04 14:18   ` [U-Boot] [U-Boot, " Tom Rini
  2013-10-07 14:28 ` [U-Boot] [PATCH 2/3] cm_t35: turn on GPIO commands Nikita Kiryanov
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Nikita Kiryanov @ 2013-10-07 14:28 UTC (permalink / raw)
  To: u-boot

Current default bootdelay of 10 seconds is too long.
Reduce default bootdelay to 3 seconds.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
 include/configs/cm_t35.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index bc5b66c..f74ccdc 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -169,7 +169,7 @@
 #define CONFIG_SYS_MAX_NAND_DEVICE	1		/* Max number of NAND */
 							/* devices */
 /* Environment information */
-#define CONFIG_BOOTDELAY		10
+#define CONFIG_BOOTDELAY		3
 #define CONFIG_ZERO_BOOTDELAY_CHECK
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 2/3] cm_t35: turn on GPIO commands
  2013-10-07 14:28 [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov
  2013-10-07 14:28 ` [U-Boot] [PATCH 1/3] cm_t35: reduce default bootdelay to 3 seconds Nikita Kiryanov
@ 2013-10-07 14:28 ` Nikita Kiryanov
  2013-11-04 14:18   ` [U-Boot] [U-Boot,2/3] " Tom Rini
  2013-10-07 14:28 ` [U-Boot] [PATCH 3/3] cm_t35: update lcd predefines Nikita Kiryanov
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 9+ messages in thread
From: Nikita Kiryanov @ 2013-10-07 14:28 UTC (permalink / raw)
  To: u-boot

Turn on GPIO commands for cm-t35 and cm-t3730.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
 include/configs/cm_t35.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h
index f74ccdc..eff35b9 100644
--- a/include/configs/cm_t35.h
+++ b/include/configs/cm_t35.h
@@ -23,6 +23,7 @@
 #define CONFIG_OMAP	/* in a TI OMAP core */
 #define CONFIG_OMAP34XX	/* which is a 34XX */
 #define CONFIG_OMAP_GPIO
+#define CONFIG_CMD_GPIO
 #define CONFIG_CM_T3X	/* working with CM-T35 and CM-T3730 */
 #define CONFIG_OMAP_COMMON
 
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 3/3] cm_t35: update lcd predefines
  2013-10-07 14:28 [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov
  2013-10-07 14:28 ` [U-Boot] [PATCH 1/3] cm_t35: reduce default bootdelay to 3 seconds Nikita Kiryanov
  2013-10-07 14:28 ` [U-Boot] [PATCH 2/3] cm_t35: turn on GPIO commands Nikita Kiryanov
@ 2013-10-07 14:28 ` Nikita Kiryanov
  2013-10-07 15:55 ` [U-Boot] [PATCH V2 " Nikita Kiryanov
  2013-10-28 13:57 ` [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov
  4 siblings, 0 replies; 9+ messages in thread
From: Nikita Kiryanov @ 2013-10-07 14:28 UTC (permalink / raw)
  To: u-boot

Current predefines do not fit cm-t3730 very well (some of them produce
artifacts in the image).
Update LCD predefines to accommodate both cm-t35 and cm-t3730 modules.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
 board/compulab/cm_t35/display.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/board/compulab/cm_t35/display.c b/board/compulab/cm_t35/display.c
index fae8d95..ead821e 100644
--- a/board/compulab/cm_t35/display.c
+++ b/board/compulab/cm_t35/display.c
@@ -51,6 +51,7 @@ static const struct panel_config preset_dvi_640X480 = {
 	.lcd_size	= PANEL_LCD_SIZE(640, 480),
 	.timing_h	= DSS_HBP(48) | DSS_HFP(16) | DSS_HSW(96),
 	.timing_v	= DSS_VBP(33) | DSS_VFP(10) | DSS_VSW(2),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 12 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
@@ -62,6 +63,7 @@ static const struct panel_config preset_dvi_800X600 = {
 	.lcd_size	= PANEL_LCD_SIZE(800, 600),
 	.timing_h	= DSS_HBP(88) | DSS_HFP(40) | DSS_HSW(128),
 	.timing_v	= DSS_VBP(23) | DSS_VFP(1) | DSS_VSW(4),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 8 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
@@ -73,6 +75,7 @@ static const struct panel_config preset_dvi_1024X768 = {
 	.lcd_size	= PANEL_LCD_SIZE(1024, 768),
 	.timing_h	= DSS_HBP(160) | DSS_HFP(24) | DSS_HSW(136),
 	.timing_v	= DSS_VBP(29) | DSS_VFP(3) | DSS_VSW(6),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 5 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
@@ -84,7 +87,8 @@ static const struct panel_config preset_dvi_1152X864 = {
 	.lcd_size	= PANEL_LCD_SIZE(1152, 864),
 	.timing_h	= DSS_HBP(256) | DSS_HFP(64) | DSS_HSW(128),
 	.timing_v	= DSS_VBP(32) | DSS_VFP(1) | DSS_VSW(3),
-	.divisor	= 3 | (1 << 16),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
+	.divisor	= 4 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
 	.load_mode	= 2,
@@ -95,6 +99,7 @@ static const struct panel_config preset_dvi_1280X960 = {
 	.lcd_size	= PANEL_LCD_SIZE(1280, 960),
 	.timing_h	= DSS_HBP(312) | DSS_HFP(96) | DSS_HSW(112),
 	.timing_v	= DSS_VBP(36) | DSS_VFP(1) | DSS_VSW(3),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 3 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
@@ -106,6 +111,7 @@ static const struct panel_config preset_dvi_1280X1024 = {
 	.lcd_size	= PANEL_LCD_SIZE(1280, 1024),
 	.timing_h	= DSS_HBP(248) | DSS_HFP(48) | DSS_HSW(112),
 	.timing_v	= DSS_VBP(38) | DSS_VFP(1) | DSS_VSW(3),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 3 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH V2 3/3] cm_t35: update lcd predefines
  2013-10-07 14:28 [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov
                   ` (2 preceding siblings ...)
  2013-10-07 14:28 ` [U-Boot] [PATCH 3/3] cm_t35: update lcd predefines Nikita Kiryanov
@ 2013-10-07 15:55 ` Nikita Kiryanov
  2013-11-04 14:19   ` [U-Boot] [U-Boot,V2,3/3] " Tom Rini
  2013-10-28 13:57 ` [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov
  4 siblings, 1 reply; 9+ messages in thread
From: Nikita Kiryanov @ 2013-10-07 15:55 UTC (permalink / raw)
  To: u-boot

Current predefines do not fit cm-t3730 very well (some of them produce
artifacts in the image).
Update LCD predefines to accommodate both cm-t35 and cm-t3730 modules.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
Changes in V2:
	- In V1 an old version of the patch was sent by mistake. This is the up
	to date version. It depends on http://patchwork.ozlabs.org/patch/275283/

 board/compulab/common/omap3_display.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/board/compulab/common/omap3_display.c b/board/compulab/common/omap3_display.c
index fae8d95..ead821e 100644
--- a/board/compulab/common/omap3_display.c
+++ b/board/compulab/common/omap3_display.c
@@ -51,6 +51,7 @@ static const struct panel_config preset_dvi_640X480 = {
 	.lcd_size	= PANEL_LCD_SIZE(640, 480),
 	.timing_h	= DSS_HBP(48) | DSS_HFP(16) | DSS_HSW(96),
 	.timing_v	= DSS_VBP(33) | DSS_VFP(10) | DSS_VSW(2),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 12 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
@@ -62,6 +63,7 @@ static const struct panel_config preset_dvi_800X600 = {
 	.lcd_size	= PANEL_LCD_SIZE(800, 600),
 	.timing_h	= DSS_HBP(88) | DSS_HFP(40) | DSS_HSW(128),
 	.timing_v	= DSS_VBP(23) | DSS_VFP(1) | DSS_VSW(4),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 8 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
@@ -73,6 +75,7 @@ static const struct panel_config preset_dvi_1024X768 = {
 	.lcd_size	= PANEL_LCD_SIZE(1024, 768),
 	.timing_h	= DSS_HBP(160) | DSS_HFP(24) | DSS_HSW(136),
 	.timing_v	= DSS_VBP(29) | DSS_VFP(3) | DSS_VSW(6),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 5 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
@@ -84,7 +87,8 @@ static const struct panel_config preset_dvi_1152X864 = {
 	.lcd_size	= PANEL_LCD_SIZE(1152, 864),
 	.timing_h	= DSS_HBP(256) | DSS_HFP(64) | DSS_HSW(128),
 	.timing_v	= DSS_VBP(32) | DSS_VFP(1) | DSS_VSW(3),
-	.divisor	= 3 | (1 << 16),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
+	.divisor	= 4 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
 	.load_mode	= 2,
@@ -95,6 +99,7 @@ static const struct panel_config preset_dvi_1280X960 = {
 	.lcd_size	= PANEL_LCD_SIZE(1280, 960),
 	.timing_h	= DSS_HBP(312) | DSS_HFP(96) | DSS_HSW(112),
 	.timing_v	= DSS_VBP(36) | DSS_VFP(1) | DSS_VSW(3),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 3 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
@@ -106,6 +111,7 @@ static const struct panel_config preset_dvi_1280X1024 = {
 	.lcd_size	= PANEL_LCD_SIZE(1280, 1024),
 	.timing_h	= DSS_HBP(248) | DSS_HFP(48) | DSS_HSW(112),
 	.timing_v	= DSS_VBP(38) | DSS_VFP(1) | DSS_VSW(3),
+	.pol_freq	= DSS_IHS | DSS_IVS | DSS_IPC,
 	.divisor	= 3 | (1 << 16),
 	.data_lines	= LCD_INTERFACE_24_BIT,
 	.panel_type	= ACTIVE_DISPLAY,
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [U-Boot] [PATCH 0/3] cm_t35 tune up
  2013-10-07 14:28 [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov
                   ` (3 preceding siblings ...)
  2013-10-07 15:55 ` [U-Boot] [PATCH V2 " Nikita Kiryanov
@ 2013-10-28 13:57 ` Nikita Kiryanov
  4 siblings, 0 replies; 9+ messages in thread
From: Nikita Kiryanov @ 2013-10-28 13:57 UTC (permalink / raw)
  To: u-boot

Ping

On 10/07/2013 05:28 PM, Nikita Kiryanov wrote:
> This patchset is a collection of short cm_t35 updates. It changes some
> configuration parameters and turns on GPIO commands.
>
> Nikita Kiryanov (3):
>    cm_t35: reduce default bootdelay to 3 seconds
>    cm_t35: turn on GPIO commands
>    cm_t35: update lcd predefines
>
>   board/compulab/cm_t35/display.c | 8 +++++++-
>   include/configs/cm_t35.h        | 3 ++-
>   2 files changed, 9 insertions(+), 2 deletions(-)
>


-- 
Regards,
Nikita.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [U-Boot, 1/3] cm_t35: reduce default bootdelay to 3 seconds
  2013-10-07 14:28 ` [U-Boot] [PATCH 1/3] cm_t35: reduce default bootdelay to 3 seconds Nikita Kiryanov
@ 2013-11-04 14:18   ` Tom Rini
  0 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2013-11-04 14:18 UTC (permalink / raw)
  To: u-boot

On Mon, Oct 07, 2013 at 05:28:49PM +0300, Nikita Kiryanov wrote:

> Current default bootdelay of 10 seconds is too long.
> Reduce default bootdelay to 3 seconds.
> 
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131104/7f4cfdf6/attachment.pgp>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [U-Boot,2/3] cm_t35: turn on GPIO commands
  2013-10-07 14:28 ` [U-Boot] [PATCH 2/3] cm_t35: turn on GPIO commands Nikita Kiryanov
@ 2013-11-04 14:18   ` Tom Rini
  0 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2013-11-04 14:18 UTC (permalink / raw)
  To: u-boot

On Mon, Oct 07, 2013 at 05:28:50PM +0300, Nikita Kiryanov wrote:

> Turn on GPIO commands for cm-t35 and cm-t3730.
> 
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131104/9fc333fd/attachment.pgp>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [U-Boot] [U-Boot,V2,3/3] cm_t35: update lcd predefines
  2013-10-07 15:55 ` [U-Boot] [PATCH V2 " Nikita Kiryanov
@ 2013-11-04 14:19   ` Tom Rini
  0 siblings, 0 replies; 9+ messages in thread
From: Tom Rini @ 2013-11-04 14:19 UTC (permalink / raw)
  To: u-boot

On Mon, Oct 07, 2013 at 06:55:46PM +0300, Nikita Kiryanov wrote:

> Current predefines do not fit cm-t3730 very well (some of them produce
> artifacts in the image).
> Update LCD predefines to accommodate both cm-t35 and cm-t3730 modules.
> 
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>

Applied to u-boot-ti/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131104/9d272fe1/attachment.pgp>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-04 14:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 14:28 [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov
2013-10-07 14:28 ` [U-Boot] [PATCH 1/3] cm_t35: reduce default bootdelay to 3 seconds Nikita Kiryanov
2013-11-04 14:18   ` [U-Boot] [U-Boot, " Tom Rini
2013-10-07 14:28 ` [U-Boot] [PATCH 2/3] cm_t35: turn on GPIO commands Nikita Kiryanov
2013-11-04 14:18   ` [U-Boot] [U-Boot,2/3] " Tom Rini
2013-10-07 14:28 ` [U-Boot] [PATCH 3/3] cm_t35: update lcd predefines Nikita Kiryanov
2013-10-07 15:55 ` [U-Boot] [PATCH V2 " Nikita Kiryanov
2013-11-04 14:19   ` [U-Boot] [U-Boot,V2,3/3] " Tom Rini
2013-10-28 13:57 ` [U-Boot] [PATCH 0/3] cm_t35 tune up Nikita Kiryanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox