Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
cd3a2ba0
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
cd3a2ba0
编写于
1月 26, 2012
作者:
T
Tony Lindgren
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'omap_fixes_a_3.3rc' of
git://git.pwsan.com/linux-2.6
into fixes
上级
14ea9601
1d2f56c8
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
75 addition
and
29 deletion
+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
未找到文件。
arch/arm/mach-omap2/io.c
浏览文件 @
cd3a2ba0
...
...
@@ -388,7 +388,7 @@ static void __init omap_hwmod_init_postsetup(void)
omap_pm_if_early_init
();
}
#ifdef CONFIG_
ARCH_OMAP2
#ifdef CONFIG_
SOC_OMAP2420
void
__init
omap2420_init_early
(
void
)
{
omap2_set_globals_242x
();
...
...
@@ -400,7 +400,9 @@ void __init omap2420_init_early(void)
omap_hwmod_init_postsetup
();
omap2420_clk_init
();
}
#endif
#ifdef CONFIG_SOC_OMAP2430
void
__init
omap2430_init_early
(
void
)
{
omap2_set_globals_243x
();
...
...
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
浏览文件 @
cd3a2ba0
...
...
@@ -55,27 +55,6 @@ struct omap_hwmod_class omap2_dss_hwmod_class = {
.
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
* remote frame buffer interface
...
...
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
浏览文件 @
cd3a2ba0
...
...
@@ -28,6 +28,28 @@ struct omap_hwmod_dma_info omap2xxx_dss_sdma_chs[] = {
{
.
name
=
"dispc"
,
.
dma_req
=
5
},
{
.
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 */
static
struct
omap_hwmod_class_sysconfig
omap2xxx_timer_sysc
=
{
.
rev_offs
=
0x0000
,
...
...
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
浏览文件 @
cd3a2ba0
...
...
@@ -1480,6 +1480,28 @@ static struct omap_hwmod omap3xxx_dss_core_hwmod = {
.
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 */
static
struct
omap_hwmod_ocp_if
omap3xxx_l4_core__dss_dispc
=
{
.
master
=
&
omap3xxx_l4_core_hwmod
,
...
...
@@ -1503,7 +1525,7 @@ static struct omap_hwmod_ocp_if *omap3xxx_dss_dispc_slaves[] = {
static
struct
omap_hwmod
omap3xxx_dss_dispc_hwmod
=
{
.
name
=
"dss_dispc"
,
.
class
=
&
omap
2
_dispc_hwmod_class
,
.
class
=
&
omap
3
_dispc_hwmod_class
,
.
mpu_irqs
=
omap2_dispc_irqs
,
.
main_clk
=
"dss1_alwon_fck"
,
.
prcm
=
{
...
...
@@ -3523,12 +3545,6 @@ static __initdata struct omap_hwmod *omap3xxx_hwmods[] = {
&
omap3xxx_uart2_hwmod
,
&
omap3xxx_uart3_hwmod
,
/* dss class */
&
omap3xxx_dss_dispc_hwmod
,
&
omap3xxx_dss_dsi1_hwmod
,
&
omap3xxx_dss_rfbi_hwmod
,
&
omap3xxx_dss_venc_hwmod
,
/* i2c class */
&
omap3xxx_i2c1_hwmod
,
&
omap3xxx_i2c2_hwmod
,
...
...
@@ -3635,6 +3651,15 @@ static __initdata struct omap_hwmod *am35xx_hwmods[] = {
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
r
;
...
...
@@ -3708,6 +3733,21 @@ int __init omap3xxx_hwmod_init(void)
if
(
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
;
}
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
浏览文件 @
cd3a2ba0
...
...
@@ -1031,6 +1031,7 @@ static struct omap_hwmod_dma_info omap44xx_dmic_sdma_reqs[] = {
static
struct
omap_hwmod_addr_space
omap44xx_dmic_addrs
[]
=
{
{
.
name
=
"mpu"
,
.
pa_start
=
0x4012e000
,
.
pa_end
=
0x4012e07f
,
.
flags
=
ADDR_TYPE_RT
...
...
@@ -1049,6 +1050,7 @@ static struct omap_hwmod_ocp_if omap44xx_l4_abe__dmic = {
static
struct
omap_hwmod_addr_space
omap44xx_dmic_dma_addrs
[]
=
{
{
.
name
=
"dma"
,
.
pa_start
=
0x4902e000
,
.
pa_end
=
0x4902e07f
,
.
flags
=
ADDR_TYPE_RT
...
...
arch/arm/mach-omap2/prm2xxx_3xxx.c
浏览文件 @
cd3a2ba0
...
...
@@ -19,6 +19,7 @@
#include "common.h"
#include <plat/cpu.h>
#include <plat/prcm.h>
#include <plat/irqs.h>
#include "vp.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录