Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
ddf7e537
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
161
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ddf7e537
编写于
8月 15, 2016
作者:
S
Stephen Boyd
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'clk-meson-gxbb' into clk-next
* clk-meson-gxbb: clk: gxbb: add MMC gate clocks, and expose for DT
上级
5a227cd1
33608dcd
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
2 deletion
+18
-2
drivers/clk/meson/gxbb.c
drivers/clk/meson/gxbb.c
+9
-0
drivers/clk/meson/gxbb.h
drivers/clk/meson/gxbb.h
+5
-2
include/dt-bindings/clock/gxbb-clkc.h
include/dt-bindings/clock/gxbb-clkc.h
+4
-0
未找到文件。
drivers/clk/meson/gxbb.c
浏览文件 @
ddf7e537
...
...
@@ -583,6 +583,9 @@ static MESON_GATE(sdio, HHI_GCLK_MPEG0, 17);
static
MESON_GATE
(
abuf
,
HHI_GCLK_MPEG0
,
18
);
static
MESON_GATE
(
hiu_iface
,
HHI_GCLK_MPEG0
,
19
);
static
MESON_GATE
(
assist_misc
,
HHI_GCLK_MPEG0
,
23
);
static
MESON_GATE
(
emmc_a
,
HHI_GCLK_MPEG0
,
24
);
static
MESON_GATE
(
emmc_b
,
HHI_GCLK_MPEG0
,
25
);
static
MESON_GATE
(
emmc_c
,
HHI_GCLK_MPEG0
,
26
);
static
MESON_GATE
(
spi
,
HHI_GCLK_MPEG0
,
30
);
static
MESON_GATE
(
i2s_spdif
,
HHI_GCLK_MPEG1
,
2
);
...
...
@@ -748,6 +751,9 @@ static struct clk_hw_onecell_data gxbb_hw_onecell_data = {
[
CLKID_AO_AHB_BUS
]
=
&
gxbb_ao_ahb_bus
.
hw
,
[
CLKID_AO_IFACE
]
=
&
gxbb_ao_iface
.
hw
,
[
CLKID_AO_I2C
]
=
&
gxbb_ao_i2c
.
hw
,
[
CLKID_SD_EMMC_A
]
=
&
gxbb_emmc_a
.
hw
,
[
CLKID_SD_EMMC_B
]
=
&
gxbb_emmc_b
.
hw
,
[
CLKID_SD_EMMC_C
]
=
&
gxbb_emmc_c
.
hw
,
},
.
num
=
NR_CLKS
,
};
...
...
@@ -847,6 +853,9 @@ static struct clk_gate *gxbb_clk_gates[] = {
&
gxbb_ao_ahb_bus
,
&
gxbb_ao_iface
,
&
gxbb_ao_i2c
,
&
gxbb_emmc_a
,
&
gxbb_emmc_b
,
&
gxbb_emmc_c
,
};
static
int
gxbb_clkc_probe
(
struct
platform_device
*
pdev
)
...
...
drivers/clk/meson/gxbb.h
浏览文件 @
ddf7e537
...
...
@@ -172,7 +172,7 @@
/* CLKID_CPUCLK */
#define CLKID_HDMI_PLL 2
#define CLKID_FIXED_PLL 3
#define CLKID_FCLK_DIV2 4
/* CLKID_FCLK_DIV2 */
#define CLKID_FCLK_DIV3 5
#define CLKID_FCLK_DIV4 6
#define CLKID_FCLK_DIV5 7
...
...
@@ -262,8 +262,11 @@
#define CLKID_AO_AHB_BUS 91
#define CLKID_AO_IFACE 92
#define CLKID_AO_I2C 93
/* CLKID_SD_EMMC_A */
/* CLKID_SD_EMMC_B */
/* CLKID_SD_EMMC_C */
#define NR_CLKS 9
4
#define NR_CLKS 9
7
/* include the CLKIDs that have been made part of the stable DT binding */
#include <dt-bindings/clock/gxbb-clkc.h>
...
...
include/dt-bindings/clock/gxbb-clkc.h
浏览文件 @
ddf7e537
...
...
@@ -6,7 +6,11 @@
#define __GXBB_CLKC_H
#define CLKID_CPUCLK 1
#define CLKID_FCLK_DIV2 4
#define CLKID_CLK81 12
#define CLKID_ETH 36
#define CLKID_SD_EMMC_A 94
#define CLKID_SD_EMMC_B 95
#define CLKID_SD_EMMC_C 96
#endif
/* __GXBB_CLKC_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录