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
Kirill Smelkov
linux
Commits
3b1fb2ff
Commit
3b1fb2ff
authored
Apr 27, 2011
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for_tony_a_2.6.39rc' of
git://git.pwsan.com/linux-2.6
into devel-fixes
parents
3f126087
f95440ca
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
45 additions
and
12 deletions
+45
-12
arch/arm/mach-omap2/clock44xx_data.c
arch/arm/mach-omap2/clock44xx_data.c
+2
-7
arch/arm/mach-omap2/cm2xxx_3xxx.c
arch/arm/mach-omap2/cm2xxx_3xxx.c
+17
-0
arch/arm/mach-omap2/control.c
arch/arm/mach-omap2/control.c
+7
-1
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2420_data.c
+5
-1
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
+6
-1
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+7
-1
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+1
-1
No files found.
arch/arm/mach-omap2/clock44xx_data.c
View file @
3b1fb2ff
...
@@ -3116,14 +3116,9 @@ static struct omap_clk omap44xx_clks[] = {
...
@@ -3116,14 +3116,9 @@ static struct omap_clk omap44xx_clks[] = {
CLK
(
NULL
,
"dsp_fck"
,
&
dsp_fck
,
CK_443X
),
CLK
(
NULL
,
"dsp_fck"
,
&
dsp_fck
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"sys_clk"
,
&
dss_sys_clk
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"sys_clk"
,
&
dss_sys_clk
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"tv_clk"
,
&
dss_tv_clk
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"tv_clk"
,
&
dss_tv_clk
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"dss_clk"
,
&
dss_dss_clk
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"video_clk"
,
&
dss_48mhz_clk
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"video_clk"
,
&
dss_48mhz_clk
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"fck"
,
&
dss_fck
,
CK_443X
),
CLK
(
"omapdss_dss"
,
"fck"
,
&
dss_dss_clk
,
CK_443X
),
/*
CLK
(
"omapdss_dss"
,
"ick"
,
&
dss_fck
,
CK_443X
),
* On OMAP4, DSS ick is a dummy clock; this is needed for compatibility
* with OMAP2/3.
*/
CLK
(
"omapdss_dss"
,
"ick"
,
&
dummy_ck
,
CK_443X
),
CLK
(
NULL
,
"efuse_ctrl_cust_fck"
,
&
efuse_ctrl_cust_fck
,
CK_443X
),
CLK
(
NULL
,
"efuse_ctrl_cust_fck"
,
&
efuse_ctrl_cust_fck
,
CK_443X
),
CLK
(
NULL
,
"emif1_fck"
,
&
emif1_fck
,
CK_443X
),
CLK
(
NULL
,
"emif1_fck"
,
&
emif1_fck
,
CK_443X
),
CLK
(
NULL
,
"emif2_fck"
,
&
emif2_fck
,
CK_443X
),
CLK
(
NULL
,
"emif2_fck"
,
&
emif2_fck
,
CK_443X
),
...
...
arch/arm/mach-omap2/cm2xxx_3xxx.c
View file @
3b1fb2ff
...
@@ -247,6 +247,7 @@ struct omap3_cm_regs {
...
@@ -247,6 +247,7 @@ struct omap3_cm_regs {
u32
per_cm_clksel
;
u32
per_cm_clksel
;
u32
emu_cm_clksel
;
u32
emu_cm_clksel
;
u32
emu_cm_clkstctrl
;
u32
emu_cm_clkstctrl
;
u32
pll_cm_autoidle
;
u32
pll_cm_autoidle2
;
u32
pll_cm_autoidle2
;
u32
pll_cm_clksel4
;
u32
pll_cm_clksel4
;
u32
pll_cm_clksel5
;
u32
pll_cm_clksel5
;
...
@@ -319,6 +320,15 @@ void omap3_cm_save_context(void)
...
@@ -319,6 +320,15 @@ void omap3_cm_save_context(void)
omap2_cm_read_mod_reg
(
OMAP3430_EMU_MOD
,
CM_CLKSEL1
);
omap2_cm_read_mod_reg
(
OMAP3430_EMU_MOD
,
CM_CLKSEL1
);
cm_context
.
emu_cm_clkstctrl
=
cm_context
.
emu_cm_clkstctrl
=
omap2_cm_read_mod_reg
(
OMAP3430_EMU_MOD
,
OMAP2_CM_CLKSTCTRL
);
omap2_cm_read_mod_reg
(
OMAP3430_EMU_MOD
,
OMAP2_CM_CLKSTCTRL
);
/*
* As per erratum i671, ROM code does not respect the PER DPLL
* programming scheme if CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL == 1.
* In this case, even though this register has been saved in
* scratchpad contents, we need to restore AUTO_PERIPH_DPLL
* by ourselves. So, we need to save it anyway.
*/
cm_context
.
pll_cm_autoidle
=
omap2_cm_read_mod_reg
(
PLL_MOD
,
CM_AUTOIDLE
);
cm_context
.
pll_cm_autoidle2
=
cm_context
.
pll_cm_autoidle2
=
omap2_cm_read_mod_reg
(
PLL_MOD
,
CM_AUTOIDLE2
);
omap2_cm_read_mod_reg
(
PLL_MOD
,
CM_AUTOIDLE2
);
cm_context
.
pll_cm_clksel4
=
cm_context
.
pll_cm_clksel4
=
...
@@ -441,6 +451,13 @@ void omap3_cm_restore_context(void)
...
@@ -441,6 +451,13 @@ void omap3_cm_restore_context(void)
CM_CLKSEL1
);
CM_CLKSEL1
);
omap2_cm_write_mod_reg
(
cm_context
.
emu_cm_clkstctrl
,
OMAP3430_EMU_MOD
,
omap2_cm_write_mod_reg
(
cm_context
.
emu_cm_clkstctrl
,
OMAP3430_EMU_MOD
,
OMAP2_CM_CLKSTCTRL
);
OMAP2_CM_CLKSTCTRL
);
/*
* As per erratum i671, ROM code does not respect the PER DPLL
* programming scheme if CM_AUTOIDLE_PLL.AUTO_PERIPH_DPLL == 1.
* In this case, we need to restore AUTO_PERIPH_DPLL by ourselves.
*/
omap2_cm_write_mod_reg
(
cm_context
.
pll_cm_autoidle
,
PLL_MOD
,
CM_AUTOIDLE
);
omap2_cm_write_mod_reg
(
cm_context
.
pll_cm_autoidle2
,
PLL_MOD
,
omap2_cm_write_mod_reg
(
cm_context
.
pll_cm_autoidle2
,
PLL_MOD
,
CM_AUTOIDLE2
);
CM_AUTOIDLE2
);
omap2_cm_write_mod_reg
(
cm_context
.
pll_cm_clksel4
,
PLL_MOD
,
omap2_cm_write_mod_reg
(
cm_context
.
pll_cm_clksel4
,
PLL_MOD
,
...
...
arch/arm/mach-omap2/control.c
View file @
3b1fb2ff
...
@@ -316,8 +316,14 @@ void omap3_save_scratchpad_contents(void)
...
@@ -316,8 +316,14 @@ void omap3_save_scratchpad_contents(void)
omap2_cm_read_mod_reg
(
WKUP_MOD
,
CM_CLKSEL
);
omap2_cm_read_mod_reg
(
WKUP_MOD
,
CM_CLKSEL
);
prcm_block_contents
.
cm_clken_pll
=
prcm_block_contents
.
cm_clken_pll
=
omap2_cm_read_mod_reg
(
PLL_MOD
,
CM_CLKEN
);
omap2_cm_read_mod_reg
(
PLL_MOD
,
CM_CLKEN
);
/*
* As per erratum i671, ROM code does not respect the PER DPLL
* programming scheme if CM_AUTOIDLE_PLL..AUTO_PERIPH_DPLL == 1.
* Then, in anycase, clear these bits to avoid extra latencies.
*/
prcm_block_contents
.
cm_autoidle_pll
=
prcm_block_contents
.
cm_autoidle_pll
=
omap2_cm_read_mod_reg
(
PLL_MOD
,
OMAP3430_CM_AUTOIDLE_PLL
);
omap2_cm_read_mod_reg
(
PLL_MOD
,
CM_AUTOIDLE
)
&
~
OMAP3430_AUTO_PERIPH_DPLL_MASK
;
prcm_block_contents
.
cm_clksel1_pll
=
prcm_block_contents
.
cm_clksel1_pll
=
omap2_cm_read_mod_reg
(
PLL_MOD
,
OMAP3430_CM_CLKSEL1_PLL
);
omap2_cm_read_mod_reg
(
PLL_MOD
,
OMAP3430_CM_CLKSEL1_PLL
);
prcm_block_contents
.
cm_clksel2_pll
=
prcm_block_contents
.
cm_clksel2_pll
=
...
...
arch/arm/mach-omap2/omap_hwmod_2420_data.c
View file @
3b1fb2ff
...
@@ -1639,6 +1639,7 @@ static struct omap_hwmod_ocp_if *omap2420_gpio1_slaves[] = {
...
@@ -1639,6 +1639,7 @@ static struct omap_hwmod_ocp_if *omap2420_gpio1_slaves[] = {
static
struct
omap_hwmod
omap2420_gpio1_hwmod
=
{
static
struct
omap_hwmod
omap2420_gpio1_hwmod
=
{
.
name
=
"gpio1"
,
.
name
=
"gpio1"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap242x_gpio1_irqs
,
.
mpu_irqs
=
omap242x_gpio1_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap242x_gpio1_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap242x_gpio1_irqs
),
.
main_clk
=
"gpios_fck"
,
.
main_clk
=
"gpios_fck"
,
...
@@ -1669,6 +1670,7 @@ static struct omap_hwmod_ocp_if *omap2420_gpio2_slaves[] = {
...
@@ -1669,6 +1670,7 @@ static struct omap_hwmod_ocp_if *omap2420_gpio2_slaves[] = {
static
struct
omap_hwmod
omap2420_gpio2_hwmod
=
{
static
struct
omap_hwmod
omap2420_gpio2_hwmod
=
{
.
name
=
"gpio2"
,
.
name
=
"gpio2"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap242x_gpio2_irqs
,
.
mpu_irqs
=
omap242x_gpio2_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap242x_gpio2_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap242x_gpio2_irqs
),
.
main_clk
=
"gpios_fck"
,
.
main_clk
=
"gpios_fck"
,
...
@@ -1699,6 +1701,7 @@ static struct omap_hwmod_ocp_if *omap2420_gpio3_slaves[] = {
...
@@ -1699,6 +1701,7 @@ static struct omap_hwmod_ocp_if *omap2420_gpio3_slaves[] = {
static
struct
omap_hwmod
omap2420_gpio3_hwmod
=
{
static
struct
omap_hwmod
omap2420_gpio3_hwmod
=
{
.
name
=
"gpio3"
,
.
name
=
"gpio3"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap242x_gpio3_irqs
,
.
mpu_irqs
=
omap242x_gpio3_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap242x_gpio3_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap242x_gpio3_irqs
),
.
main_clk
=
"gpios_fck"
,
.
main_clk
=
"gpios_fck"
,
...
@@ -1729,6 +1732,7 @@ static struct omap_hwmod_ocp_if *omap2420_gpio4_slaves[] = {
...
@@ -1729,6 +1732,7 @@ static struct omap_hwmod_ocp_if *omap2420_gpio4_slaves[] = {
static
struct
omap_hwmod
omap2420_gpio4_hwmod
=
{
static
struct
omap_hwmod
omap2420_gpio4_hwmod
=
{
.
name
=
"gpio4"
,
.
name
=
"gpio4"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap242x_gpio4_irqs
,
.
mpu_irqs
=
omap242x_gpio4_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap242x_gpio4_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap242x_gpio4_irqs
),
.
main_clk
=
"gpios_fck"
,
.
main_clk
=
"gpios_fck"
,
...
@@ -1782,7 +1786,7 @@ static struct omap_hwmod_irq_info omap2420_dma_system_irqs[] = {
...
@@ -1782,7 +1786,7 @@ static struct omap_hwmod_irq_info omap2420_dma_system_irqs[] = {
static
struct
omap_hwmod_addr_space
omap2420_dma_system_addrs
[]
=
{
static
struct
omap_hwmod_addr_space
omap2420_dma_system_addrs
[]
=
{
{
{
.
pa_start
=
0x48056000
,
.
pa_start
=
0x48056000
,
.
pa_end
=
0x4
a0560
ff
,
.
pa_end
=
0x4
8056f
ff
,
.
flags
=
ADDR_TYPE_RT
.
flags
=
ADDR_TYPE_RT
},
},
};
};
...
...
arch/arm/mach-omap2/omap_hwmod_2430_data.c
View file @
3b1fb2ff
...
@@ -1742,6 +1742,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio1_slaves[] = {
...
@@ -1742,6 +1742,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio1_slaves[] = {
static
struct
omap_hwmod
omap2430_gpio1_hwmod
=
{
static
struct
omap_hwmod
omap2430_gpio1_hwmod
=
{
.
name
=
"gpio1"
,
.
name
=
"gpio1"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap243x_gpio1_irqs
,
.
mpu_irqs
=
omap243x_gpio1_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio1_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio1_irqs
),
.
main_clk
=
"gpios_fck"
,
.
main_clk
=
"gpios_fck"
,
...
@@ -1772,6 +1773,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio2_slaves[] = {
...
@@ -1772,6 +1773,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio2_slaves[] = {
static
struct
omap_hwmod
omap2430_gpio2_hwmod
=
{
static
struct
omap_hwmod
omap2430_gpio2_hwmod
=
{
.
name
=
"gpio2"
,
.
name
=
"gpio2"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap243x_gpio2_irqs
,
.
mpu_irqs
=
omap243x_gpio2_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio2_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio2_irqs
),
.
main_clk
=
"gpios_fck"
,
.
main_clk
=
"gpios_fck"
,
...
@@ -1802,6 +1804,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio3_slaves[] = {
...
@@ -1802,6 +1804,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio3_slaves[] = {
static
struct
omap_hwmod
omap2430_gpio3_hwmod
=
{
static
struct
omap_hwmod
omap2430_gpio3_hwmod
=
{
.
name
=
"gpio3"
,
.
name
=
"gpio3"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap243x_gpio3_irqs
,
.
mpu_irqs
=
omap243x_gpio3_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio3_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio3_irqs
),
.
main_clk
=
"gpios_fck"
,
.
main_clk
=
"gpios_fck"
,
...
@@ -1832,6 +1835,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio4_slaves[] = {
...
@@ -1832,6 +1835,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio4_slaves[] = {
static
struct
omap_hwmod
omap2430_gpio4_hwmod
=
{
static
struct
omap_hwmod
omap2430_gpio4_hwmod
=
{
.
name
=
"gpio4"
,
.
name
=
"gpio4"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap243x_gpio4_irqs
,
.
mpu_irqs
=
omap243x_gpio4_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio4_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio4_irqs
),
.
main_clk
=
"gpios_fck"
,
.
main_clk
=
"gpios_fck"
,
...
@@ -1862,6 +1866,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio5_slaves[] = {
...
@@ -1862,6 +1866,7 @@ static struct omap_hwmod_ocp_if *omap2430_gpio5_slaves[] = {
static
struct
omap_hwmod
omap2430_gpio5_hwmod
=
{
static
struct
omap_hwmod
omap2430_gpio5_hwmod
=
{
.
name
=
"gpio5"
,
.
name
=
"gpio5"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap243x_gpio5_irqs
,
.
mpu_irqs
=
omap243x_gpio5_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio5_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap243x_gpio5_irqs
),
.
main_clk
=
"gpio5_fck"
,
.
main_clk
=
"gpio5_fck"
,
...
@@ -1915,7 +1920,7 @@ static struct omap_hwmod_irq_info omap2430_dma_system_irqs[] = {
...
@@ -1915,7 +1920,7 @@ static struct omap_hwmod_irq_info omap2430_dma_system_irqs[] = {
static
struct
omap_hwmod_addr_space
omap2430_dma_system_addrs
[]
=
{
static
struct
omap_hwmod_addr_space
omap2430_dma_system_addrs
[]
=
{
{
{
.
pa_start
=
0x48056000
,
.
pa_start
=
0x48056000
,
.
pa_end
=
0x4
a0560
ff
,
.
pa_end
=
0x4
8056f
ff
,
.
flags
=
ADDR_TYPE_RT
.
flags
=
ADDR_TYPE_RT
},
},
};
};
...
...
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
View file @
3b1fb2ff
...
@@ -2141,6 +2141,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio1_slaves[] = {
...
@@ -2141,6 +2141,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio1_slaves[] = {
static
struct
omap_hwmod
omap3xxx_gpio1_hwmod
=
{
static
struct
omap_hwmod
omap3xxx_gpio1_hwmod
=
{
.
name
=
"gpio1"
,
.
name
=
"gpio1"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap3xxx_gpio1_irqs
,
.
mpu_irqs
=
omap3xxx_gpio1_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio1_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio1_irqs
),
.
main_clk
=
"gpio1_ick"
,
.
main_clk
=
"gpio1_ick"
,
...
@@ -2177,6 +2178,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio2_slaves[] = {
...
@@ -2177,6 +2178,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio2_slaves[] = {
static
struct
omap_hwmod
omap3xxx_gpio2_hwmod
=
{
static
struct
omap_hwmod
omap3xxx_gpio2_hwmod
=
{
.
name
=
"gpio2"
,
.
name
=
"gpio2"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap3xxx_gpio2_irqs
,
.
mpu_irqs
=
omap3xxx_gpio2_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio2_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio2_irqs
),
.
main_clk
=
"gpio2_ick"
,
.
main_clk
=
"gpio2_ick"
,
...
@@ -2213,6 +2215,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio3_slaves[] = {
...
@@ -2213,6 +2215,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio3_slaves[] = {
static
struct
omap_hwmod
omap3xxx_gpio3_hwmod
=
{
static
struct
omap_hwmod
omap3xxx_gpio3_hwmod
=
{
.
name
=
"gpio3"
,
.
name
=
"gpio3"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap3xxx_gpio3_irqs
,
.
mpu_irqs
=
omap3xxx_gpio3_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio3_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio3_irqs
),
.
main_clk
=
"gpio3_ick"
,
.
main_clk
=
"gpio3_ick"
,
...
@@ -2249,6 +2252,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio4_slaves[] = {
...
@@ -2249,6 +2252,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio4_slaves[] = {
static
struct
omap_hwmod
omap3xxx_gpio4_hwmod
=
{
static
struct
omap_hwmod
omap3xxx_gpio4_hwmod
=
{
.
name
=
"gpio4"
,
.
name
=
"gpio4"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap3xxx_gpio4_irqs
,
.
mpu_irqs
=
omap3xxx_gpio4_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio4_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio4_irqs
),
.
main_clk
=
"gpio4_ick"
,
.
main_clk
=
"gpio4_ick"
,
...
@@ -2285,6 +2289,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio5_slaves[] = {
...
@@ -2285,6 +2289,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio5_slaves[] = {
static
struct
omap_hwmod
omap3xxx_gpio5_hwmod
=
{
static
struct
omap_hwmod
omap3xxx_gpio5_hwmod
=
{
.
name
=
"gpio5"
,
.
name
=
"gpio5"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap3xxx_gpio5_irqs
,
.
mpu_irqs
=
omap3xxx_gpio5_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio5_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio5_irqs
),
.
main_clk
=
"gpio5_ick"
,
.
main_clk
=
"gpio5_ick"
,
...
@@ -2321,6 +2326,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio6_slaves[] = {
...
@@ -2321,6 +2326,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_gpio6_slaves[] = {
static
struct
omap_hwmod
omap3xxx_gpio6_hwmod
=
{
static
struct
omap_hwmod
omap3xxx_gpio6_hwmod
=
{
.
name
=
"gpio6"
,
.
name
=
"gpio6"
,
.
flags
=
HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
.
mpu_irqs
=
omap3xxx_gpio6_irqs
,
.
mpu_irqs
=
omap3xxx_gpio6_irqs
,
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio6_irqs
),
.
mpu_irqs_cnt
=
ARRAY_SIZE
(
omap3xxx_gpio6_irqs
),
.
main_clk
=
"gpio6_ick"
,
.
main_clk
=
"gpio6_ick"
,
...
@@ -2386,7 +2392,7 @@ static struct omap_hwmod_irq_info omap3xxx_dma_system_irqs[] = {
...
@@ -2386,7 +2392,7 @@ static struct omap_hwmod_irq_info omap3xxx_dma_system_irqs[] = {
static
struct
omap_hwmod_addr_space
omap3xxx_dma_system_addrs
[]
=
{
static
struct
omap_hwmod_addr_space
omap3xxx_dma_system_addrs
[]
=
{
{
{
.
pa_start
=
0x48056000
,
.
pa_start
=
0x48056000
,
.
pa_end
=
0x4
a0560
ff
,
.
pa_end
=
0x4
8056f
ff
,
.
flags
=
ADDR_TYPE_RT
.
flags
=
ADDR_TYPE_RT
},
},
};
};
...
...
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
View file @
3b1fb2ff
...
@@ -885,7 +885,7 @@ static struct omap_hwmod_ocp_if *omap44xx_dma_system_masters[] = {
...
@@ -885,7 +885,7 @@ static struct omap_hwmod_ocp_if *omap44xx_dma_system_masters[] = {
static
struct
omap_hwmod_addr_space
omap44xx_dma_system_addrs
[]
=
{
static
struct
omap_hwmod_addr_space
omap44xx_dma_system_addrs
[]
=
{
{
{
.
pa_start
=
0x4a056000
,
.
pa_start
=
0x4a056000
,
.
pa_end
=
0x4a056
0
ff
,
.
pa_end
=
0x4a056
f
ff
,
.
flags
=
ADDR_TYPE_RT
.
flags
=
ADDR_TYPE_RT
},
},
};
};
...
...
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