diff options
author | Finley Xiao <finley.xiao@rock-chips.com> | 2016-11-16 11:46:20 +0800 |
---|---|---|
committer | Huang, Tao <huangtao@rock-chips.com> | 2016-11-16 18:33:39 +0800 |
commit | 126dca84f6a1ab745ded352083441b880e979628 (patch) | |
tree | 18d935c0d909b5256b0f1f51fc94fc9c62687784 | |
parent | 7e8031c9295075deadde3532af1ecc6aab7146e7 (diff) |
clk: rockchip: add clock ids for efuse on RK3366
Set the newly added id for efuse, so that they can be called
in other parts.
Change-Id: Id372ca207901aed689304f862412b2cf1e08fa80
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
-rw-r--r-- | drivers/clk/rockchip/clk-rk3366.c | 4 | ||||
-rw-r--r-- | include/dt-bindings/clock/rk3366-cru.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/clk/rockchip/clk-rk3366.c b/drivers/clk/rockchip/clk-rk3366.c index 2c44dc4312c9..e69899874516 100644 --- a/drivers/clk/rockchip/clk-rk3366.c +++ b/drivers/clk/rockchip/clk-rk3366.c @@ -643,8 +643,8 @@ static struct rockchip_clk_branch rk3366_clk_branches[] __initdata = { GATE(PCLK_I2C1, "pclk_i2c1", "pclk_bus", 0, RK3368_CLKGATE_CON(12), 3, GFLAGS), GATE(PCLK_DDRUPCTL, "pclk_ddrupctl", "pclk_bus", 0, RK3368_CLKGATE_CON(12), 13, GFLAGS), GATE(PCLK_DDRPHY, "pclk_ddrphy", "pclk_bus", 0, RK3368_CLKGATE_CON(12), 14, GFLAGS), - GATE(0, "pclk_efuse_1024", "pclk_bus", 0, RK3368_CLKGATE_CON(13), 0, GFLAGS), - GATE(0, "pclk_efuse_256", "pclk_bus", 0, RK3368_CLKGATE_CON(13), 1, GFLAGS), + GATE(PCLK_EFUSE_1024, "pclk_efuse_1024", "pclk_bus", 0, RK3368_CLKGATE_CON(13), 0, GFLAGS), + GATE(PCLK_EFUSE_256, "pclk_efuse_256", "pclk_bus", 0, RK3368_CLKGATE_CON(13), 1, GFLAGS), GATE(PCLK_UART2, "pclk_uart2", "pclk_bus", 0, RK3368_CLKGATE_CON(13), 5, GFLAGS), GATE(PCLK_RKPWM, "pclk_rk_pwm", "pclk_bus", 0, RK3368_CLKGATE_CON(13), 6, GFLAGS), GATE(0, "pclk_ddrnoc", "pclk_bus", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(13), 10, GFLAGS), diff --git a/include/dt-bindings/clock/rk3366-cru.h b/include/dt-bindings/clock/rk3366-cru.h index 0ae354989c50..31ae3993b123 100644 --- a/include/dt-bindings/clock/rk3366-cru.h +++ b/include/dt-bindings/clock/rk3366-cru.h @@ -170,6 +170,8 @@ #define PCLK_PERI1 363 #define PCLK_MIPI_DSI0 364 #define PCLK_ISP 365 +#define PCLK_EFUSE_1024 366 +#define PCLK_EFUSE_256 367 /* hclk gates */ #define HCLK_I2S_8CH 448 |