From 7ef8499669b6a15a870d9b5a7e54306ba4eaa446 Mon Sep 17 00:00:00 2001 From: Xu Jianqun Date: Tue, 2 Feb 2016 16:29:56 +0800 Subject: [PATCH] clk: rockchip: add HCLK_USB_PERI for rk3368 usb Change-Id: Ib1fad4af45ac5ba42ddd97918385aee3bd58e18e 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 051ff87b8c31..9ff58bf1dfd3 100644 --- a/drivers/clk/rockchip/clk-rk3368.c +++ b/drivers/clk/rockchip/clk-rk3368.c @@ -752,7 +752,7 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = { GATE(0, "hclk_mmc_peri", "hclk_peri", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(20), 10, GFLAGS), GATE(0, "hclk_emem_peri", "hclk_peri", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(20), 9, GFLAGS), GATE(0, "hclk_peri_ahb_arbi", "hclk_peri", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(20), 7, GFLAGS), - GATE(0, "hclk_usb_peri", "hclk_peri", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(20), 6, GFLAGS), + GATE(HCLK_USB_PERI, "hclk_usb_peri", "hclk_peri", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(20), 6, GFLAGS), GATE(HCLK_HSIC, "hclk_hsic", "hclk_peri", 0, RK3368_CLKGATE_CON(20), 5, GFLAGS), GATE(HCLK_HOST1, "hclk_host1", "hclk_peri", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(20), 4, GFLAGS), GATE(HCLK_HOST0, "hclk_host0", "hclk_peri", 0, RK3368_CLKGATE_CON(20), 3, GFLAGS), diff --git a/include/dt-bindings/clock/rk3368-cru.h b/include/dt-bindings/clock/rk3368-cru.h index 2d70733d7ed5..d929b6c53d28 100644 --- a/include/dt-bindings/clock/rk3368-cru.h +++ b/include/dt-bindings/clock/rk3368-cru.h @@ -157,6 +157,7 @@ #define PCLK_DPHYTX0 370 /* hclk gates */ +#define HCLK_USB_PERI 447 #define HCLK_SFC 448 #define HCLK_OTG0 449 #define HCLK_HOST0 450 -- 2.34.1