Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

phy: phy-mtk-tphy: keep default value of mcu_bus_ck_gate_en

The default value of mcu_bus_ck_gate_en is 1, if clear it, will
prevent system to enter deep idle mode, so keep its default value
and without affecting PCIe function.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Chunfeng Yun and committed by
Kishon Vijay Abraham I
40363256 124380cb

+1 -2
+1 -2
drivers/phy/mediatek/phy-mtk-tphy.c
··· 688 688 u32 tmp; 689 689 690 690 tmp = readl(bank->chip + U3P_U3_CHIP_GPIO_CTLD); 691 - tmp &= ~(P3C_FORCE_IP_SW_RST | P3C_MCU_BUS_CK_GATE_EN | 692 - P3C_REG_IP_SW_RST); 691 + tmp &= ~(P3C_FORCE_IP_SW_RST | P3C_REG_IP_SW_RST); 693 692 writel(tmp, bank->chip + U3P_U3_CHIP_GPIO_CTLD); 694 693 695 694 tmp = readl(bank->chip + U3P_U3_CHIP_GPIO_CTLE);