Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
e04d6c53
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看板
提交
e04d6c53
编写于
4月 27, 2011
作者:
R
Russell King
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-rmk' of
git://git.pengutronix.de/git/imx/linux-2.6
into fixes
上级
e9569c15
bcb22a94
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
24 addition
and
5 deletion
+24
-5
arch/arm/mach-mx3/mach-vpr200.c
arch/arm/mach-mx3/mach-vpr200.c
+8
-3
arch/arm/mach-mx5/board-mx53_loco.c
arch/arm/mach-mx5/board-mx53_loco.c
+1
-1
arch/arm/mach-mxs/clock-mx28.c
arch/arm/mach-mxs/clock-mx28.c
+6
-1
arch/arm/plat-mxc/gpio.c
arch/arm/plat-mxc/gpio.c
+7
-0
arch/arm/plat-mxc/ssi-fiq.S
arch/arm/plat-mxc/ssi-fiq.S
+2
-0
未找到文件。
arch/arm/mach-mx3/mach-vpr200.c
浏览文件 @
e04d6c53
...
...
@@ -257,11 +257,16 @@ static const struct fsl_usb2_platform_data otg_device_pdata __initconst = {
.
workaround
=
FLS_USB2_WORKAROUND_ENGCM09152
,
};
static
int
vpr200_usbh_init
(
struct
platform_device
*
pdev
)
{
return
mx35_initialize_usb_hw
(
pdev
->
id
,
MXC_EHCI_INTERFACE_SINGLE_UNI
|
MXC_EHCI_INTERNAL_PHY
);
}
/* USB HOST config */
static
const
struct
mxc_usbh_platform_data
usb_host_pdata
__initconst
=
{
.
portsc
=
MXC_EHCI_MODE_SERIAL
,
.
flags
=
MXC_EHCI_INTERFACE_SINGLE_UNI
|
MXC_EHCI_INTERNAL_PHY
,
.
init
=
vpr200_usbh_init
,
.
portsc
=
MXC_EHCI_MODE_SERIAL
,
};
static
struct
platform_device
*
devices
[]
__initdata
=
{
...
...
arch/arm/mach-mx5/board-mx53_loco.c
浏览文件 @
e04d6c53
...
...
@@ -193,7 +193,7 @@ static iomux_v3_cfg_t mx53_loco_pads[] = {
.wakeup = wake, \
}
static
const
struct
gpio_keys_button
loco_buttons
[]
__initconst
=
{
static
struct
gpio_keys_button
loco_buttons
[]
=
{
GPIO_BUTTON
(
MX53_LOCO_POWER
,
KEY_POWER
,
1
,
"power"
,
0
),
GPIO_BUTTON
(
MX53_LOCO_UI1
,
KEY_VOLUMEUP
,
1
,
"volume-up"
,
0
),
GPIO_BUTTON
(
MX53_LOCO_UI2
,
KEY_VOLUMEDOWN
,
1
,
"volume-down"
,
0
),
...
...
arch/arm/mach-mxs/clock-mx28.c
浏览文件 @
e04d6c53
...
...
@@ -295,11 +295,11 @@ static int name##_set_rate(struct clk *clk, unsigned long rate) \
unsigned long diff, parent_rate, calc_rate; \
int i; \
\
parent_rate = clk_get_rate(clk->parent); \
div_max = BM_CLKCTRL_##dr##_DIV >> BP_CLKCTRL_##dr##_DIV; \
bm_busy = BM_CLKCTRL_##dr##_BUSY; \
\
if (clk->parent == &ref_xtal_clk) { \
parent_rate = clk_get_rate(clk->parent); \
div = DIV_ROUND_UP(parent_rate, rate); \
if (clk == &cpu_clk) { \
div_max = BM_CLKCTRL_CPU_DIV_XTAL >> \
...
...
@@ -309,6 +309,11 @@ static int name##_set_rate(struct clk *clk, unsigned long rate) \
if (div == 0 || div > div_max) \
return -EINVAL; \
} else { \
/* \
* hack alert: this block modifies clk->parent, too, \
* so the base to use it the grand parent. \
*/
\
parent_rate = clk_get_rate(clk->parent->parent); \
rate >>= PARENT_RATE_SHIFT; \
parent_rate >>= PARENT_RATE_SHIFT; \
diff = parent_rate; \
...
...
arch/arm/plat-mxc/gpio.c
浏览文件 @
e04d6c53
...
...
@@ -295,6 +295,12 @@ static int mxc_gpio_direction_output(struct gpio_chip *chip,
return
0
;
}
/*
* This lock class tells lockdep that GPIO irqs are in a different
* category than their parents, so it won't report false recursion.
*/
static
struct
lock_class_key
gpio_lock_class
;
int
__init
mxc_gpio_init
(
struct
mxc_gpio_port
*
port
,
int
cnt
)
{
int
i
,
j
;
...
...
@@ -311,6 +317,7 @@ int __init mxc_gpio_init(struct mxc_gpio_port *port, int cnt)
__raw_writel
(
~
0
,
port
[
i
].
base
+
GPIO_ISR
);
for
(
j
=
port
[
i
].
virtual_irq_start
;
j
<
port
[
i
].
virtual_irq_start
+
32
;
j
++
)
{
irq_set_lockdep_class
(
j
,
&
gpio_lock_class
);
irq_set_chip_and_handler
(
j
,
&
gpio_irq_chip
,
handle_level_irq
);
set_irq_flags
(
j
,
IRQF_VALID
);
...
...
arch/arm/plat-mxc/ssi-fiq.S
浏览文件 @
e04d6c53
...
...
@@ -124,6 +124,8 @@ imx_ssi_fiq_start:
1
:
@
return
from
FIQ
subs
pc
,
lr
,
#
4
.
align
imx_ssi_fiq_base
:
.
word
0x0
imx_ssi_fiq_rx_buffer
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录