From f9822a38d1fc1abab83d48cf9233b025512b3b51 Mon Sep 17 00:00:00 2001 From: Xu Jianqun Date: Tue, 2 Feb 2016 15:41:33 +0800 Subject: [PATCH] clk: rockchip: add SCLK_CRYPTO for rk3368 crypto Change-Id: I5ea4bca3e164df50e720ef748f8ece4511330d70 Signed-off-by: Xu Jianqun --- drivers/clk/rockchip/clk-rk3368.c | 2 +- include/dt-bindings/clock/rk3368-cru.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c index 71f06b1c1aed..051ff87b8c31 100644 --- a/drivers/clk/rockchip/clk-rk3368.c +++ b/drivers/clk/rockchip/clk-rk3368.c @@ -320,7 +320,7 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = { COMPOSITE_NOMUX(HCLK_BUS, "hclk_bus", "aclk_bus_src", CLK_IGNORE_UNUSED, RK3368_CLKSEL_CON(8), 8, 2, DFLAGS, RK3368_CLKGATE_CON(1), 1, GFLAGS), - COMPOSITE_NOMUX(0, "sclk_crypto", "aclk_bus_src", 0, + COMPOSITE_NOMUX(SCLK_CRYPTO, "sclk_crypto", "aclk_bus_src", 0, RK3368_CLKSEL_CON(10), 14, 2, DFLAGS, RK3368_CLKGATE_CON(7), 2, GFLAGS), diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h index 5816fc93032e..2d70733d7ed5 100644 --- a/include/dt-bindings/clock/rk3368-cru.h +++ b/include/dt-bindings/clock/rk3368-cru.h @@ -83,6 +83,7 @@ #define SCLK_MAC 127 #define SCLK_MACREF_OUT 128 #define SCLK_MIPIDSI_24M 129 +#define SCLK_CRYPTO 130 #define DCLK_VOP 190 #define MCLK_CRYPTO 191 -- 2.34.1