提交 a308e477 编写于 作者: P popcornmix 提交者: Zheng Zengkai

clk-bcm2835: Disable v3d clock

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

This is controlled by firmware, see clk-raspberrypi.c
Signed-off-by: Npopcornmix <popcornmix@gmail.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 4283be5c
...@@ -1741,16 +1741,12 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { ...@@ -1741,16 +1741,12 @@ static const struct bcm2835_clk_desc clk_desc_array[] = {
.hold_mask = CM_PLLA_HOLDCORE, .hold_mask = CM_PLLA_HOLDCORE,
.fixed_divider = 1, .fixed_divider = 1,
.flags = CLK_SET_RATE_PARENT), .flags = CLK_SET_RATE_PARENT),
[BCM2835_PLLA_PER] = REGISTER_PLL_DIV(
SOC_ALL, /*
.name = "plla_per", * PLLA_PER is used for gpu clocks. Controlled by firmware, see
.source_pll = "plla", * clk-raspberrypi.c.
.cm_reg = CM_PLLA, */
.a2w_reg = A2W_PLLA_PER,
.load_mask = CM_PLLA_LOADPER,
.hold_mask = CM_PLLA_HOLDPER,
.fixed_divider = 1,
.flags = CLK_SET_RATE_PARENT),
[BCM2835_PLLA_DSI0] = REGISTER_PLL_DIV( [BCM2835_PLLA_DSI0] = REGISTER_PLL_DIV(
SOC_ALL, SOC_ALL,
.name = "plla_dsi0", .name = "plla_dsi0",
...@@ -2051,14 +2047,12 @@ static const struct bcm2835_clk_desc clk_desc_array[] = { ...@@ -2051,14 +2047,12 @@ static const struct bcm2835_clk_desc clk_desc_array[] = {
.int_bits = 6, .int_bits = 6,
.frac_bits = 0, .frac_bits = 0,
.tcnt_mux = 3), .tcnt_mux = 3),
[BCM2835_CLOCK_V3D] = REGISTER_VPU_CLK(
SOC_ALL, /*
.name = "v3d", * CLOCK_V3D is used for v3d clock. Controlled by firmware, see
.ctl_reg = CM_V3DCTL, * clk-raspberrypi.c.
.div_reg = CM_V3DDIV, */
.int_bits = 4,
.frac_bits = 8,
.tcnt_mux = 4),
/* /*
* VPU clock. This doesn't have an enable bit, since it drives * VPU clock. This doesn't have an enable bit, since it drives
* the bus for everything else, and is special so it doesn't need * the bus for everything else, and is special so it doesn't need
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册