clk: rockchip: fix DPHY gate locations on rk3368
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Fri, 5 Feb 2021 11:05:02 +0000 (12:05 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 6 Feb 2021 00:05:04 +0000 (01:05 +0100)
Fix the register and bits of the DPHY gate locations.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Link: https://lore.kernel.org/r/20210205110502.1850669-5-heiko@sntech.de
drivers/clk/rockchip/clk-rk3368.c

index 61413be..9a0dab9 100644 (file)
@@ -818,8 +818,8 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = {
         * pclk_vio gates
         * pclk_vio comes from the exactly same source as hclk_vio
         */
-       GATE(PCLK_DPHYRX, "pclk_dphyrx", "hclk_vio", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(14), 8, GFLAGS),
-       GATE(PCLK_DPHYTX0, "pclk_dphytx0", "hclk_vio", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(14), 8, GFLAGS),
+       GATE(PCLK_DPHYRX, "pclk_dphyrx", "hclk_vio", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(22), 11, GFLAGS),
+       GATE(PCLK_DPHYTX0, "pclk_dphytx0", "hclk_vio", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(22), 10, GFLAGS),
 
        /* pclk_pd_pmu gates */
        GATE(PCLK_PMUGRF, "pclk_pmugrf", "pclk_pd_pmu", CLK_IGNORE_UNUSED, RK3368_CLKGATE_CON(23), 5, GFLAGS),