Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
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
Clea OS
bsp
nxp
linux-seco-imx
Commits
12a8ab15
Commit
12a8ab15
authored
16 years ago
by
Russell King
Committed by
Russell King
16 years ago
Browse files
Options
Downloads
Plain Diff
Merge branch 'for-rmk' of
git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
parents
e14c8bf8
faf2f0ab
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/arm/mach-pxa/include/mach/pxafb.h
+1
-0
1 addition, 0 deletions
arch/arm/mach-pxa/include/mach/pxafb.h
arch/arm/mach-pxa/spitz.c
+2
-2
2 additions, 2 deletions
arch/arm/mach-pxa/spitz.c
drivers/video/pxafb.c
+4
-1
4 additions, 1 deletion
drivers/video/pxafb.c
with
7 additions
and
3 deletions
arch/arm/mach-pxa/include/mach/pxafb.h
+
1
−
0
View file @
12a8ab15
...
...
@@ -33,6 +33,7 @@
#define LCD_CONN_TYPE(_x) ((_x) & 0x0f)
#define LCD_CONN_WIDTH(_x) (((_x) >> 4) & 0x1f)
#define LCD_TYPE_MASK 0xf
#define LCD_TYPE_UNKNOWN 0
#define LCD_TYPE_MONO_STN 1
#define LCD_TYPE_MONO_DSTN 2
...
...
This diff is collapsed.
Click to expand it.
arch/arm/mach-pxa/spitz.c
+
2
−
2
View file @
12a8ab15
...
...
@@ -67,6 +67,7 @@
static
unsigned
long
spitz_pin_config
[]
__initdata
=
{
/* Chip Selects */
GPIO78_nCS_2
,
/* SCOOP #2 */
GPIO79_nCS_3
,
/* NAND */
GPIO80_nCS_4
,
/* SCOOP #1 */
/* LCD - 16bpp Active TFT */
...
...
@@ -97,10 +98,10 @@ static unsigned long spitz_pin_config[] __initdata = {
GPIO51_nPIOW
,
GPIO85_nPCE_1
,
GPIO54_nPCE_2
,
GPIO79_PSKTSEL
,
GPIO55_nPREG
,
GPIO56_nPWAIT
,
GPIO57_nIOIS16
,
GPIO104_PSKTSEL
,
/* MMC */
GPIO32_MMC_CLK
,
...
...
@@ -686,7 +687,6 @@ static void __init akita_init(void)
spitz_pcmcia_config
.
num_devs
=
1
;
platform_scoop_config
=
&
spitz_pcmcia_config
;
pxa_set_i2c_info
(
NULL
);
i2c_register_board_info
(
0
,
ARRAY_AND_SIZE
(
akita_i2c_board_info
));
common_init
();
...
...
This diff is collapsed.
Click to expand it.
drivers/video/pxafb.c
+
4
−
1
View file @
12a8ab15
...
...
@@ -804,6 +804,9 @@ static int pxafb_smart_thread(void *arg)
static
int
pxafb_smart_init
(
struct
pxafb_info
*
fbi
)
{
if
(
!
(
fbi
->
lccr0
|
LCCR0_LCDT
))
return
0
;
fbi
->
smart_thread
=
kthread_run
(
pxafb_smart_thread
,
fbi
,
"lcd_refresh"
);
if
(
IS_ERR
(
fbi
->
smart_thread
))
{
...
...
@@ -1372,7 +1375,7 @@ static void pxafb_decode_mach_info(struct pxafb_info *fbi,
fbi
->
cmap_inverse
=
inf
->
cmap_inverse
;
fbi
->
cmap_static
=
inf
->
cmap_static
;
switch
(
lcd_conn
&
0xf
)
{
switch
(
lcd_conn
&
LCD_TYPE_MASK
)
{
case
LCD_TYPE_MONO_STN
:
fbi
->
lccr0
=
LCCR0_CMS
;
break
;
...
...
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