From: chenxing Date: Wed, 22 Aug 2012 08:17:05 +0000 (+0800) Subject: rk2928:sdk: set hclk_otg0/1 parent to clk_hclk_usb_peri X-Git-Tag: firefly_0821_release~8873 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=948f4d5737da02f59db069ace8b11853437339d2;p=firefly-linux-kernel-4.4.55.git rk2928:sdk: set hclk_otg0/1 parent to clk_hclk_usb_peri --- diff --git a/arch/arm/mach-rk2928/clock_data.c b/arch/arm/mach-rk2928/clock_data.c index ab9105c758c7..5fea3a07123a 100644 --- a/arch/arm/mach-rk2928/clock_data.c +++ b/arch/arm/mach-rk2928/clock_data.c @@ -1876,8 +1876,8 @@ GATE_CLK(hclk_peri_axi_matrix, hclk_periph_pre, HCLK_PERI_AXI_MATRIX); GATE_CLK(hclk_peri_ahb_arbi, hclk_periph_pre, HCLK_PERI_ARBI); GATE_CLK(hclk_nandc, hclk_periph_pre, HCLK_NANDC); GATE_CLK(hclk_usb_peri, hclk_periph_pre, HCLK_USB_PERI); -GATE_CLK(hclk_otg0, hclk_periph_pre, HCLK_OTG0); -GATE_CLK(hclk_otg1, hclk_periph_pre, HCLK_OTG1); +GATE_CLK(hclk_otg0, clk_hclk_usb_peri, HCLK_OTG0); // is not parent in clk tree, but when hclk_otg0/1 open, +GATE_CLK(hclk_otg1, clk_hclk_usb_peri, HCLK_OTG1); // must open hclk_usb_peri GATE_CLK(hclk_i2s, hclk_periph_pre, HCLK_I2S); GATE_CLK(hclk_sdmmc0, hclk_periph_pre, HCLK_SDMMC0); GATE_CLK(hclk_sdio, hclk_periph_pre, HCLK_SDIO);