From: Frank Wang Date: Tue, 28 Mar 2017 09:27:01 +0000 (+0800) Subject: clk: rockchip: rk3288: add gate id of hclk_usb_peri for usb otg X-Git-Tag: firefly_0821_release~205 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=696b3f25a28ab6b29cb3c385e02d75f6ff36e30e;p=firefly-linux-kernel-4.4.55.git clk: rockchip: rk3288: add gate id of hclk_usb_peri for usb otg Change-Id: Ib45f6d97ec81329ec9a4a19e9e836efa0ea61fe2 Signed-off-by: Frank Wang --- diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c index f1300fd5a93f..2fd36beb6d3e 100644 --- a/drivers/clk/rockchip/clk-rk3288.c +++ b/drivers/clk/rockchip/clk-rk3288.c @@ -701,7 +701,7 @@ static struct rockchip_clk_branch rk3288_clk_branches[] __initdata = { GATE(HCLK_USBHOST0, "hclk_host0", "hclk_peri", 0, RK3288_CLKGATE_CON(7), 6, GFLAGS), GATE(HCLK_USBHOST1, "hclk_host1", "hclk_peri", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(7), 7, GFLAGS), GATE(HCLK_HSIC, "hclk_hsic", "hclk_peri", 0, RK3288_CLKGATE_CON(7), 8, GFLAGS), - GATE(0, "hclk_usb_peri", "hclk_peri", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(7), 9, GFLAGS), + GATE(HCLK_USB_PERI, "hclk_usb_peri", "hclk_peri", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(7), 9, GFLAGS), GATE(0, "hclk_peri_ahb_arbi", "hclk_peri", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(7), 10, GFLAGS), GATE(0, "hclk_emem", "hclk_peri", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(7), 12, GFLAGS), GATE(0, "hclk_mem", "hclk_peri", CLK_IGNORE_UNUSED, RK3288_CLKGATE_CON(7), 13, GFLAGS), diff --git a/include/dt-bindings/clock/rk3288-cru.h b/include/dt-bindings/clock/rk3288-cru.h index d7b6c83ea63f..fb95e737ffc5 100644 --- a/include/dt-bindings/clock/rk3288-cru.h +++ b/include/dt-bindings/clock/rk3288-cru.h @@ -203,6 +203,7 @@ #define HCLK_VCODEC 476 #define HCLK_CPU 477 #define HCLK_PERI 478 +#define HCLK_USB_PERI 479 #define CLK_NR_CLKS (HCLK_PERI + 1)