Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
8b71d2b7
Commit
8b71d2b7
authored
15 years ago
by
Marek Vasut
Committed by
Wolfgang Denk
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
PXA: pxafb: Marvell Littleton LCD definition
Signed-off-by:
Marek Vasut
<
marek.vasut@gmail.com
>
parent
42222be4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/cpu/pxa/pxafb.c
+33
-0
33 additions, 0 deletions
arch/arm/cpu/pxa/pxafb.c
with
33 additions
and
0 deletions
arch/arm/cpu/pxa/pxafb.c
+
33
−
0
View file @
8b71d2b7
...
...
@@ -284,6 +284,39 @@ vidinfo_t panel_info = {
/*----------------------------------------------------------------------*/
#ifdef CONFIG_LITTLETON_LCD
# define LCD_BPP LCD_COLOR8
/* you have to set lccr0 and lccr3 (including pcd) */
# define REG_LCCR0 0x003008f8
# define REG_LCCR3 0x0300FF04
vidinfo_t
panel_info
=
{
.
vl_col
=
480
,
.
vl_row
=
640
,
.
vl_width
=
480
,
.
vl_height
=
640
,
.
vl_clkp
=
CONFIG_SYS_HIGH
,
.
vl_oep
=
CONFIG_SYS_HIGH
,
.
vl_hsp
=
CONFIG_SYS_HIGH
,
.
vl_vsp
=
CONFIG_SYS_HIGH
,
.
vl_dp
=
CONFIG_SYS_HIGH
,
.
vl_bpix
=
LCD_BPP
,
.
vl_lbw
=
0
,
.
vl_splt
=
0
,
.
vl_clor
=
0
,
.
vl_tft
=
1
,
.
vl_hpw
=
9
,
.
vl_blw
=
8
,
.
vl_elw
=
24
,
.
vl_vpw
=
2
,
.
vl_bfw
=
2
,
.
vl_efw
=
4
,
};
#endif
/* CONFIG_LITTLETON_LCD */
/*----------------------------------------------------------------------*/
#if LCD_BPP == LCD_COLOR8
void
lcd_setcolreg
(
ushort
regno
,
ushort
red
,
ushort
green
,
ushort
blue
);
#endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment