android_kernel_xiaomi_sm8350/msm/dp
Sankeerth Billakanti fb9ea90d58 disp: msm: dp: reset combo phy if peer_usb_comm is disabled
Some Type-C multi-port adapters which do not support usb connection
are advertising the multi-functionality in DP alt mode. If
multi-functionality is preferred, the DP driver assumes the adapter
supports usb connection and USB phy driver will program the PHY mode
to DP+USB.

In source mode, usb PD driver checks for the peer_usb_connection
of the adapter. If it does not support usb then it will stop usb stack
and update the PHY MODE to USB only mode from phy_suspend path.
The result is, usb may program the combo PHY to usb only mode when DP
is already connected. This is causing AUX read/write timeouts when DP
is trying to access the phy registers.

To fix this issue, a flag in SVID connect handler in usbpd driver to
notify peer_usb_comm support to the DP driver. DP driver will read this
flag and program the phy mode.

Change-Id: I0164b239bf2832d480795d90f5e9fc221bcc12ba
Signed-off-by: Sankeerth Billakanti <sbillaka@codeaurora.org>
2019-10-14 10:42:57 -07:00
..
dp_audio.c disp: msm: dp: Fix incorrect NULL pointer check 2019-09-13 12:33:24 -07:00
dp_audio.h Display drivers kernel project initial snapshot 2019-04-14 22:20:59 -07:00
dp_aux.c disp: msm: dp: synchronize debug and aux common buffer handling 2019-08-06 15:32:21 -07:00
dp_aux.h disp: msm: dp: synchronize debug and aux common buffer handling 2019-08-06 15:32:21 -07:00
dp_catalog_v200.c disp: msm: dp: fix register read/write delays 2019-08-06 12:55:48 -07:00
dp_catalog_v420.c Merge "drm: msm: dp: change voltage swing levels for lito/kona" 2019-09-20 03:50:39 -07:00
dp_catalog.c disp: msm: dp: reset combo phy if peer_usb_comm is disabled 2019-10-14 10:42:57 -07:00
dp_catalog.h disp: msm: dp: fix register read/write delays 2019-08-06 12:55:48 -07:00
dp_ctrl.c drm: msm: dp: Fix DSC and FEC handling 2019-09-13 15:59:59 -04:00
dp_ctrl.h drm: msm: dp: Fix DSC and FEC handling 2019-09-13 15:59:59 -04:00
dp_debug.c disp: msm: dp: synchronize debug and aux common buffer handling 2019-08-06 15:32:21 -07:00
dp_debug.h disp: msm: dp: adding prefix for logs 2019-07-23 09:14:04 -07:00
dp_display.c disp: msm: dp: reset combo phy if peer_usb_comm is disabled 2019-10-14 10:42:57 -07:00
dp_display.h disp: msm: dp: add colorspace property for MSM DP 2019-07-24 17:24:27 -07:00
dp_drm.c disp: msm: update topology based on clock requirement 2019-09-20 14:39:54 -07:00
dp_drm.h disp: msm: add changes for bengal target compilation 2019-09-18 19:32:32 +05:30
dp_gpio_hpd.c disp: msm: dp: adding prefix for logs 2019-07-23 09:14:04 -07:00
dp_gpio_hpd.h Display drivers kernel project initial snapshot 2019-04-14 22:20:59 -07:00
dp_hdcp2p2.c disp: msm: dp: adding prefix for logs 2019-07-23 09:14:04 -07:00
dp_hpd.c disp: msm: dp: adding prefix for logs 2019-07-23 09:14:04 -07:00
dp_hpd.h disp: msm: dp: reset combo phy if peer_usb_comm is disabled 2019-10-14 10:42:57 -07:00
dp_link.c disp: msm: dp: fix locking in hotplug processing 2019-09-09 14:13:00 -07:00
dp_link.h disp: msm: dp: Enable pre-emphasis level 3 2019-07-25 14:43:40 -07:00
dp_lphw_hpd.c disp: msm: dp: adding prefix for logs 2019-07-23 09:14:04 -07:00
dp_lphw_hpd.h Display drivers kernel project initial snapshot 2019-04-14 22:20:59 -07:00
dp_mst_drm.c Merge "disp: msm: dp: Detect failure cases when setting mst topology manager" 2019-09-19 23:35:26 -07:00
dp_panel.c Merge "disp: msm: dp: Check if DP version supports FEC and DSC" 2019-10-11 12:10:08 -07:00
dp_panel.h disp: msm: dp: Ensure sink supports DSC decoding of selected BPC 2019-10-08 14:37:38 -07:00
dp_parser.c disp: msm: dp: adding prefix for logs 2019-07-23 09:14:04 -07:00
dp_parser.h Display drivers kernel project initial snapshot 2019-04-14 22:20:59 -07:00
dp_power.c disp: msm: dp: adding prefix for logs 2019-07-23 09:14:04 -07:00
dp_power.h disp: msm: add runtime_pm ops support in drm driver 2019-04-24 13:27:48 -07:00
dp_reg.h disp: pll: fix sequence as per hardware recommendations 2019-07-12 16:44:05 -07:00
dp_usbpd.c disp: msm: dp: reset combo phy if peer_usb_comm is disabled 2019-10-14 10:42:57 -07:00
dp_usbpd.h Display drivers kernel project initial snapshot 2019-04-14 22:20:59 -07:00