From 4941995dbd3ff112f34b07755c712ae33a140783 Mon Sep 17 00:00:00 2001 From: Liang Chen Date: Mon, 18 Mar 2024 17:40:18 +0800 Subject: [PATCH] clk: rockchip: rk3576: mark clk_ref_mphy_26m as critical The power consumption of mphy will be abnormal when clk_ref_mphy_26m is disabled and PD_USB is power off/on. Signed-off-by: Liang Chen Change-Id: Icd67187494a22656a25454352ffcc06cc4321577 --- drivers/clk/rockchip/clk-rk3576.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3576.c b/drivers/clk/rockchip/clk-rk3576.c index 912f1da65a96..a50379250e8e 100644 --- a/drivers/clk/rockchip/clk-rk3576.c +++ b/drivers/clk/rockchip/clk-rk3576.c @@ -1571,7 +1571,7 @@ static struct rockchip_clk_branch rk3576_clk_branches[] __initdata = { COMPOSITE_NODIV(CLK_REF_PCIE1_PHY, "clk_ref_pcie1_phy", clk_ref_pcie0_phy_p, 0, RK3576_PHP_CLKSEL_CON(0), 14, 2, MFLAGS, RK3576_PHP_CLKGATE_CON(1), 8, GFLAGS), - COMPOSITE_NOMUX(CLK_REF_MPHY_26M, "clk_ref_mphy_26m", "ppll", 0, + COMPOSITE_NOMUX(CLK_REF_MPHY_26M, "clk_ref_mphy_26m", "ppll", CLK_IS_CRITICAL, RK3576_PHP_CLKSEL_CON(1), 0, 8, DFLAGS, RK3576_PHP_CLKGATE_CON(1), 9, GFLAGS),