Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
808601b7
Commit
808601b7
authored
Dec 22, 2010
by
Tony Lindgren
Browse files
Merge branch 'integration-2.6.38-for-tony' of
git://git.pwsan.com/linux-2.6
into omap-for-linus
parents
c10abbb2
f17f9726
Changes
131
Hide whitespace changes
Inline
Side-by-side
arch/arm/mach-omap1/clock_data.c
View file @
808601b7
...
...
@@ -823,12 +823,10 @@ int __init omap1_clk_init(void)
crystal_type
=
info
->
system_clock_type
;
}
#if defined(CONFIG_ARCH_OMAP730) || defined(CONFIG_ARCH_OMAP850)
ck_ref
.
rate
=
13000000
;
#elif defined(CONFIG_ARCH_OMAP16XX)
if
(
crystal_type
==
2
)
if
(
cpu_is_omap7xx
())
ck_ref
.
rate
=
13000000
;
if
(
cpu_is_omap16xx
()
&&
crystal_type
==
2
)
ck_ref
.
rate
=
19200000
;
#endif
pr_info
(
"Clocks: ARM_SYSST: 0x%04x DPLL_CTL: 0x%04x ARM_CKCTL: "
"0x%04x
\n
"
,
omap_readw
(
ARM_SYSST
),
omap_readw
(
DPLL_CTL
),
...
...
@@ -883,10 +881,11 @@ int __init omap1_clk_init(void)
ck_dpll1
.
rate
/
1000000
,
(
ck_dpll1
.
rate
/
100000
)
%
10
,
arm_ck
.
rate
/
1000000
,
(
arm_ck
.
rate
/
100000
)
%
10
);
#if defined(CONFIG_MACH_OMAP_PERSEUS2) || defined(CONFIG_MACH_OMAP_FSAMPLE)
/* Select slicer output as OMAP input clock */
omap_writew
(
omap_readw
(
OMAP7XX_PCC_UPLD_CTRL
)
&
~
0x1
,
OMAP7XX_PCC_UPLD_CTRL
);
#endif
if
(
machine_is_omap_perseus2
()
||
machine_is_omap_fsample
())
{
/* Select slicer output as OMAP input clock */
omap_writew
(
omap_readw
(
OMAP7XX_PCC_UPLD_CTRL
)
&
~
0x1
,
OMAP7XX_PCC_UPLD_CTRL
);
}
/* Amstrad Delta wants BCLK high when inactive */
if
(
machine_is_ams_delta
())
...
...
arch/arm/mach-omap2/Makefile
View file @
808601b7
...
...
@@ -4,19 +4,17 @@
# Common support
obj-y
:=
id.o io.o control.o mux.o devices.o serial.o gpmc.o timer-gp.o pm.o
\
common.o gpio.o dma.o
common.o gpio.o dma.o
wd_timer.o
omap-2-3-common
=
irq.o sdrc.o
prm2xxx_3xxx.o
omap-2-3-common
=
irq.o sdrc.o
hwmod-common
=
omap_hwmod.o
\
omap_hwmod_common_data.o
prcm-common
=
prcm.o powerdomain.o
clock-common
=
clock.o clock_common_data.o
\
clockdomain.o clkt_dpll.o
\
clkt_clksel.o
clkt_dpll.o clkt_clksel.o
obj-$(CONFIG_ARCH_OMAP2)
+=
$
(
omap-2-3-common
)
$
(
prcm-common
)
$
(
hwmod-common
)
obj-$(CONFIG_ARCH_OMAP3)
+=
$
(
omap-2-3-common
)
$
(
prcm-common
)
$
(
hwmod-common
)
obj-$(CONFIG_ARCH_OMAP4)
+=
$
(
prcm-common
)
prm44xx.o
$
(
hwmod-common
)
obj-$(CONFIG_ARCH_OMAP2)
+=
$
(
omap-2-3-common
)
$
(
hwmod-common
)
obj-$(CONFIG_ARCH_OMAP3)
+=
$
(
omap-2-3-common
)
$
(
hwmod-common
)
obj-$(CONFIG_ARCH_OMAP4)
+=
prm44xx.o
$
(
hwmod-common
)
obj-$(CONFIG_OMAP_MCBSP)
+=
mcbsp.o
...
...
@@ -74,10 +72,36 @@ endif
endif
# PRCM
obj-$(CONFIG_ARCH_OMAP2)
+=
cm.o
obj-$(CONFIG_ARCH_OMAP3)
+=
cm.o
obj-$(CONFIG_ARCH_OMAP4)
+=
cm4xxx.o
obj-$(CONFIG_ARCH_OMAP2)
+=
prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
obj-$(CONFIG_ARCH_OMAP3)
+=
prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o
# XXX The presence of cm2xxx_3xxx.o on the line below is temporary and
# will be removed once the OMAP4 part of the codebase is converted to
# use OMAP4-specific PRCM functions.
obj-$(CONFIG_ARCH_OMAP4)
+=
prcm.o cm2xxx_3xxx.o cminst44xx.o
\
cm44xx.o prcm_mpu44xx.o
\
prminst44xx.o
# OMAP powerdomain framework
powerdomain-common
+=
powerdomain.o powerdomain-common.o
obj-$(CONFIG_ARCH_OMAP2)
+=
$
(
powerdomain-common
)
\
powerdomain2xxx_3xxx.o
\
powerdomains2xxx_data.o
\
powerdomains2xxx_3xxx_data.o
obj-$(CONFIG_ARCH_OMAP3)
+=
$
(
powerdomain-common
)
\
powerdomain2xxx_3xxx.o
\
powerdomains3xxx_data.o
\
powerdomains2xxx_3xxx_data.o
obj-$(CONFIG_ARCH_OMAP4)
+=
$
(
powerdomain-common
)
\
powerdomain44xx.o
\
powerdomains44xx_data.o
# PRCM clockdomain control
obj-$(CONFIG_ARCH_OMAP2)
+=
clockdomain.o
\
clockdomains2xxx_3xxx_data.o
obj-$(CONFIG_ARCH_OMAP3)
+=
clockdomain.o
\
clockdomains2xxx_3xxx_data.o
obj-$(CONFIG_ARCH_OMAP4)
+=
clockdomain.o
\
clockdomains44xx_data.o
# Clock framework
obj-$(CONFIG_ARCH_OMAP2)
+=
$
(
clock-common
)
clock2xxx.o
\
clkt2xxx_sys.o
\
...
...
arch/arm/mach-omap2/board-2430sdp.c
View file @
808601b7
...
...
@@ -143,7 +143,8 @@ static void __init omap_2430sdp_init_irq(void)
{
omap_board_config
=
sdp2430_config
;
omap_board_config_size
=
ARRAY_SIZE
(
sdp2430_config
);
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-3430sdp.c
View file @
808601b7
...
...
@@ -326,7 +326,8 @@ static void __init omap_3430sdp_init_irq(void)
omap_board_config
=
sdp3430_config
;
omap_board_config_size
=
ARRAY_SIZE
(
sdp3430_config
);
omap3_pm_init_cpuidle
(
omap3_cpuidle_params_table
);
omap2_init_common_hw
(
hyb18m512160af6_sdrc_params
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
hyb18m512160af6_sdrc_params
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-3630sdp.c
View file @
808601b7
...
...
@@ -73,8 +73,9 @@ static void __init omap_sdp_init_irq(void)
{
omap_board_config
=
sdp_config
;
omap_board_config_size
=
ARRAY_SIZE
(
sdp_config
);
omap2_init_common_hw
(
h8mbx00u0mer0em_sdrc_params
,
h8mbx00u0mer0em_sdrc_params
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
h8mbx00u0mer0em_sdrc_params
,
h8mbx00u0mer0em_sdrc_params
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-4430sdp.c
View file @
808601b7
...
...
@@ -242,7 +242,8 @@ static void __init omap_4430sdp_init_irq(void)
{
omap_board_config
=
sdp4430_config
;
omap_board_config_size
=
ARRAY_SIZE
(
sdp4430_config
);
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
#ifdef CONFIG_OMAP_32K_TIMER
omap2_gp_clockevent_set_gptimer
(
1
);
#endif
...
...
arch/arm/mach-omap2/board-am3517crane.c
View file @
808601b7
...
...
@@ -47,7 +47,8 @@ static void __init am3517_crane_init_irq(void)
omap_board_config
=
am3517_crane_config
;
omap_board_config_size
=
ARRAY_SIZE
(
am3517_crane_config
);
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-am3517evm.c
View file @
808601b7
...
...
@@ -389,8 +389,8 @@ static void __init am3517_evm_init_irq(void)
{
omap_board_config
=
am3517_evm_config
;
omap_board_config_size
=
ARRAY_SIZE
(
am3517_evm_config
);
omap2_init_common_
hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_
devices
(
NULL
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-apollon.c
View file @
808601b7
...
...
@@ -278,7 +278,8 @@ static void __init omap_apollon_init_irq(void)
{
omap_board_config
=
apollon_config
;
omap_board_config_size
=
ARRAY_SIZE
(
apollon_config
);
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-cm-t35.c
View file @
808601b7
...
...
@@ -677,7 +677,8 @@ static void __init cm_t35_init_irq(void)
omap_board_config
=
cm_t35_config
;
omap_board_config_size
=
ARRAY_SIZE
(
cm_t35_config
);
omap2_init_common_hw
(
mt46h32m32lf6_sdrc_params
,
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
mt46h32m32lf6_sdrc_params
,
mt46h32m32lf6_sdrc_params
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-cm-t3517.c
View file @
808601b7
...
...
@@ -248,7 +248,8 @@ static void __init cm_t3517_init_irq(void)
omap_board_config
=
cm_t3517_config
;
omap_board_config_size
=
ARRAY_SIZE
(
cm_t3517_config
);
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-devkit8000.c
View file @
808601b7
...
...
@@ -444,8 +444,9 @@ static struct platform_device keys_gpio = {
static
void
__init
devkit8000_init_irq
(
void
)
{
omap2_init_common_hw
(
mt46h32m32lf6_sdrc_params
,
mt46h32m32lf6_sdrc_params
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
mt46h32m32lf6_sdrc_params
,
mt46h32m32lf6_sdrc_params
);
omap_init_irq
();
#ifdef CONFIG_OMAP_32K_TIMER
omap2_gp_clockevent_set_gptimer
(
12
);
...
...
arch/arm/mach-omap2/board-generic.c
View file @
808601b7
...
...
@@ -37,7 +37,8 @@ static void __init omap_generic_init_irq(void)
{
omap_board_config
=
generic_config
;
omap_board_config_size
=
ARRAY_SIZE
(
generic_config
);
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-h4.c
View file @
808601b7
...
...
@@ -294,7 +294,8 @@ static void __init omap_h4_init_irq(void)
{
omap_board_config
=
h4_config
;
omap_board_config_size
=
ARRAY_SIZE
(
h4_config
);
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
omap_init_irq
();
h4_init_flash
();
}
...
...
arch/arm/mach-omap2/board-igep0020.c
View file @
808601b7
...
...
@@ -520,7 +520,9 @@ static struct platform_device *igep2_devices[] __initdata = {
static
void
__init
igep2_init_irq
(
void
)
{
omap2_init_common_hw
(
m65kxxxxam_sdrc_params
,
m65kxxxxam_sdrc_params
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
m65kxxxxam_sdrc_params
,
m65kxxxxam_sdrc_params
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-igep0030.c
View file @
808601b7
...
...
@@ -289,7 +289,9 @@ static struct twl4030_usb_data igep3_twl4030_usb_data = {
static
void
__init
igep3_init_irq
(
void
)
{
omap2_init_common_hw
(
m65kxxxxam_sdrc_params
,
m65kxxxxam_sdrc_params
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
m65kxxxxam_sdrc_params
,
m65kxxxxam_sdrc_params
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-ldp.c
View file @
808601b7
...
...
@@ -292,7 +292,8 @@ static void __init omap_ldp_init_irq(void)
{
omap_board_config
=
ldp_config
;
omap_board_config_size
=
ARRAY_SIZE
(
ldp_config
);
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-n8x0.c
View file @
808601b7
...
...
@@ -631,7 +631,8 @@ static void __init n8x0_map_io(void)
static
void
__init
n8x0_init_irq
(
void
)
{
omap2_init_common_hw
(
NULL
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
NULL
,
NULL
);
omap_init_irq
();
}
...
...
arch/arm/mach-omap2/board-omap3beagle.c
View file @
808601b7
...
...
@@ -484,8 +484,9 @@ static struct platform_device keys_gpio = {
static
void
__init
omap3_beagle_init_irq
(
void
)
{
omap2_init_common_hw
(
mt46h32m32lf6_sdrc_params
,
mt46h32m32lf6_sdrc_params
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
mt46h32m32lf6_sdrc_params
,
mt46h32m32lf6_sdrc_params
);
omap_init_irq
();
#ifdef CONFIG_OMAP_32K_TIMER
omap2_gp_clockevent_set_gptimer
(
12
);
...
...
arch/arm/mach-omap2/board-omap3evm.c
View file @
808601b7
...
...
@@ -623,7 +623,8 @@ static void __init omap3_evm_init_irq(void)
{
omap_board_config
=
omap3_evm_config
;
omap_board_config_size
=
ARRAY_SIZE
(
omap3_evm_config
);
omap2_init_common_hw
(
mt46h32m32lf6_sdrc_params
,
NULL
);
omap2_init_common_infrastructure
();
omap2_init_common_devices
(
mt46h32m32lf6_sdrc_params
,
NULL
);
omap_init_irq
();
}
...
...
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Supports
Markdown
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