Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
d8cff136
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看板
提交
d8cff136
编写于
2月 07, 2011
作者:
R
Russell King
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-rmk' of
git://git.pengutronix.de/git/imx/linux-2.6
into fixes
上级
7c289385
014aaf6b
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
10 addition
and
11 deletion
+10
-11
arch/arm/mach-imx/mach-mx25_3ds.c
arch/arm/mach-imx/mach-mx25_3ds.c
+1
-1
arch/arm/mach-mxs/clock-mx23.c
arch/arm/mach-mxs/clock-mx23.c
+2
-2
arch/arm/mach-mxs/clock-mx28.c
arch/arm/mach-mxs/clock-mx28.c
+3
-4
arch/arm/mach-mxs/clock.c
arch/arm/mach-mxs/clock.c
+0
-2
arch/arm/mach-mxs/gpio.c
arch/arm/mach-mxs/gpio.c
+2
-0
arch/arm/mach-mxs/include/mach/clock.h
arch/arm/mach-mxs/include/mach/clock.h
+0
-2
arch/arm/plat-mxc/include/mach/uncompress.h
arch/arm/plat-mxc/include/mach/uncompress.h
+2
-0
未找到文件。
arch/arm/mach-imx/mach-mx25_3ds.c
浏览文件 @
d8cff136
...
...
@@ -180,7 +180,7 @@ static const uint32_t mx25pdk_keymap[] = {
KEY
(
3
,
3
,
KEY_POWER
),
};
static
const
struct
matrix_keymap_data
mx25pdk_keymap_data
__init
data
=
{
static
const
struct
matrix_keymap_data
mx25pdk_keymap_data
__init
const
=
{
.
keymap
=
mx25pdk_keymap
,
.
keymap_size
=
ARRAY_SIZE
(
mx25pdk_keymap
),
};
...
...
arch/arm/mach-mxs/clock-mx23.c
浏览文件 @
d8cff136
...
...
@@ -304,7 +304,7 @@ static int name##_set_rate(struct clk *clk, unsigned long rate) \
reg = __raw_readl(CLKCTRL_BASE_ADDR + HW_CLKCTRL_##dr); \
reg &= ~BM_CLKCTRL_##dr##_DIV; \
reg |= div << BP_CLKCTRL_##dr##_DIV; \
if (reg
|
(1 << clk->enable_shift)) { \
if (reg
&
(1 << clk->enable_shift)) { \
pr_err("%s: clock is gated\n", __func__); \
return -EINVAL; \
} \
...
...
@@ -347,7 +347,7 @@ static int name##_set_parent(struct clk *clk, struct clk *parent) \
{ \
if (parent != clk->parent) { \
__raw_writel(BM_CLKCTRL_CLKSEQ_BYPASS_##bit, \
HW_CLKCTRL_CLKSEQ_TOG);
\
CLKCTRL_BASE_ADDR + HW_CLKCTRL_CLKSEQ_TOG);
\
clk->parent = parent; \
} \
\
...
...
arch/arm/mach-mxs/clock-mx28.c
浏览文件 @
d8cff136
...
...
@@ -355,12 +355,12 @@ static int name##_set_rate(struct clk *clk, unsigned long rate) \
} else { \
reg &= ~BM_CLKCTRL_##dr##_DIV; \
reg |= div << BP_CLKCTRL_##dr##_DIV; \
if (reg
|
(1 << clk->enable_shift)) { \
if (reg
&
(1 << clk->enable_shift)) { \
pr_err("%s: clock is gated\n", __func__); \
return -EINVAL; \
} \
} \
__raw_writel(reg, CLKCTRL_BASE_ADDR + HW_CLKCTRL_
CPU
); \
__raw_writel(reg, CLKCTRL_BASE_ADDR + HW_CLKCTRL_
##dr
); \
\
for (i = 10000; i; i--) \
if (!(__raw_readl(CLKCTRL_BASE_ADDR + \
...
...
@@ -483,7 +483,7 @@ static int name##_set_parent(struct clk *clk, struct clk *parent) \
{ \
if (parent != clk->parent) { \
__raw_writel(BM_CLKCTRL_CLKSEQ_BYPASS_##bit, \
HW_CLKCTRL_CLKSEQ_TOG);
\
CLKCTRL_BASE_ADDR + HW_CLKCTRL_CLKSEQ_TOG);
\
clk->parent = parent; \
} \
\
...
...
@@ -609,7 +609,6 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK
(
"duart"
,
NULL
,
uart_clk
)
_REGISTER_CLOCK
(
"imx28-fec.0"
,
NULL
,
fec_clk
)
_REGISTER_CLOCK
(
"imx28-fec.1"
,
NULL
,
fec_clk
)
_REGISTER_CLOCK
(
"fec.0"
,
NULL
,
fec_clk
)
_REGISTER_CLOCK
(
"rtc"
,
NULL
,
rtc_clk
)
_REGISTER_CLOCK
(
"pll2"
,
NULL
,
pll2_clk
)
_REGISTER_CLOCK
(
NULL
,
"hclk"
,
hbus_clk
)
...
...
arch/arm/mach-mxs/clock.c
浏览文件 @
d8cff136
...
...
@@ -57,7 +57,6 @@ static void __clk_disable(struct clk *clk)
if
(
clk
->
disable
)
clk
->
disable
(
clk
);
__clk_disable
(
clk
->
parent
);
__clk_disable
(
clk
->
secondary
);
}
}
...
...
@@ -68,7 +67,6 @@ static int __clk_enable(struct clk *clk)
if
(
clk
->
usecount
++
==
0
)
{
__clk_enable
(
clk
->
parent
);
__clk_enable
(
clk
->
secondary
);
if
(
clk
->
enable
)
clk
->
enable
(
clk
);
...
...
arch/arm/mach-mxs/gpio.c
浏览文件 @
d8cff136
...
...
@@ -139,6 +139,8 @@ static void mxs_gpio_irq_handler(u32 irq, struct irq_desc *desc)
struct
mxs_gpio_port
*
port
=
(
struct
mxs_gpio_port
*
)
get_irq_data
(
irq
);
u32
gpio_irq_no_base
=
port
->
virtual_irq_start
;
desc
->
irq_data
.
chip
->
irq_ack
(
&
desc
->
irq_data
);
irq_stat
=
__raw_readl
(
port
->
base
+
PINCTRL_IRQSTAT
(
port
->
id
))
&
__raw_readl
(
port
->
base
+
PINCTRL_IRQEN
(
port
->
id
));
...
...
arch/arm/mach-mxs/include/mach/clock.h
浏览文件 @
d8cff136
...
...
@@ -29,8 +29,6 @@ struct clk {
int
id
;
/* Source clock this clk depends on */
struct
clk
*
parent
;
/* Secondary clock to enable/disable with this clock */
struct
clk
*
secondary
;
/* Reference count of clock enable/disable */
__s8
usecount
;
/* Register bit position for clock's enable/disable control. */
...
...
arch/arm/plat-mxc/include/mach/uncompress.h
浏览文件 @
d8cff136
...
...
@@ -95,6 +95,7 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
case
MACH_TYPE_MX35_3DS
:
case
MACH_TYPE_PCM043
:
case
MACH_TYPE_LILLY1131
:
case
MACH_TYPE_VPR200
:
uart_base
=
MX3X_UART1_BASE_ADDR
;
break
;
case
MACH_TYPE_MAGX_ZN5
:
...
...
@@ -102,6 +103,7 @@ static __inline__ void __arch_decomp_setup(unsigned long arch_id)
break
;
case
MACH_TYPE_MX51_BABBAGE
:
case
MACH_TYPE_EUKREA_CPUIMX51SD
:
case
MACH_TYPE_MX51_3DS
:
uart_base
=
MX51_UART1_BASE_ADDR
;
break
;
case
MACH_TYPE_MX50_RDP
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录