mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
clk: tm2: disable the pcie pll internal module when suspend [1/1]
PD#SWPL-15470 Problem: tm2 pcie pll power dissipation is high when suspend Solution: disable the pcie pll internal module when suspend Verify: tm2 Change-Id: I298a7a15c58ebd68c379b0281284d71425207b0e Signed-off-by: Jian Hu <jian.hu@amlogic.com>
This commit is contained in:
@@ -507,6 +507,9 @@ static void meson_tl1_pll_disable(struct clk_hw *hw)
|
||||
writel(readl(pll->base + p->reg_off) & (~MESON_PLL_ENABLE),
|
||||
pll->base + p->reg_off);
|
||||
|
||||
if (!strcmp(clk_hw_get_name(hw), "pcie_pll"))
|
||||
writel(0x60000000, pll->base + p->reg_off + 54 * 4);
|
||||
|
||||
if (pll->lock)
|
||||
spin_unlock_irqrestore(pll->lock, flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user