[U-Boot] [PATCH] lcd: atmel: Add 32bpp support for HLCDC

Andreas Bießmann andreas.devel at googlemail.com
Sat Oct 24 01:02:59 CEST 2015


On 23.10.15 22:55, Marek Vasut wrote:
> Add 32bpp framebuffer support for the Atmel HLCDC driver. This is
> needed for output bpp higher than 16bpp.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>

Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>

> ---
>  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;
> 


More information about the U-Boot mailing list