Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
5f3530a0
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
5f3530a0
编写于
8月 15, 2016
作者:
T
Tony Lindgren
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'omap-for-v4.8/soc' into omap-for-v4.8/fixes
上级
29b4817d
e4e53287
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
26 addition
and
12 deletion
+26
-12
arch/arm/mach-omap2/cm33xx.c
arch/arm/mach-omap2/cm33xx.c
+0
-6
arch/arm/mach-omap2/cminst44xx.c
arch/arm/mach-omap2/cminst44xx.c
+0
-6
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/omap_hwmod.c
+8
-0
arch/arm/mach-omap2/omap_hwmod.h
arch/arm/mach-omap2/omap_hwmod.h
+4
-0
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
+2
-0
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
+12
-0
未找到文件。
arch/arm/mach-omap2/cm33xx.c
浏览文件 @
5f3530a0
...
...
@@ -220,9 +220,6 @@ static int am33xx_cm_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs,
{
int
i
=
0
;
if
(
!
clkctrl_offs
)
return
0
;
omap_test_timeout
(
_is_module_ready
(
inst
,
clkctrl_offs
),
MAX_MODULE_READY_TIME
,
i
);
...
...
@@ -246,9 +243,6 @@ static int am33xx_cm_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs,
{
int
i
=
0
;
if
(
!
clkctrl_offs
)
return
0
;
omap_test_timeout
((
_clkctrl_idlest
(
inst
,
clkctrl_offs
)
==
CLKCTRL_IDLEST_DISABLED
),
MAX_MODULE_READY_TIME
,
i
);
...
...
arch/arm/mach-omap2/cminst44xx.c
浏览文件 @
5f3530a0
...
...
@@ -278,9 +278,6 @@ static int omap4_cminst_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs,
{
int
i
=
0
;
if
(
!
clkctrl_offs
)
return
0
;
omap_test_timeout
(
_is_module_ready
(
part
,
inst
,
clkctrl_offs
),
MAX_MODULE_READY_TIME
,
i
);
...
...
@@ -304,9 +301,6 @@ static int omap4_cminst_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs,
{
int
i
=
0
;
if
(
!
clkctrl_offs
)
return
0
;
omap_test_timeout
((
_clkctrl_idlest
(
part
,
inst
,
clkctrl_offs
)
==
CLKCTRL_IDLEST_DISABLED
),
MAX_MODULE_DISABLE_TIME
,
i
);
...
...
arch/arm/mach-omap2/omap_hwmod.c
浏览文件 @
5f3530a0
...
...
@@ -1053,6 +1053,10 @@ static int _omap4_wait_target_disable(struct omap_hwmod *oh)
if
(
oh
->
flags
&
HWMOD_NO_IDLEST
)
return
0
;
if
(
!
oh
->
prcm
.
omap4
.
clkctrl_offs
&&
!
(
oh
->
prcm
.
omap4
.
flags
&
HWMOD_OMAP4_ZERO_CLKCTRL_OFFSET
))
return
0
;
return
omap_cm_wait_module_idle
(
oh
->
clkdm
->
prcm_partition
,
oh
->
clkdm
->
cm_inst
,
oh
->
prcm
.
omap4
.
clkctrl_offs
,
0
);
...
...
@@ -2971,6 +2975,10 @@ static int _omap4_wait_target_ready(struct omap_hwmod *oh)
if
(
!
_find_mpu_rt_port
(
oh
))
return
0
;
if
(
!
oh
->
prcm
.
omap4
.
clkctrl_offs
&&
!
(
oh
->
prcm
.
omap4
.
flags
&
HWMOD_OMAP4_ZERO_CLKCTRL_OFFSET
))
return
0
;
/* XXX check module SIDLEMODE, hardreset status */
return
omap_cm_wait_module_ready
(
oh
->
clkdm
->
prcm_partition
,
...
...
arch/arm/mach-omap2/omap_hwmod.h
浏览文件 @
5f3530a0
...
...
@@ -443,8 +443,12 @@ struct omap_hwmod_omap2_prcm {
* HWMOD_OMAP4_NO_CONTEXT_LOSS_BIT: Some IP blocks don't have a PRCM
* module-level context loss register associated with them; this
* flag bit should be set in those cases
* HWMOD_OMAP4_ZERO_CLKCTRL_OFFSET: Some IP blocks have a valid CLKCTRL
* offset of zero; this flag bit should be set in those cases to
* distinguish from hwmods that have no clkctrl offset.
*/
#define HWMOD_OMAP4_NO_CONTEXT_LOSS_BIT (1 << 0)
#define HWMOD_OMAP4_ZERO_CLKCTRL_OFFSET (1 << 1)
/**
* struct omap_hwmod_omap4_prcm - OMAP4-specific PRCM data
...
...
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
浏览文件 @
5f3530a0
...
...
@@ -29,6 +29,7 @@
#define CLKCTRL(oh, clkctrl) ((oh).prcm.omap4.clkctrl_offs = (clkctrl))
#define RSTCTRL(oh, rstctrl) ((oh).prcm.omap4.rstctrl_offs = (rstctrl))
#define RSTST(oh, rstst) ((oh).prcm.omap4.rstst_offs = (rstst))
#define PRCM_FLAGS(oh, flag) ((oh).prcm.omap4.flags = (flag))
/*
* 'l3' class
...
...
@@ -1296,6 +1297,7 @@ static void omap_hwmod_am33xx_clkctrl(void)
CLKCTRL
(
am33xx_i2c1_hwmod
,
AM33XX_CM_WKUP_I2C0_CLKCTRL_OFFSET
);
CLKCTRL
(
am33xx_wd_timer1_hwmod
,
AM33XX_CM_WKUP_WDT1_CLKCTRL_OFFSET
);
CLKCTRL
(
am33xx_rtc_hwmod
,
AM33XX_CM_RTC_RTC_CLKCTRL_OFFSET
);
PRCM_FLAGS
(
am33xx_rtc_hwmod
,
HWMOD_OMAP4_ZERO_CLKCTRL_OFFSET
);
CLKCTRL
(
am33xx_mmc2_hwmod
,
AM33XX_CM_PER_MMC2_CLKCTRL_OFFSET
);
CLKCTRL
(
am33xx_gpmc_hwmod
,
AM33XX_CM_PER_GPMC_CLKCTRL_OFFSET
);
CLKCTRL
(
am33xx_l4_ls_hwmod
,
AM33XX_CM_PER_L4LS_CLKCTRL_OFFSET
);
...
...
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
浏览文件 @
5f3530a0
...
...
@@ -722,8 +722,20 @@ static struct omap_hwmod omap3xxx_dss_dispc_hwmod = {
* display serial interface controller
*/
static
struct
omap_hwmod_class_sysconfig
omap3xxx_dsi_sysc
=
{
.
rev_offs
=
0x0000
,
.
sysc_offs
=
0x0010
,
.
syss_offs
=
0x0014
,
.
sysc_flags
=
(
SYSC_HAS_AUTOIDLE
|
SYSC_HAS_CLOCKACTIVITY
|
SYSC_HAS_ENAWAKEUP
|
SYSC_HAS_SIDLEMODE
|
SYSC_HAS_SOFTRESET
|
SYSS_HAS_RESET_STATUS
),
.
idlemodes
=
(
SIDLE_FORCE
|
SIDLE_NO
|
SIDLE_SMART
),
.
sysc_fields
=
&
omap_hwmod_sysc_type1
,
};
static
struct
omap_hwmod_class
omap3xxx_dsi_hwmod_class
=
{
.
name
=
"dsi"
,
.
sysc
=
&
omap3xxx_dsi_sysc
,
};
static
struct
omap_hwmod_irq_info
omap3xxx_dsi1_irqs
[]
=
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录