linux/drivers/phy/qualcomm
Abel Vesa 163c1a356a phy: qcom: qmp-combo: Switch from V6 to V6 N4 register offsets
Currently, none of the X1E80100 supported boards upstream have enabled
DP. As for USB, the reason it is not broken when it's obvious that the
offsets are wrong is because the only difference with respect to USB is
the difference in register name. The V6 uses QPHY_V6_PCS_CDR_RESET_TIME
while V6 N4 uses QPHY_V6_N4_PCS_RX_CONFIG. Now, in order for the DP to
work, the DP serdes tables need to be added as they have different
values for V6 N4 when compared to V6 ones, even though they use the same
V6 offsets. While at it, switch swing and pre-emphasis tables to V6 as
well.

Fixes: d7b3579f84 ("phy: qcom-qmp-combo: Add x1e80100 USB/DP combo phys")
Co-developed-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Signed-off-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240527-x1e80100-phy-qualcomm-combo-fix-dp-v1-3-be8a0b882117@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2024-06-03 19:30:47 +05:30
..
Kconfig phy: qcom: qmp-combo: switch to DRM_AUX_BRIDGE 2023-12-04 16:07:29 +02:00
Makefile phy: qcom: qmp-usb: split USB-C PHY driver 2024-01-23 19:36:54 +05:30
phy-ath79-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-qcom-apq8064-sata.c phy: qualcomm: Fix typos in comments 2023-09-21 16:24:00 +02:00
phy-qcom-edp.c phy: qcom: edp: Add v6 specific ops and X1E80100 platform support 2024-03-29 00:42:54 +05:30
phy-qcom-eusb2-repeater.c phy: qualcomm: phy-qcom-eusb2-repeater: Add support for SMB2360 2024-03-29 00:41:50 +05:30
phy-qcom-ipq806x-sata.c phy: qualcomm: phy-qcom-ipq806x-sata: Convert to platform remove callback returning void 2023-03-20 18:14:57 +05:30
phy-qcom-ipq806x-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-qcom-ipq4019-usb.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-qcom-m31.c phy: qcom: m31: match requested regulator name with dt schema 2024-04-07 12:49:42 +05:30
phy-qcom-pcie2.c phy: qualcomm: pcie2: register as clock provider 2023-01-12 22:44:29 +05:30
phy-qcom-qmp-combo.c phy: qcom: qmp-combo: Switch from V6 to V6 N4 register offsets 2024-06-03 19:30:47 +05:30
phy-qcom-qmp-common.h phy: qcom: qmp: move common functions to common header 2024-01-30 22:35:38 +05:30
phy-qcom-qmp-dp-com-v3.h phy: qcom: qmp: split DP PHY registers to separate headers 2024-01-30 22:35:38 +05:30
phy-qcom-qmp-dp-phy-v3.h phy: qcom: qmp: split DP PHY registers to separate headers 2024-01-30 22:35:38 +05:30
phy-qcom-qmp-dp-phy-v4.h phy: qcom: qmp: split DP PHY registers to separate headers 2024-01-30 22:35:38 +05:30
phy-qcom-qmp-dp-phy-v5.h phy: qcom: qmp-combo: fix VCO div offset on v5_5nm and v6 2024-04-12 16:56:28 +05:30
phy-qcom-qmp-dp-phy-v6.h phy: qcom: qmp-combo: fix VCO div offset on v5_5nm and v6 2024-04-12 16:56:28 +05:30
phy-qcom-qmp-dp-phy.h phy: qcom: qmp: split DP PHY registers to separate headers 2024-01-30 22:35:38 +05:30
phy-qcom-qmp-pcie-msm8996.c phy: qcom: qmp: move common bits definitions to common header 2024-01-30 22:35:38 +05:30
phy-qcom-qmp-pcie-qhp.h phy: qcom-qmp: move PCIE QHP registers to separate header 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-pcie.c phy: qcom-qmp-pcie: add x4 lane EP support for sa8775p 2024-05-04 17:36:56 +05:30
phy-qcom-qmp-pcs-misc-v3.h phy: qcom-qmp: move PCS V3 registers to separate headers 2022-07-07 10:35:59 +05:30
phy-qcom-qmp-pcs-misc-v4.h phy: qcom-qmp: move PCS MISC V4 registers to separate header 2023-09-21 15:53:58 +02:00
phy-qcom-qmp-pcs-pcie-v4_20.h phy: qcom-qmp-pcie: Add RC init sequence for SDX55 2023-03-20 18:14:55 +05:30
phy-qcom-qmp-pcs-pcie-v4.h phy: qcom-qmp: pcs-pcie-v4: add missing registers 2022-07-07 10:36:01 +05:30
phy-qcom-qmp-pcs-pcie-v5_20.h phy: qcom-qmp-pcie: add support for sa8775p 2023-07-18 11:37:10 +05:30
phy-qcom-qmp-pcs-pcie-v5.h phy: qcom-qmp-pcie: add support for sc8280xp 2022-11-10 12:34:55 +05:30
phy-qcom-qmp-pcs-pcie-v6_20.h phy: qcom: qmp-pcie: Update PCIe1 PHY settings for SM8550 2024-01-30 22:34:54 +05:30
phy-qcom-qmp-pcs-pcie-v6.h phy: qcom: qmp-pcie: Update PCIe0 PHY settings for SM8550 2024-01-30 22:34:54 +05:30
phy-qcom-qmp-pcs-sgmii.h phy: qcom: sgmii-eth: move PCS registers to separate header 2024-01-30 22:35:39 +05:30
phy-qcom-qmp-pcs-ufs-v2.h phy: qcom-qmp-ufs: rework regs layout arrays 2023-01-12 22:48:42 +05:30
phy-qcom-qmp-pcs-ufs-v3.h phy: qcom-qmp-ufs: rework regs layout arrays 2023-01-12 22:48:42 +05:30
phy-qcom-qmp-pcs-ufs-v4.h phy: qcom-qmp: move PCS V4 registers to separate headers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-pcs-ufs-v5.h phy: qcom-qmp-ufs: Add HS G4 mode support to SM8250 SoC 2023-01-17 11:54:57 +05:30
phy-qcom-qmp-pcs-ufs-v6.h phy: qcom: qmp-ufs: update SM8650 tables for Gear 4 & 5 2024-04-12 15:14:08 +05:30
phy-qcom-qmp-pcs-usb-v4.h phy: qcom-qmp: move PCS V4 registers to separate headers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-pcs-usb-v5.h phy: qcom-qmp: move PCS V5 registers to separate headers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-pcs-usb-v6.h phy: qcom-qmp-combo: use v6 registers in v6 regs layout 2023-10-13 15:35:21 +05:30
phy-qcom-qmp-pcs-usb-v7.h phy: qcom-qmp: pcs-usb: Add v7 register offsets 2023-12-21 22:37:39 +05:30
phy-qcom-qmp-pcs-v2.h phy: qcom-qmp-usb: rework regs layout arrays 2023-01-12 22:48:42 +05:30
phy-qcom-qmp-pcs-v3.h phy: qcom-qmp: pcs-v3: add missing registers 2022-07-07 10:36:01 +05:30
phy-qcom-qmp-pcs-v4_20.h phy: qcom-qmp: split allegedly 4.20 and 5.20 PCS registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-pcs-v4.h phy: qcom-qmp: move PCS V4 registers to separate headers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-pcs-v5_20.h phy: qcom-qmp-pcie: add endpoint support for sa8775p 2023-10-23 11:54:21 +05:30
phy-qcom-qmp-pcs-v5.h phy: qcom-qmp-pcie: rename regs layout arrays 2023-01-12 22:48:41 +05:30
phy-qcom-qmp-pcs-v6_20.h phy: qcom: qmp-pcie: Update PCIe1 PHY settings for SM8550 2024-01-30 22:34:54 +05:30
phy-qcom-qmp-pcs-v6-n4.h phy: qcom-qmp: pcs: Add missing v6 N4 register offsets 2024-06-03 19:30:47 +05:30
phy-qcom-qmp-pcs-v6.h phy: qcom-qmp-combo: use v6 registers in v6 regs layout 2023-10-13 15:35:21 +05:30
phy-qcom-qmp-pcs-v7.h phy: qcom-qmp: pcs: Add v7 register offsets 2023-12-21 22:37:39 +05:30
phy-qcom-qmp-qserdes-com-v3.h phy: qcom-qmp: qserdes-com-v3: add missing registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-qserdes-com-v4.h phy: qcom-qmp: qserdes-com-v4: add missing registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-qserdes-com-v5.h phy: qcom-qmp: qserdes-com-v5: add missing registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-qserdes-com-v6.h phy: qualcomm: phy-qcom-qmp-ufs: Add High Speed Gear 5 support for SM8550 2024-01-23 19:31:36 +05:30
phy-qcom-qmp-qserdes-com-v7.h phy: qcom-qmp: qserdes-com: Add v7 register offsets 2023-12-21 22:37:39 +05:30
phy-qcom-qmp-qserdes-com.h phy: qcom-qmp: fix typo in QSERDES_COM_CMN_RSVD5 value 2023-01-12 22:48:41 +05:30
phy-qcom-qmp-qserdes-ln-shrd-v6.h phy: qcom-qmp: qserdes-lane-shared: Add v6 register offsets 2023-02-10 22:28:00 +05:30
phy-qcom-qmp-qserdes-pll.h phy: qcom-qmp: move QSERDES PLL registers to separate header 2022-07-07 10:35:59 +05:30
phy-qcom-qmp-qserdes-txrx-ufs-v6.h phy: qcom: qmp-ufs: update SM8650 tables for Gear 4 & 5 2024-04-12 15:14:08 +05:30
phy-qcom-qmp-qserdes-txrx-v3.h phy: qcom-qmp: qserdes-com-v3: add missing registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-qserdes-txrx-v4_20.h phy: qcom-qmp: split allegedly 4.20 and 5.20 TX/RX registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-qserdes-txrx-v4.h phy: qcom-qmp: qserdes-com-v4: add missing registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-qserdes-txrx-v5_5nm.h phy: qcom-qmp: remove duplicate v5_5nm register definitions 2023-01-12 22:48:41 +05:30
phy-qcom-qmp-qserdes-txrx-v5_20.h phy: qcom-qmp-pcie: add support for sa8775p 2023-07-18 11:37:10 +05:30
phy-qcom-qmp-qserdes-txrx-v5.h phy: qcom-qmp: qserdes-com-v5: add missing registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-qserdes-txrx-v6_20.h phy: qcom: qmp-pcie: Update PCIe1 PHY settings for SM8550 2024-01-30 22:34:54 +05:30
phy-qcom-qmp-qserdes-txrx-v6_n4.h phy: qcom-qmp: qserdes-txrx: Add missing registers offsets 2024-06-03 19:30:47 +05:30
phy-qcom-qmp-qserdes-txrx-v6.h phy: qcom-qmp: qserdes-com: Add some more v6 register offsets 2023-12-21 22:37:39 +05:30
phy-qcom-qmp-qserdes-txrx-v7.h phy: qcom-qmp: qserdes-txrx: Add v7 register offsets 2023-12-21 22:37:39 +05:30
phy-qcom-qmp-qserdes-txrx.h phy: qcom-qmp: qserdes-com: add missing registers 2022-07-07 10:36:00 +05:30
phy-qcom-qmp-ufs.c phy: qcom: qmp-ufs: update SM8650 tables for Gear 4 & 5 2024-04-12 15:14:08 +05:30
phy-qcom-qmp-usb-legacy.c phy: qcom: qmp: move common bits definitions to common header 2024-01-30 22:35:38 +05:30
phy-qcom-qmp-usb.c phy: qcpm-qmp-usb: Add support for QDU1000/QRU1000 2024-05-04 17:39:06 +05:30
phy-qcom-qmp-usbc.c phy: qcom: qmp-usbc: drop has_pwrdn_delay handling 2024-01-30 22:35:38 +05:30
phy-qcom-qmp.h phy: qcom: qmp-combo: Switch from V6 to V6 N4 register offsets 2024-06-03 19:30:47 +05:30
phy-qcom-qusb2.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-qcom-sgmii-eth.c phy: qcom: sgmii-eth: move PCS registers to separate header 2024-01-30 22:35:39 +05:30
phy-qcom-snps-eusb2.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-qcom-snps-femto-v2.c phy-for-6.6 2023-09-03 10:38:02 -07:00
phy-qcom-usb-hs-28nm.c phy: Revert "phy: qualcomm: usb28nm: Add MDM9607 init sequence" 2023-01-13 23:15:42 +05:30
phy-qcom-usb-hs.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-qcom-usb-hsic.c phy: qualcomm: call clk_disable_unprepare in the error handling 2022-09-24 12:48:10 +05:30
phy-qcom-usb-ss.c phy: qualcomm: usb: Add SuperSpeed PHY driver 2020-03-20 19:34:29 +05:30