Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
63f49dce
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看板
提交
63f49dce
编写于
8月 10, 2012
作者:
S
Scott Jiang
提交者:
Mark Brown
8月 17, 2012
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
blackfin: add platform device for ad1836 machine driver
Signed-off-by:
N
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
上级
d14a13d3
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
99 addition
and
0 deletion
+99
-0
arch/blackfin/mach-bf527/boards/ezkit.c
arch/blackfin/mach-bf527/boards/ezkit.c
+20
-0
arch/blackfin/mach-bf533/boards/stamp.c
arch/blackfin/mach-bf533/boards/stamp.c
+20
-0
arch/blackfin/mach-bf537/boards/stamp.c
arch/blackfin/mach-bf537/boards/stamp.c
+20
-0
arch/blackfin/mach-bf561/boards/ezkit.c
arch/blackfin/mach-bf561/boards/ezkit.c
+20
-0
arch/blackfin/mach-bf609/boards/ezkit.c
arch/blackfin/mach-bf609/boards/ezkit.c
+19
-0
未找到文件。
arch/blackfin/mach-bf527/boards/ezkit.c
浏览文件 @
63f49dce
...
...
@@ -587,6 +587,21 @@ static struct platform_device bfin_tdm = {
};
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \
|| defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
static
const
char
*
const
ad1836_link
[]
=
{
"bfin-tdm.0"
,
"spi0.4"
,
};
static
struct
platform_device
bfin_ad1836_machine
=
{
.
name
=
"bfin-snd-ad1836"
,
.
id
=
-
1
,
.
dev
=
{
.
platform_data
=
(
void
*
)
ad1836_link
,
},
};
#endif
static
struct
spi_board_info
bfin_spi_board_info
[]
__initdata
=
{
#if defined(CONFIG_MTD_M25P80) \
|| defined(CONFIG_MTD_M25P80_MODULE)
...
...
@@ -1269,6 +1284,11 @@ static struct platform_device *stamp_devices[] __initdata = {
#if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
&
bfin_tdm
,
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \
defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
&
bfin_ad1836_machine
,
#endif
};
static
int
__init
ezkit_init
(
void
)
...
...
arch/blackfin/mach-bf533/boards/stamp.c
浏览文件 @
63f49dce
...
...
@@ -617,6 +617,21 @@ static struct platform_device bfin_ac97_pcm = {
};
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \
|| defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
static
const
char
*
const
ad1836_link
[]
=
{
"bfin-tdm.0"
,
"spi0.4"
,
};
static
struct
platform_device
bfin_ad1836_machine
=
{
.
name
=
"bfin-snd-ad1836"
,
.
id
=
-
1
,
.
dev
=
{
.
platform_data
=
(
void
*
)
ad1836_link
,
},
};
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD73311) || \
defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE)
static
const
unsigned
ad73311_gpio
[]
=
{
...
...
@@ -754,6 +769,11 @@ static struct platform_device *stamp_devices[] __initdata = {
&
bfin_ac97_pcm
,
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \
defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
&
bfin_ad1836_machine
,
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD73311) || \
defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE)
&
bfin_ad73311_machine
,
...
...
arch/blackfin/mach-bf537/boards/stamp.c
浏览文件 @
63f49dce
...
...
@@ -2641,6 +2641,21 @@ static struct platform_device bfin_ac97_pcm = {
};
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \
|| defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
static
const
char
*
const
ad1836_link
[]
=
{
"bfin-tdm.0"
,
"spi0.4"
,
};
static
struct
platform_device
bfin_ad1836_machine
=
{
.
name
=
"bfin-snd-ad1836"
,
.
id
=
-
1
,
.
dev
=
{
.
platform_data
=
(
void
*
)
ad1836_link
,
},
};
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD73311) || \
defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE)
static
const
unsigned
ad73311_gpio
[]
=
{
...
...
@@ -2927,6 +2942,11 @@ static struct platform_device *stamp_devices[] __initdata = {
&
bfin_ac97_pcm
,
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \
defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
&
bfin_ad1836_machine
,
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD73311) || \
defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE)
&
bfin_ad73311_machine
,
...
...
arch/blackfin/mach-bf561/boards/ezkit.c
浏览文件 @
63f49dce
...
...
@@ -539,6 +539,21 @@ static struct platform_device bfin_ac97 = {
};
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \
|| defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
static
const
char
*
const
ad1836_link
[]
=
{
"bfin-tdm.0"
,
"spi0.4"
,
};
static
struct
platform_device
bfin_ad1836_machine
=
{
.
name
=
"bfin-snd-ad1836"
,
.
id
=
-
1
,
.
dev
=
{
.
platform_data
=
(
void
*
)
ad1836_link
,
},
};
#endif
static
struct
platform_device
*
ezkit_devices
[]
__initdata
=
{
&
bfin_dpmc
,
...
...
@@ -603,6 +618,11 @@ static struct platform_device *ezkit_devices[] __initdata = {
#if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE)
&
bfin_ac97
,
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \
defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
&
bfin_ad1836_machine
,
#endif
};
static
int
__init
net2272_init
(
void
)
...
...
arch/blackfin/mach-bf609/boards/ezkit.c
浏览文件 @
63f49dce
...
...
@@ -818,6 +818,21 @@ static struct platform_device bfin_i2s = {
};
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \
|| defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
static
const
char
*
const
ad1836_link
[]
=
{
"bfin-tdm.0"
,
"spi0.76"
,
};
static
struct
platform_device
bfin_ad1836_machine
=
{
.
name
=
"bfin-snd-ad1836"
,
.
id
=
-
1
,
.
dev
=
{
.
platform_data
=
(
void
*
)
ad1836_link
,
},
};
#endif
#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1X61) || \
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1X61_MODULE)
static
struct
platform_device
adau1761_device
=
{
...
...
@@ -1557,6 +1572,10 @@ static struct platform_device *ezkit_devices[] __initdata = {
defined(CONFIG_SND_BF6XX_SOC_I2S_MODULE)
&
bfin_i2s
,
#endif
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \
defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
&
bfin_ad1836_machine
,
#endif
#if defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1X61) || \
defined(CONFIG_SND_SOC_BFIN_EVAL_ADAU1X61_MODULE)
&
adau1761_device
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录