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
cd3a2ba0
Commit
cd3a2ba0
authored
Jan 26, 2012
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'omap_fixes_a_3.3rc' of
git://git.pwsan.com/linux-2.6
into fixes
parents
14ea9601
1d2f56c8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
75 additions
and
29 deletions
+75
-29
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/io.c
+3
-1
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
+0
-21
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
+22
-0
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+47
-7
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+2
-0
arch/arm/mach-omap2/prm2xxx_3xxx.c
arch/arm/mach-omap2/prm2xxx_3xxx.c
+1
-0
No files found.
arch/arm/mach-omap2/io.c
View file @
cd3a2ba0
...
@@ -388,7 +388,7 @@ static void __init omap_hwmod_init_postsetup(void)
...
@@ -388,7 +388,7 @@ static void __init omap_hwmod_init_postsetup(void)
omap_pm_if_early_init
();
omap_pm_if_early_init
();
}
}
#ifdef CONFIG_
ARCH_OMAP2
#ifdef CONFIG_
SOC_OMAP2420
void
__init
omap2420_init_early
(
void
)
void
__init
omap2420_init_early
(
void
)
{
{
omap2_set_globals_242x
();
omap2_set_globals_242x
();
...
@@ -400,7 +400,9 @@ void __init omap2420_init_early(void)
...
@@ -400,7 +400,9 @@ void __init omap2420_init_early(void)
omap_hwmod_init_postsetup
();
omap_hwmod_init_postsetup
();
omap2420_clk_init
();
omap2420_clk_init
();
}
}
#endif
#ifdef CONFIG_SOC_OMAP2430
void
__init
omap2430_init_early
(
void
)
void
__init
omap2430_init_early
(
void
)
{
{
omap2_set_globals_243x
();
omap2_set_globals_243x
();
...
...
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
View file @
cd3a2ba0
...
@@ -55,27 +55,6 @@ struct omap_hwmod_class omap2_dss_hwmod_class = {
...
@@ -55,27 +55,6 @@ struct omap_hwmod_class omap2_dss_hwmod_class = {
.
reset
=
omap_dss_reset
,
.
reset
=
omap_dss_reset
,
};
};
/*
* 'dispc' class
* display controller
*/
static
struct
omap_hwmod_class_sysconfig
omap2_dispc_sysc
=
{
.
rev_offs
=
0x0000
,
.
sysc_offs
=
0x0010
,
.
syss_offs
=
0x0014
,
.
sysc_flags
=
(
SYSC_HAS_SIDLEMODE
|
SYSC_HAS_MIDLEMODE
|
SYSC_HAS_SOFTRESET
|
SYSC_HAS_AUTOIDLE
),
.
idlemodes
=
(
SIDLE_FORCE
|
SIDLE_NO
|
SIDLE_SMART
|
MSTANDBY_FORCE
|
MSTANDBY_NO
|
MSTANDBY_SMART
),
.
sysc_fields
=
&
omap_hwmod_sysc_type1
,
};
struct
omap_hwmod_class
omap2_dispc_hwmod_class
=
{
.
name
=
"dispc"
,
.
sysc
=
&
omap2_dispc_sysc
,
};
/*
/*
* 'rfbi' class
* 'rfbi' class
* remote frame buffer interface
* remote frame buffer interface
...
...
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
View file @
cd3a2ba0
...
@@ -28,6 +28,28 @@ struct omap_hwmod_dma_info omap2xxx_dss_sdma_chs[] = {
...
@@ -28,6 +28,28 @@ struct omap_hwmod_dma_info omap2xxx_dss_sdma_chs[] = {
{
.
name
=
"dispc"
,
.
dma_req
=
5
},
{
.
name
=
"dispc"
,
.
dma_req
=
5
},
{
.
dma_req
=
-
1
}
{
.
dma_req
=
-
1
}
};
};
/*
* 'dispc' class
* display controller
*/
static
struct
omap_hwmod_class_sysconfig
omap2_dispc_sysc
=
{
.
rev_offs
=
0x0000
,
.
sysc_offs
=
0x0010
,
.
syss_offs
=
0x0014
,
.
sysc_flags
=
(
SYSC_HAS_SIDLEMODE
|
SYSC_HAS_MIDLEMODE
|
SYSC_HAS_SOFTRESET
|
SYSC_HAS_AUTOIDLE
),
.
idlemodes
=
(
SIDLE_FORCE
|
SIDLE_NO
|
SIDLE_SMART
|
MSTANDBY_FORCE
|
MSTANDBY_NO
|
MSTANDBY_SMART
),
.
sysc_fields
=
&
omap_hwmod_sysc_type1
,
};
struct
omap_hwmod_class
omap2_dispc_hwmod_class
=
{
.
name
=
"dispc"
,
.
sysc
=
&
omap2_dispc_sysc
,
};
/* OMAP2xxx Timer Common */
/* OMAP2xxx Timer Common */
static
struct
omap_hwmod_class_sysconfig
omap2xxx_timer_sysc
=
{
static
struct
omap_hwmod_class_sysconfig
omap2xxx_timer_sysc
=
{
.
rev_offs
=
0x0000
,
.
rev_offs
=
0x0000
,
...
...
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
View file @
cd3a2ba0
...
@@ -1480,6 +1480,28 @@ static struct omap_hwmod omap3xxx_dss_core_hwmod = {
...
@@ -1480,6 +1480,28 @@ static struct omap_hwmod omap3xxx_dss_core_hwmod = {
.
masters_cnt
=
ARRAY_SIZE
(
omap3xxx_dss_masters
),
.
masters_cnt
=
ARRAY_SIZE
(
omap3xxx_dss_masters
),
};
};
/*
* 'dispc' class
* display controller
*/
static
struct
omap_hwmod_class_sysconfig
omap3_dispc_sysc
=
{
.
rev_offs
=
0x0000
,
.
sysc_offs
=
0x0010
,
.
syss_offs
=
0x0014
,
.
sysc_flags
=
(
SYSC_HAS_SIDLEMODE
|
SYSC_HAS_MIDLEMODE
|
SYSC_HAS_SOFTRESET
|
SYSC_HAS_AUTOIDLE
|
SYSC_HAS_ENAWAKEUP
),
.
idlemodes
=
(
SIDLE_FORCE
|
SIDLE_NO
|
SIDLE_SMART
|
MSTANDBY_FORCE
|
MSTANDBY_NO
|
MSTANDBY_SMART
),
.
sysc_fields
=
&
omap_hwmod_sysc_type1
,
};
static
struct
omap_hwmod_class
omap3_dispc_hwmod_class
=
{
.
name
=
"dispc"
,
.
sysc
=
&
omap3_dispc_sysc
,
};
/* l4_core -> dss_dispc */
/* l4_core -> dss_dispc */
static
struct
omap_hwmod_ocp_if
omap3xxx_l4_core__dss_dispc
=
{
static
struct
omap_hwmod_ocp_if
omap3xxx_l4_core__dss_dispc
=
{
.
master
=
&
omap3xxx_l4_core_hwmod
,
.
master
=
&
omap3xxx_l4_core_hwmod
,
...
@@ -1503,7 +1525,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_dss_dispc_slaves[] = {
...
@@ -1503,7 +1525,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_dss_dispc_slaves[] = {
static
struct
omap_hwmod
omap3xxx_dss_dispc_hwmod
=
{
static
struct
omap_hwmod
omap3xxx_dss_dispc_hwmod
=
{
.
name
=
"dss_dispc"
,
.
name
=
"dss_dispc"
,
.
class
=
&
omap
2
_dispc_hwmod_class
,
.
class
=
&
omap
3
_dispc_hwmod_class
,
.
mpu_irqs
=
omap2_dispc_irqs
,
.
mpu_irqs
=
omap2_dispc_irqs
,
.
main_clk
=
"dss1_alwon_fck"
,
.
main_clk
=
"dss1_alwon_fck"
,
.
prcm
=
{
.
prcm
=
{
...
@@ -3523,12 +3545,6 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
...
@@ -3523,12 +3545,6 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
&
omap3xxx_uart2_hwmod
,
&
omap3xxx_uart2_hwmod
,
&
omap3xxx_uart3_hwmod
,
&
omap3xxx_uart3_hwmod
,
/* dss class */
&
omap3xxx_dss_dispc_hwmod
,
&
omap3xxx_dss_dsi1_hwmod
,
&
omap3xxx_dss_rfbi_hwmod
,
&
omap3xxx_dss_venc_hwmod
,
/* i2c class */
/* i2c class */
&
omap3xxx_i2c1_hwmod
,
&
omap3xxx_i2c1_hwmod
,
&
omap3xxx_i2c2_hwmod
,
&
omap3xxx_i2c2_hwmod
,
...
@@ -3635,6 +3651,15 @@ static __initdata struct omap_hwmod *am35xx_hwmods[] = {
...
@@ -3635,6 +3651,15 @@ static __initdata struct omap_hwmod *am35xx_hwmods[] = {
NULL
NULL
};
};
static
__initdata
struct
omap_hwmod
*
omap3xxx_dss_hwmods
[]
=
{
/* dss class */
&
omap3xxx_dss_dispc_hwmod
,
&
omap3xxx_dss_dsi1_hwmod
,
&
omap3xxx_dss_rfbi_hwmod
,
&
omap3xxx_dss_venc_hwmod
,
NULL
};
int
__init
omap3xxx_hwmod_init
(
void
)
int
__init
omap3xxx_hwmod_init
(
void
)
{
{
int
r
;
int
r
;
...
@@ -3708,6 +3733,21 @@ int __init omap3xxx_hwmod_init(void)
...
@@ -3708,6 +3733,21 @@ int __init omap3xxx_hwmod_init(void)
if
(
h
)
if
(
h
)
r
=
omap_hwmod_register
(
h
);
r
=
omap_hwmod_register
(
h
);
if
(
r
<
0
)
return
r
;
/*
* DSS code presumes that dss_core hwmod is handled first,
* _before_ any other DSS related hwmods so register common
* DSS hwmods last to ensure that dss_core is already registered.
* Otherwise some change things may happen, for ex. if dispc
* is handled before dss_core and DSS is enabled in bootloader
* DIPSC will be reset with outputs enabled which sometimes leads
* to unrecoverable L3 error.
* XXX The long-term fix to this is to ensure modules are set up
* in dependency order in the hwmod core code.
*/
r
=
omap_hwmod_register
(
omap3xxx_dss_hwmods
);
return
r
;
return
r
;
}
}
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
View file @
cd3a2ba0
...
@@ -1031,6 +1031,7 @@ static struct omap_hwmod_dma_info omap44xx_dmic_sdma_reqs[] = {
...
@@ -1031,6 +1031,7 @@ static struct omap_hwmod_dma_info omap44xx_dmic_sdma_reqs[] = {
static
struct
omap_hwmod_addr_space
omap44xx_dmic_addrs
[]
=
{
static
struct
omap_hwmod_addr_space
omap44xx_dmic_addrs
[]
=
{
{
{
.
name
=
"mpu"
,
.
pa_start
=
0x4012e000
,
.
pa_start
=
0x4012e000
,
.
pa_end
=
0x4012e07f
,
.
pa_end
=
0x4012e07f
,
.
flags
=
ADDR_TYPE_RT
.
flags
=
ADDR_TYPE_RT
...
@@ -1049,6 +1050,7 @@ static struct omap_hwmod_ocp_if omap44xx_l4_abe__dmic = {
...
@@ -1049,6 +1050,7 @@ static struct omap_hwmod_ocp_if omap44xx_l4_abe__dmic = {
static
struct
omap_hwmod_addr_space
omap44xx_dmic_dma_addrs
[]
=
{
static
struct
omap_hwmod_addr_space
omap44xx_dmic_dma_addrs
[]
=
{
{
{
.
name
=
"dma"
,
.
pa_start
=
0x4902e000
,
.
pa_start
=
0x4902e000
,
.
pa_end
=
0x4902e07f
,
.
pa_end
=
0x4902e07f
,
.
flags
=
ADDR_TYPE_RT
.
flags
=
ADDR_TYPE_RT
...
...
arch/arm/mach-omap2/prm2xxx_3xxx.c
View file @
cd3a2ba0
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
#include "common.h"
#include "common.h"
#include <plat/cpu.h>
#include <plat/cpu.h>
#include <plat/prcm.h>
#include <plat/prcm.h>
#include <plat/irqs.h>
#include "vp.h"
#include "vp.h"
...
...
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