Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
854ec722
Commit
854ec722
authored
May 24, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add LCD display parameters for Lubbock board.
parent
87beab86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/lubbock.c
+22
-1
No files found.
arch/arm/mach-pxa/lubbock.c
View file @
854ec722
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
#include <linux/init.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/device.h>
#include <linux/major.h>
#include <linux/major.h>
#include <linux/f
s
.h>
#include <linux/f
b
.h>
#include <linux/interrupt.h>
#include <linux/interrupt.h>
#include <asm/setup.h>
#include <asm/setup.h>
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include <asm/mach/irq.h>
#include <asm/mach/irq.h>
#include <asm/arch/udc.h>
#include <asm/arch/udc.h>
#include <asm/arch/pxafb.h>
#include <asm/hardware/sa1111.h>
#include <asm/hardware/sa1111.h>
#include "generic.h"
#include "generic.h"
...
@@ -159,9 +160,29 @@ static struct platform_device *devices[] __initdata = {
...
@@ -159,9 +160,29 @@ static struct platform_device *devices[] __initdata = {
&
smc91x_device
,
&
smc91x_device
,
};
};
static
struct
pxafb_mach_info
sharp_lm8v31
__initdata
=
{
.
pixclock
=
270000
,
.
xres
=
640
,
.
yres
=
480
,
.
bpp
=
16
,
.
hsync_len
=
1
,
.
left_margin
=
3
,
.
right_margin
=
3
,
.
vsync_len
=
1
,
.
upper_margin
=
0
,
.
lower_margin
=
0
,
.
sync
=
FB_SYNC_HOR_HIGH_ACT
|
FB_SYNC_VERT_HIGH_ACT
,
.
cmap_greyscale
=
0
,
.
cmap_inverse
=
0
,
.
cmap_static
=
0
,
.
lccr0
=
LCCR0_SDS
,
.
lccr3
=
LCCR3_PCP
|
LCCR3_Acb
(
255
),
};
static
void
__init
lubbock_init
(
void
)
static
void
__init
lubbock_init
(
void
)
{
{
pxa_set_udc_info
(
&
udc_info
);
pxa_set_udc_info
(
&
udc_info
);
set_pxa_fb_info
(
&
sharp_lm8v31
);
(
void
)
platform_add_devices
(
devices
,
ARRAY_SIZE
(
devices
));
(
void
)
platform_add_devices
(
devices
,
ARRAY_SIZE
(
devices
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment