disp: msm: dp: add dp aux bridge framework support

Create the framework to support external dp aux bridge device which
can handle DPCD/I2C/HPD from external.

Change-Id: Iabd0998efc8bf7134d186b1751d219c00217385c
Signed-off-by: Xiaowen Wu <wxiaowen@codeaurora.org>
Signed-off-by: Karim Henain <khenain@codeaurora.org>
Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
This commit is contained in:
Xiaowen Wu
2019-10-29 17:00:49 -04:00
committed by Sudarsan Ramesh
parent b1120f3470
commit bdf97a004b
10 changed files with 567 additions and 13 deletions

View File

@@ -8,6 +8,7 @@
#include "dp_catalog.h"
#include "drm/drm_dp_helper.h"
#include "dp_aux_bridge.h"
#define DP_STATE_NOTIFICATION_SENT BIT(0)
#define DP_STATE_TRAIN_1_STARTED BIT(1)
@@ -57,7 +58,8 @@ struct dp_aux {
};
struct dp_aux *dp_aux_get(struct device *dev, struct dp_catalog_aux *catalog,
struct dp_parser *parser, struct device_node *aux_switch);
struct dp_parser *parser, struct device_node *aux_switch,
struct dp_aux_bridge *aux_bridge);
void dp_aux_put(struct dp_aux *aux);
#endif /*__DP_AUX_H_*/