Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
3c52b2be
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看板
提交
3c52b2be
编写于
11月 09, 2011
作者:
O
Olof Johansson
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-3.2/fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra
into fixes
上级
c30c8f9f
686448d7
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
27 addition
and
12 deletion
+27
-12
arch/arm/boot/dts/tegra-ventana.dts
arch/arm/boot/dts/tegra-ventana.dts
+1
-2
arch/arm/mach-tegra/board-dt.c
arch/arm/mach-tegra/board-dt.c
+7
-6
arch/arm/mach-tegra/board-harmony-pinmux.c
arch/arm/mach-tegra/board-harmony-pinmux.c
+5
-1
arch/arm/mach-tegra/board-paz00-pinmux.c
arch/arm/mach-tegra/board-paz00-pinmux.c
+5
-1
arch/arm/mach-tegra/board-seaboard-pinmux.c
arch/arm/mach-tegra/board-seaboard-pinmux.c
+5
-1
arch/arm/mach-tegra/board-trimslice-pinmux.c
arch/arm/mach-tegra/board-trimslice-pinmux.c
+4
-1
未找到文件。
arch/arm/boot/dts/tegra-ventana.dts
浏览文件 @
3c52b2be
...
...
@@ -22,11 +22,10 @@
sdhci
@
c8000400
{
cd
-
gpios
=
<&
gpio
69
0
>;
/*
gpio
PI5
*/
wp
-
gpios
=
<&
gpio
57
0
>;
/*
gpio
PH1
*/
power
-
gpios
=
<&
gpio
155
0
>;
/*
gpio
PT3
*/
power
-
gpios
=
<&
gpio
70
0
>;
/*
gpio
PI6
*/
};
sdhci
@
c8000600
{
power
-
gpios
=
<&
gpio
70
0
>;
/*
gpio
PI6
*/
support
-
8
bit
;
};
};
arch/arm/mach-tegra/board-dt.c
浏览文件 @
3c52b2be
...
...
@@ -101,6 +101,13 @@ static void __init tegra_dt_init(void)
tegra_clk_init_from_table
(
tegra_dt_clk_init_table
);
/*
* Finished with the static registrations now; fill in the missing
* devices
*/
of_platform_populate
(
NULL
,
tegra_dt_match_table
,
tegra20_auxdata_lookup
,
NULL
);
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
pinmux_configs
);
i
++
)
{
if
(
of_machine_is_compatible
(
pinmux_configs
[
i
].
machine
))
{
pinmux_configs
[
i
].
init
();
...
...
@@ -110,12 +117,6 @@ static void __init tegra_dt_init(void)
WARN
(
i
==
ARRAY_SIZE
(
pinmux_configs
),
"Unknown platform! Pinmuxing not initialized
\n
"
);
/*
* Finished with the static registrations now; fill in the missing
* devices
*/
of_platform_populate
(
NULL
,
tegra_dt_match_table
,
tegra20_auxdata_lookup
,
NULL
);
}
static
const
char
*
tegra_dt_board_compat
[]
=
{
...
...
arch/arm/mach-tegra/board-harmony-pinmux.c
浏览文件 @
3c52b2be
...
...
@@ -16,6 +16,8 @@
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/of.h>
#include <mach/pinmux.h>
#include "gpio-names.h"
...
...
@@ -161,7 +163,9 @@ static struct tegra_gpio_table gpio_table[] = {
void
harmony_pinmux_init
(
void
)
{
platform_add_devices
(
pinmux_devices
,
ARRAY_SIZE
(
pinmux_devices
));
if
(
!
of_machine_is_compatible
(
"nvidia,tegra20"
))
platform_add_devices
(
pinmux_devices
,
ARRAY_SIZE
(
pinmux_devices
));
tegra_pinmux_config_table
(
harmony_pinmux
,
ARRAY_SIZE
(
harmony_pinmux
));
...
...
arch/arm/mach-tegra/board-paz00-pinmux.c
浏览文件 @
3c52b2be
...
...
@@ -16,6 +16,8 @@
#include <linux/kernel.h>
#include <linux/gpio.h>
#include <linux/of.h>
#include <mach/pinmux.h>
#include "gpio-names.h"
...
...
@@ -158,7 +160,9 @@ static struct tegra_gpio_table gpio_table[] = {
void
paz00_pinmux_init
(
void
)
{
platform_add_devices
(
pinmux_devices
,
ARRAY_SIZE
(
pinmux_devices
));
if
(
!
of_machine_is_compatible
(
"nvidia,tegra20"
))
platform_add_devices
(
pinmux_devices
,
ARRAY_SIZE
(
pinmux_devices
));
tegra_pinmux_config_table
(
paz00_pinmux
,
ARRAY_SIZE
(
paz00_pinmux
));
...
...
arch/arm/mach-tegra/board-seaboard-pinmux.c
浏览文件 @
3c52b2be
...
...
@@ -16,6 +16,7 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/gpio.h>
#include <linux/of.h>
#include <mach/pinmux.h>
#include <mach/pinmux-t2.h>
...
...
@@ -191,6 +192,7 @@ static struct tegra_gpio_table common_gpio_table[] = {
{
.
gpio
=
TEGRA_GPIO_SD2_POWER
,
.
enable
=
true
},
{
.
gpio
=
TEGRA_GPIO_LIDSWITCH
,
.
enable
=
true
},
{
.
gpio
=
TEGRA_GPIO_POWERKEY
,
.
enable
=
true
},
{
.
gpio
=
TEGRA_GPIO_HP_DET
,
.
enable
=
true
},
{
.
gpio
=
TEGRA_GPIO_ISL29018_IRQ
,
.
enable
=
true
},
{
.
gpio
=
TEGRA_GPIO_CDC_IRQ
,
.
enable
=
true
},
{
.
gpio
=
TEGRA_GPIO_USB1
,
.
enable
=
true
},
...
...
@@ -218,7 +220,9 @@ static void __init update_pinmux(struct tegra_pingroup_config *newtbl, int size)
void
__init
seaboard_common_pinmux_init
(
void
)
{
platform_add_devices
(
pinmux_devices
,
ARRAY_SIZE
(
pinmux_devices
));
if
(
!
of_machine_is_compatible
(
"nvidia,tegra20"
))
platform_add_devices
(
pinmux_devices
,
ARRAY_SIZE
(
pinmux_devices
));
tegra_pinmux_config_table
(
seaboard_pinmux
,
ARRAY_SIZE
(
seaboard_pinmux
));
...
...
arch/arm/mach-tegra/board-trimslice-pinmux.c
浏览文件 @
3c52b2be
...
...
@@ -16,6 +16,7 @@
#include <linux/gpio.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/of.h>
#include <mach/pinmux.h>
...
...
@@ -157,7 +158,9 @@ static struct tegra_gpio_table gpio_table[] = {
void
__init
trimslice_pinmux_init
(
void
)
{
platform_add_devices
(
pinmux_devices
,
ARRAY_SIZE
(
pinmux_devices
));
if
(
!
of_machine_is_compatible
(
"nvidia,tegra20"
))
platform_add_devices
(
pinmux_devices
,
ARRAY_SIZE
(
pinmux_devices
));
tegra_pinmux_config_table
(
trimslice_pinmux
,
ARRAY_SIZE
(
trimslice_pinmux
));
tegra_gpio_config
(
gpio_table
,
ARRAY_SIZE
(
gpio_table
));
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录