Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1303537
| From | Xing Zheng <zhengxing@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 5/5] clk: rockchip: rk3036: add HCLK_MAC id for emac |
| Date | 2016-01-07 13:30 +0100 |
| Message-ID | <qOhRv-823-3@gated-at.bofh.it> (permalink) |
| References | <qOhHP-7YB-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
We need to add HCLK_MAC id explicitly because that it is referred
by hclk in the emac driver.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
---
drivers/clk/rockchip/clk-rk3036.c | 2 +-
include/dt-bindings/clock/rk3036-cru.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk-rk3036.c b/drivers/clk/rockchip/clk-rk3036.c
index bc7fbac..15cd29a 100644
--- a/drivers/clk/rockchip/clk-rk3036.c
+++ b/drivers/clk/rockchip/clk-rk3036.c
@@ -404,7 +404,7 @@ static struct rockchip_clk_branch rk3036_clk_branches[] __initdata = {
GATE(HCLK_OTG1, "hclk_otg1", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(7), 3, GFLAGS),
GATE(HCLK_I2S, "hclk_i2s", "hclk_peri", 0, RK2928_CLKGATE_CON(7), 2, GFLAGS),
GATE(0, "hclk_sfc", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(3), 14, GFLAGS),
- GATE(0, "hclk_mac", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(3), 15, GFLAGS),
+ GATE(HCLK_MAC, "hclk_mac", "hclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(3), 15, GFLAGS),
/* pclk_peri gates */
GATE(0, "pclk_peri_matrix", "pclk_peri", CLK_IGNORE_UNUSED, RK2928_CLKGATE_CON(4), 1, GFLAGS),
diff --git a/include/dt-bindings/clock/rk3036-cru.h b/include/dt-bindings/clock/rk3036-cru.h
index ebc7a7b..3396591 100644
--- a/include/dt-bindings/clock/rk3036-cru.h
+++ b/include/dt-bindings/clock/rk3036-cru.h
@@ -92,6 +92,7 @@
#define HCLK_SDMMC 456
#define HCLK_SDIO 457
#define HCLK_EMMC 459
+#define HCLK_MAC 460
#define HCLK_I2S 462
#define HCLK_LCDC 465
#define HCLK_ROM 467
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/5] fix some clock configuration for the RK3036 platform Xing Zheng <zhengxing@rock-chips.com> - 2016-01-07 13:20 +0100
[PATCH v2 3/5] clk: rockchip: rk3036: fix the div offset for emac clock Xing Zheng <zhengxing@rock-chips.com> - 2016-01-07 13:20 +0100
[PATCH v2 2/5] clk: rockchip: rk3036: fix uarts clock error Xing Zheng <zhengxing@rock-chips.com> - 2016-01-07 13:20 +0100
[PATCH v2 1/5] clk: rockchip: rk3036: fix the FLAGs for clock mux Xing Zheng <zhengxing@rock-chips.com> - 2016-01-07 13:20 +0100
[PATCH v2 4/5] clk: rockchip: rk3036: rename emac ext source clock Xing Zheng <zhengxing@rock-chips.com> - 2016-01-07 13:20 +0100
[PATCH v2 5/5] clk: rockchip: rk3036: add HCLK_MAC id for emac Xing Zheng <zhengxing@rock-chips.com> - 2016-01-07 13:30 +0100
Re: [PATCH v2 0/5] fix some clock configuration for the RK3036 platform Heiko Stuebner <heiko@sntech.de> - 2016-01-09 21:40 +0100
Re: [PATCH v2 0/5] fix some clock configuration for the RK3036 platform Xing Zheng <zhengxing@rock-chips.com> - 2016-01-10 08:30 +0100
csiph-web