]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: qcom: qmp-usbc: Move reset config into PHY cfg
authorXiangxu Yin <xiangxu.yin@oss.qualcomm.com>
Mon, 15 Dec 2025 12:42:01 +0000 (20:42 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 17:41:04 +0000 (23:11 +0530)
commit5b2dd08459ad1f61dc7037032a5230c0efd9d797
tree104014079d60445d676e98be3ad4ef50fef06997
parent3b19374825676e0b548b808772f5ecbe8af4f9da
phy: qcom: qmp-usbc: Move reset config into PHY cfg

The original reset list only works for USB-only PHYs. USB3DP PHYs require
different reset names such as "dp_phy", so they need a separate list.

Moving reset configuration into qmp_phy_cfg allows per-PHY customization
without adding special-case logic in DT parsing. The legacy DT path keeps
using the old hardcoded list, while non-legacy paths use cfg->reset_list.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>
Link: https://patch.msgid.link/20251215-add-displayport-support-for-qcs615-platform-v8-5-cbc72c88a44e@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-usbc.c