Skip to contentSkip to conversation

ARM: atmel: sama5d4 xplained: fix the LCD parameters

PATCH New Bo Shen 2 participants 6 messages Jan 8, 2015 – Jan 11, 2015 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore

Bo Shen

author
#0 lore raw

PATCH 1/3 ARM: atmel: sama5d4 xplained: fix the LCD parameters

Correct the LCD pixel clock, remove unused vsync parameter, and also correct the include file.

---

 board/atmel/sama5d4_xplained/sama5d4_xplained.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
board/atmel/sama5d4_xplained/sama5d4_xplained.c +2 -4
index de0baad..2758c5c 100644
@@ -14,7 +14,7 @@
 #include <asm/arch/clk.h>
 #include <asm/arch/sama5d3_smc.h>
 #include <asm/arch/sama5d4.h>
-#include <atmel_lcdc.h>
+#include <atmel_hlcdc.h>
 #include <atmel_mci.h>
 #include <lcd.h>
 #include <mmc.h>
@@ -109,10 +109,8 @@ static void sama5d4_xplained_usb_hw_init(void)
 vidinfo_t panel_info = {
 	.vl_col = 480,
 	.vl_row = 272,
-	.vl_clk = 9000,
-	.vl_sync = ATMEL_LCDC_INVLINE_NORMAL | ATMEL_LCDC_INVFRAME_NORMAL,
+	.vl_clk = 9000000,
 	.vl_bpix = LCD_BPP,
-	.vl_bpox = LCD_OUTPUT_BPP,
 	.vl_tft = 1,
 	.vl_hsync_len = 41,
 	.vl_left_margin = 2,
Signature · 1 line
2.1.0.24.g4109c28
author
#1 lore raw

PATCH 2/3 ARM: atmel: sama5d4xek: fix the LCD parameters

Remove unused vsync parameter, and correct the include file.

---

 board/atmel/sama5d4ek/sama5d4ek.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/atmel/sama5d4ek/sama5d4ek.c +1 -2
index f8394f5..d3039c0 100644
@@ -14,7 +14,7 @@
 #include <asm/arch/clk.h>
 #include <asm/arch/sama5d3_smc.h>
 #include <asm/arch/sama5d4.h>
-#include <atmel_lcdc.h>
+#include <atmel_hlcdc.h>
 #include <atmel_mci.h>
 #include <lcd.h>
 #include <mmc.h>
@@ -111,7 +111,6 @@ vidinfo_t panel_info = {
 	.vl_col = 800,
 	.vl_row = 480,
 	.vl_clk = 33260000,
-	.vl_sync = ATMEL_LCDC_INVLINE_NORMAL | ATMEL_LCDC_INVFRAME_NORMAL,
 	.vl_bpix = LCD_BPP,
 	.vl_tft = 1,
 	.vl_hsync_len = 5,
Signature · 1 line
2.1.0.24.g4109c28
#2 lore raw

PATCH 2/3 ARM: atmel: sama5d4xek: fix the LCD parameters

Dear Bo Shen,

Quoted 7 lines · Bo Shen

Remove unused vsync parameter, and correct the include file.

---

board/atmel/sama5d4ek/sama5d4ek.c | 3 +--

1 file changed, 1 insertion(+), 2 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann

author
#3 lore raw

PATCH 3/3 ARM: atmel: sama5d3xek: fix the LCD parameters

In reply to Bo Shen

Remove unused vsync parameter, and correct the include file.

---

 board/atmel/sama5d3xek/sama5d3xek.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
board/atmel/sama5d3xek/sama5d3xek.c +1 -2
index ca4f79d..cf6ed8b 100644
@@ -15,7 +15,7 @@
 #include <asm/arch/gpio.h>
 #include <asm/arch/clk.h>
 #include <lcd.h>
-#include <atmel_lcdc.h>
+#include <atmel_hlcdc.h>
 #include <atmel_mci.h>
 #include <phy.h>
 #include <micrel.h>
@@ -146,7 +146,6 @@ vidinfo_t panel_info = {
 	.vl_col = 800,
 	.vl_row = 480,
 	.vl_clk = 24000000,
-	.vl_sync = ATMEL_LCDC_INVLINE_NORMAL | ATMEL_LCDC_INVFRAME_NORMAL,
 	.vl_bpix = LCD_BPP,
 	.vl_tft = 1,
 	.vl_hsync_len = 128,
Signature · 1 line
2.1.0.24.g4109c28
#4 lore raw

PATCH 3/3 ARM: atmel: sama5d3xek: fix the LCD parameters

Dear Bo Shen,

Quoted 7 lines · Bo Shen

Remove unused vsync parameter, and correct the include file.

---

board/atmel/sama5d3xek/sama5d3xek.c | 3 +--

1 file changed, 1 insertion(+), 2 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann

#5 lore raw

PATCH 1/3 ARM: atmel: sama5d4 xplained: fix the LCD parameters

In reply to Bo Shen

Dear Bo Shen,

Quoted 8 lines · Bo Shen

Correct the LCD pixel clock, remove unused vsync parameter, and also correct the include file.

---

board/atmel/sama5d4_xplained/sama5d4_xplained.c | 6 ++----

1 file changed, 2 insertions(+), 4 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann