Repository navigation
phy: qcom: qmp-combo: Fix X1E80100 offsets table to enable PCS_AON cl… - #1357
tapas-rana2811 wants to merge 1 commit into
Conversation
…amp control x1e80100_usb3dpphy_cfg uses qmp_v6_n4_usb3phy_regs_layout for .regs, which maps QPHY_PCS_CLAMP_ENABLE to QPHY_V6_PCS_AON_CLAMP_ENABLE, expecting the clamp-enable bit in the pcs_aon region. But its .offsets points to qmp_combo_offsets_v5, which has no usb3_pcs_aon member, so qmp->pcs_aon is never mapped. This forces qmp_combo_enable/disable_autonomous_mode() to fall back to pcs_misc and write the AON clamp offset there instead, so the I/O clamp is not correctly controlled during USB autonomous mode. Add qmp_combo_offsets_v6, identical to qmp_combo_offsets_v5 but with usb3_pcs_aon = 0x0100 set, and point x1e80100_usb3dpphy_cfg.offsets at it instead. Signed-off-by: Tapas Rana <taparana@qti.qualcomm.com>
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4673342 on any of the following entities: Entities:
CR: 4673342 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
PR #1357 — validate-patchPR: #1357
Final Summary
|
PR #1357 — checker-log-analyzerPR: #1357
Detailed report: Full report
|
…amp control
CRs-fixed: 4673342
x1e80100_usb3dpphy_cfg uses qmp_v6_n4_usb3phy_regs_layout for .regs, which maps QPHY_PCS_CLAMP_ENABLE to QPHY_V6_PCS_AON_CLAMP_ENABLE, expecting the clamp-enable bit in the pcs_aon region. But its .offsets points to qmp_combo_offsets_v5, which has no usb3_pcs_aon member, so qmp->pcs_aon is never mapped. This forces qmp_combo_enable/disable_autonomous_mode() to fall back to pcs_misc and write the AON clamp offset there instead, so the I/O clamp is not correctly controlled during USB autonomous mode.
Add qmp_combo_offsets_v6, identical to qmp_combo_offsets_v5 but with usb3_pcs_aon = 0x0100 set, and point x1e80100_usb3dpphy_cfg.offsets at it instead.