disp: msm: dp: perform mst phy operations during suspend resume

Perform mst phy operations during suspend/resume
to allow sinks to be in a correct state. A usbpd
api must also be called before and after the phy
operations to allow the system to go into deep
suspend and resume in a timely manner.

CRs-Fixed: 2363921
Change-Id: Ie21ef9b1caf2044e598466373a6059d2a1e5e58c
Signed-off-by: Fuad Hossain <fhossain@codeaurora.org>
This commit is contained in:
Fuad Hossain
2019-05-15 14:37:39 -04:00
förälder 74f328561e
incheckning ac1149d273
5 ändrade filer med 53 tillägg och 1 borttagningar

Visa fil

@@ -54,6 +54,7 @@ struct dp_hpd_cb {
* @host_deinit: source or host side de-initializations
* @simulate_connect: simulate disconnect or connect for debug mode
* @simulate_attention: simulate attention messages for debug mode
* @wakeup_phy: wakeup USBPD phy layer
*/
struct dp_hpd {
enum dp_hpd_type type;
@@ -69,6 +70,7 @@ struct dp_hpd {
void (*host_deinit)(struct dp_hpd *hpd, struct dp_catalog_hpd *catalog);
int (*simulate_connect)(struct dp_hpd *dp_hpd, bool hpd);
int (*simulate_attention)(struct dp_hpd *dp_hpd, int vdo);
void (*wakeup_phy)(struct dp_hpd *dp_hpd, bool wakeup);
};
/**