mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
phy: qcom-qusb2: Add support for Shikra
Add init sequence and phy configuration for Shikra. Since the init sequence is same as that of QCS615, reuse the existing init table in Shikra. Signed-off-by: Krishna Kurapati <krishna.kurapati@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://patch.msgid.link/20260712-usb-shikra-phy-v6-v6-3-1b3e51bf1541@oss.qualcomm.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
49e3105844
commit
346121aed2
|
|
@ -381,6 +381,17 @@ static const struct qusb2_phy_cfg sdm660_phy_cfg = {
|
|||
.autoresume_en = BIT(3),
|
||||
};
|
||||
|
||||
static const struct qusb2_phy_cfg shikra_phy_cfg = {
|
||||
.tbl = qcs615_init_tbl,
|
||||
.tbl_num = ARRAY_SIZE(qcs615_init_tbl),
|
||||
.regs = msm8996_regs_layout,
|
||||
|
||||
.has_pll_test = true,
|
||||
.se_clk_scheme_default = true,
|
||||
.disable_ctrl = CLAMP_N_EN | FREEZIO_N | POWER_DOWN,
|
||||
.mask_core_ready = PLL_LOCKED,
|
||||
};
|
||||
|
||||
static const struct qusb2_phy_cfg sm6115_phy_cfg = {
|
||||
.tbl = sm6115_init_tbl,
|
||||
.tbl_num = ARRAY_SIZE(sm6115_init_tbl),
|
||||
|
|
@ -958,6 +969,9 @@ static const struct of_device_id qusb2_phy_of_match_table[] = {
|
|||
}, {
|
||||
.compatible = "qcom,sdm660-qusb2-phy",
|
||||
.data = &sdm660_phy_cfg,
|
||||
}, {
|
||||
.compatible = "qcom,shikra-qusb2-phy",
|
||||
.data = &shikra_phy_cfg,
|
||||
}, {
|
||||
.compatible = "qcom,sm4250-qusb2-phy",
|
||||
.data = &sm6115_phy_cfg,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user