public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] lcd: atmel: Add 32bpp support for HLCDC
@ 2015-10-23 20:55 Marek Vasut
  2015-10-23 23:02 ` Andreas Bießmann
  2015-11-01 21:03 ` [U-Boot] " Andreas Bießmann
  0 siblings, 2 replies; 3+ messages in thread
From: Marek Vasut @ 2015-10-23 20:55 UTC (permalink / raw)
  To: u-boot

Add 32bpp framebuffer support for the Atmel HLCDC driver. This is
needed for output bpp higher than 16bpp.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 drivers/video/atmel_hlcdfb.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/video/atmel_hlcdfb.c b/drivers/video/atmel_hlcdfb.c
index 0ce2370..960b474 100644
--- a/drivers/video/atmel_hlcdfb.c
+++ b/drivers/video/atmel_hlcdfb.c
@@ -162,6 +162,10 @@ void lcd_ctrl_init(void *lcdbase)
 		lcdc_writel(&regs->lcdc_basecfg1,
 			LCDC_BASECFG1_RGBMODE_16BPP_RGB_565);
 		break;
+	case 32:
+		lcdc_writel(&regs->lcdc_basecfg1,
+			LCDC_BASECFG1_RGBMODE_24BPP_RGB_888);
+		break;
 	default:
 		BUG();
 		break;
-- 
2.1.4

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

end of thread, other threads:[~2015-11-01 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-23 20:55 [U-Boot] [PATCH] lcd: atmel: Add 32bpp support for HLCDC Marek Vasut
2015-10-23 23:02 ` Andreas Bießmann
2015-11-01 21:03 ` [U-Boot] " Andreas Bießmann

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