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
c06b4889
Commit
c06b4889
authored
Mar 09, 2009
by
Russell King
Committed by
Russell King
Mar 09, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'omap-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
parents
74fac66e
8ca7fe26
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
13 deletions
+12
-13
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3beagle.c
+3
-1
arch/arm/plat-omap/Makefile
arch/arm/plat-omap/Makefile
+2
-1
arch/arm/plat-omap/common.c
arch/arm/plat-omap/common.c
+5
-9
arch/arm/plat-omap/include/mach/common.h
arch/arm/plat-omap/include/mach/common.h
+1
-1
arch/arm/plat-omap/include/mach/pm.h
arch/arm/plat-omap/include/mach/pm.h
+1
-1
No files found.
arch/arm/mach-omap2/board-omap3beagle.c
View file @
c06b4889
...
@@ -178,7 +178,9 @@ static int __init omap3_beagle_i2c_init(void)
...
@@ -178,7 +178,9 @@ static int __init omap3_beagle_i2c_init(void)
#ifdef CONFIG_I2C2_OMAP_BEAGLE
#ifdef CONFIG_I2C2_OMAP_BEAGLE
omap_register_i2c_bus
(
2
,
400
,
NULL
,
0
);
omap_register_i2c_bus
(
2
,
400
,
NULL
,
0
);
#endif
#endif
omap_register_i2c_bus
(
3
,
400
,
NULL
,
0
);
/* Bus 3 is attached to the DVI port where devices like the pico DLP
* projector don't work reliably with 400kHz */
omap_register_i2c_bus
(
3
,
100
,
NULL
,
0
);
return
0
;
return
0
;
}
}
...
...
arch/arm/plat-omap/Makefile
View file @
c06b4889
...
@@ -18,7 +18,8 @@ obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
...
@@ -18,7 +18,8 @@ obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
obj-$(CONFIG_OMAP_DM_TIMER)
+=
dmtimer.o
obj-$(CONFIG_OMAP_DM_TIMER)
+=
dmtimer.o
obj-$(CONFIG_OMAP_DEBUG_DEVICES)
+=
debug-devices.o
obj-$(CONFIG_OMAP_DEBUG_DEVICES)
+=
debug-devices.o
obj-$(CONFIG_OMAP_DEBUG_LEDS)
+=
debug-leds.o
obj-$(CONFIG_OMAP_DEBUG_LEDS)
+=
debug-leds.o
obj-$(CONFIG_I2C_OMAP)
+=
i2c.o
i2c-omap-$(CONFIG_I2C_OMAP)
:=
i2c.o
obj-y
+=
$
(
i2c-omap-m
)
$
(
i2c-omap-y
)
# OMAP mailbox framework
# OMAP mailbox framework
obj-$(CONFIG_OMAP_MBOX_FWK)
+=
mailbox.o
obj-$(CONFIG_OMAP_MBOX_FWK)
+=
mailbox.o
...
...
arch/arm/plat-omap/common.c
View file @
c06b4889
...
@@ -199,21 +199,17 @@ static struct clocksource clocksource_32k = {
...
@@ -199,21 +199,17 @@ static struct clocksource clocksource_32k = {
.
flags
=
CLOCK_SOURCE_IS_CONTINUOUS
,
.
flags
=
CLOCK_SOURCE_IS_CONTINUOUS
,
};
};
/*
* Rounds down to nearest nsec.
*/
unsigned
long
long
omap_32k_ticks_to_nsecs
(
unsigned
long
ticks_32k
)
{
return
cyc2ns
(
&
clocksource_32k
,
ticks_32k
);
}
/*
/*
* Returns current time from boot in nsecs. It's OK for this to wrap
* Returns current time from boot in nsecs. It's OK for this to wrap
* around for now, as it's just a relative time stamp.
* around for now, as it's just a relative time stamp.
*/
*/
unsigned
long
long
sched_clock
(
void
)
unsigned
long
long
sched_clock
(
void
)
{
{
return
omap_32k_ticks_to_nsecs
(
omap_32k_read
());
unsigned
long
long
ret
;
ret
=
(
unsigned
long
long
)
omap_32k_read
();
ret
=
(
ret
*
clocksource_32k
.
mult_orig
)
>>
clocksource_32k
.
shift
;
return
ret
;
}
}
static
int
__init
omap_init_clocksource_32k
(
void
)
static
int
__init
omap_init_clocksource_32k
(
void
)
...
...
arch/arm/plat-omap/include/mach/common.h
View file @
c06b4889
...
@@ -35,7 +35,7 @@ extern void omap_map_common_io(void);
...
@@ -35,7 +35,7 @@ extern void omap_map_common_io(void);
extern
struct
sys_timer
omap_timer
;
extern
struct
sys_timer
omap_timer
;
extern
void
omap_serial_init
(
void
);
extern
void
omap_serial_init
(
void
);
extern
void
omap_serial_enable_clocks
(
int
enable
);
extern
void
omap_serial_enable_clocks
(
int
enable
);
#if
def CONFIG_I2C_OMAP
#if
defined(CONFIG_I2C_OMAP) || defined(CONFIG_I2C_OMAP_MODULE)
extern
int
omap_register_i2c_bus
(
int
bus_id
,
u32
clkrate
,
extern
int
omap_register_i2c_bus
(
int
bus_id
,
u32
clkrate
,
struct
i2c_board_info
const
*
info
,
struct
i2c_board_info
const
*
info
,
unsigned
len
);
unsigned
len
);
...
...
arch/arm/plat-omap/include/mach/pm.h
View file @
c06b4889
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
!defined(CONFIG_ARCH_OMAP15XX) && \
!defined(CONFIG_ARCH_OMAP15XX) && \
!defined(CONFIG_ARCH_OMAP16XX) && \
!defined(CONFIG_ARCH_OMAP16XX) && \
!defined(CONFIG_ARCH_OMAP24XX)
!defined(CONFIG_ARCH_OMAP24XX)
#
error
"Power management for this processor not implemented yet"
#
warning
"Power management for this processor not implemented yet"
#endif
#endif
#ifndef __ASSEMBLER__
#ifndef __ASSEMBLER__
...
...
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