Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
d4877e58
Commit
d4877e58
authored
Feb 24, 2006
by
Kyungmin Park
Committed by
Tony Lindgren
Feb 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ARM: OMAP: Apollon LCD support
Sync. with OMAP git tree
parent
caf088a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
drivers/video/omap/lcd_apollon.c
drivers/video/omap/lcd_apollon.c
+50
-0
No files found.
drivers/video/omap/lcd_apollon.c
View file @
d4877e58
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
*/
*/
#include <linux/module.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <asm/arch/gpio.h>
#include <asm/arch/gpio.h>
#include <asm/arch/mux.h>
#include <asm/arch/mux.h>
...
@@ -105,3 +106,52 @@ struct lcd_panel apollon_panel = {
...
@@ -105,3 +106,52 @@ struct lcd_panel apollon_panel = {
.
disable
=
apollon_panel_disable
,
.
disable
=
apollon_panel_disable
,
.
get_caps
=
apollon_panel_get_caps
,
.
get_caps
=
apollon_panel_get_caps
,
};
};
static
int
apollon_panel_probe
(
struct
platform_device
*
pdev
)
{
DBGENTER
(
1
);
omapfb_register_panel
(
&
apollon_panel
);
return
0
;
}
static
int
apollon_panel_remove
(
struct
platform_device
*
pdev
)
{
DBGENTER
(
1
);
return
0
;
}
static
int
apollon_panel_suspend
(
struct
platform_device
*
pdev
,
pm_message_t
mesg
)
{
DBGENTER
(
1
);
return
0
;
}
static
int
apollon_panel_resume
(
struct
platform_device
*
pdev
)
{
DBGENTER
(
1
);
return
0
;
}
struct
platform_driver
apollon_panel_driver
=
{
.
probe
=
apollon_panel_probe
,
.
remove
=
apollon_panel_remove
,
.
suspend
=
apollon_panel_suspend
,
.
resume
=
apollon_panel_resume
,
.
driver
=
{
.
name
=
"apollon_lcd"
,
.
owner
=
THIS_MODULE
,
},
};
static
int
__init
apollon_panel_drv_init
(
void
)
{
return
platform_driver_register
(
&
apollon_panel_driver
);
}
static
void
__exit
apollon_panel_drv_exit
(
void
)
{
platform_driver_unregister
(
&
apollon_panel_driver
);
}
module_init
(
apollon_panel_drv_init
);
module_exit
(
apollon_panel_drv_exit
);
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