From eff4ba14f72e9c89e48d4aa4aaf74aae65636f60 Mon Sep 17 00:00:00 2001 From: Krishna Kurapati Date: Thu, 17 Sep 2026 15:10:09 +0530 Subject: [PATCH] FROMLIST: phy: qualcomm: phy-qcom-eusb2-repeater: Fix SMB Power leakage issue On Glymur, it is observed that although the exit call is done, there is a power leakage seen on SMB2370 charger (which embeds the eUSB2 module as well). As per recommendation of HW team, disable the repeater during the exit call to prevent this power leakage. Reviewed-by: Konrad Dybcio Reviewed-by: Abel Vesa Link: https://lore.kernel.org/all/20260917-smb-repeater-power-leakage-v1-1-6d7311c3c03e@oss.qualcomm.com/ Signed-off-by: Krishna Kurapati --- drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c b/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c index efeec4709a15d..7db2fbff61638 100644 --- a/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c +++ b/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c @@ -229,7 +229,10 @@ static int eusb2_repeater_set_mode(struct phy *phy, static int eusb2_repeater_exit(struct phy *phy) { struct eusb2_repeater *rptr = phy_get_drvdata(phy); + struct regmap *regmap = rptr->regmap; + u32 base = rptr->base; + regmap_write(regmap, base + EUSB2_EN_CTL1, 0); return regulator_bulk_disable(rptr->cfg->num_vregs, rptr->vregs); }