diff mbox

[v2,2/4] clk: rockchip: rv1108: add ACLK_GMAC and PCLK_GMAC clk id

Message ID 1503303367-17915-3-git-send-email-zhangqing@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

zhangqing Aug. 21, 2017, 8:16 a.m. UTC
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
---
 drivers/clk/rockchip/clk-rv1108.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

David Wu Aug. 21, 2017, 10:23 a.m. UTC | #1
Hi Elaine,

在 2017/8/21 16:16, Elaine Zhang 写道:
> Signed-off-by: Elaine Zhang<zhangqing@rock-chips.com>
> ---
>   drivers/clk/rockchip/clk-rv1108.c | 2 ++
>   1 file changed, 2 insertions(+)

Acked-by: David Wu <david.wu@rock-chips.com>
Heiko Stuebner Aug. 22, 2017, 12:52 a.m. UTC | #2
Am Montag, 21. August 2017, 16:16:05 CEST schrieb Elaine Zhang:
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>

applied for 4.14 after adapting the subject and adding a commit message


Heiko
diff mbox

Patch

diff --git a/drivers/clk/rockchip/clk-rv1108.c b/drivers/clk/rockchip/clk-rv1108.c
index d1065dd9f442..0e441ec21e90 100644
--- a/drivers/clk/rockchip/clk-rv1108.c
+++ b/drivers/clk/rockchip/clk-rv1108.c
@@ -763,6 +763,8 @@  enum rv1108_plls {
 	GATE(SCLK_MACPHY_RX, "sclk_macphy_rx", "sclk_macphy", 0, RV1108_CLKGATE_CON(4), 8, GFLAGS),
 	GATE(SCLK_MAC_REF, "sclk_mac_ref", "sclk_macphy", 0, RV1108_CLKGATE_CON(4), 6, GFLAGS),
 	GATE(SCLK_MAC_REFOUT, "sclk_mac_refout", "sclk_macphy", 0, RV1108_CLKGATE_CON(4), 7, GFLAGS),
+	GATE(ACLK_GMAC, "aclk_gmac", "aclk_periph", 0, RV1108_CLKGATE_CON(15), 4, GFLAGS),
+	GATE(PCLK_GMAC, "pclk_gmac", "pclk_periph", 0, RV1108_CLKGATE_CON(15), 5, GFLAGS),
 
 	MMC(SCLK_SDMMC_DRV,    "sdmmc_drv",    "sclk_sdmmc", RV1108_SDMMC_CON0, 1),
 	MMC(SCLK_SDMMC_SAMPLE, "sdmmc_sample", "sclk_sdmmc", RV1108_SDMMC_CON1, 1),