mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 02:15:45 +01:00 
			
		
		
		
	PXA: pxafb: Add support for Sharp LQ038J7DH53
This LCD panel is found in Palm LifeDrive handheld Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Wolfgang Denk
						Wolfgang Denk
					
				
			
			
				
	
			
			
			
						parent
						
							f7d58d9166
						
					
				
				
					commit
					42222be43c
				
			| @@ -250,6 +250,40 @@ vidinfo_t panel_info = { | |||||||
|  |  | ||||||
| /*----------------------------------------------------------------------*/ | /*----------------------------------------------------------------------*/ | ||||||
|  |  | ||||||
|  | #ifdef CONFIG_LQ038J7DH53 | ||||||
|  |  | ||||||
|  | # define LCD_BPP	LCD_COLOR8 | ||||||
|  |  | ||||||
|  | /* you have to set lccr0 and lccr3 (including pcd) */ | ||||||
|  | # define REG_LCCR0	0x003008f9 | ||||||
|  | # define REG_LCCR3	0x03700004 | ||||||
|  |  | ||||||
|  | vidinfo_t panel_info = { | ||||||
|  | 	.vl_col		= 320, | ||||||
|  | 	.vl_row		= 480, | ||||||
|  | 	.vl_width	= 320, | ||||||
|  | 	.vl_height	= 480, | ||||||
|  | 	.vl_clkp	= CONFIG_SYS_HIGH, | ||||||
|  | 	.vl_oep		= CONFIG_SYS_LOW, | ||||||
|  | 	.vl_hsp		= CONFIG_SYS_LOW, | ||||||
|  | 	.vl_vsp		= CONFIG_SYS_LOW, | ||||||
|  | 	.vl_dp		= CONFIG_SYS_HIGH, | ||||||
|  | 	.vl_bpix	= LCD_BPP, | ||||||
|  | 	.vl_lbw		= 0, | ||||||
|  | 	.vl_splt	= 1, | ||||||
|  | 	.vl_clor	= 1, | ||||||
|  | 	.vl_tft		= 1, | ||||||
|  | 	.vl_hpw		= 0x04, | ||||||
|  | 	.vl_blw		= 0x20, | ||||||
|  | 	.vl_elw		= 0x01, | ||||||
|  | 	.vl_vpw		= 0x01, | ||||||
|  | 	.vl_bfw		= 0x04, | ||||||
|  | 	.vl_efw		= 0x01, | ||||||
|  | }; | ||||||
|  | #endif /* CONFIG_ACX517AKN */ | ||||||
|  |  | ||||||
|  | /*----------------------------------------------------------------------*/ | ||||||
|  |  | ||||||
| #if LCD_BPP == LCD_COLOR8 | #if LCD_BPP == LCD_COLOR8 | ||||||
| void lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue); | void lcd_setcolreg (ushort regno, ushort red, ushort green, ushort blue); | ||||||
| #endif | #endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user