Add the needed displayPort files to enable DP driver on msm target. "dp_display" module is the main module that calls into other sub-modules. "dp_drm" file represents the interface between DRM framework and DP driver. Changes in v12: -- Add support of pm ops in display port driver -- Clear bpp depth bits before writing to MISC register -- Fix edid read Previous Change log: https://lkml.kernel.org/lkml/20200818051137.21478-3-tanmay@codeaurora.org/ Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org> Signed-off-by: Vara Reddy <varar@codeaurora.org> Signed-off-by: Tanmay Shah <tanmay@codeaurora.org> Co-developed-by: Abhinav Kumar <abhinavk@codeaurora.org> Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org> Co-developed-by: Kuogee Hsieh <khsieh@codeaurora.org> Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org> Co-developed-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Guenter Roeck <groeck@chromium.org> Co-developed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
30 lines
847 B
C
30 lines
847 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _DP_AUX_H_
|
|
#define _DP_AUX_H_
|
|
|
|
#include "dp_catalog.h"
|
|
#include <drm/drm_dp_helper.h>
|
|
|
|
#define DP_AUX_ERR_NONE 0
|
|
#define DP_AUX_ERR_ADDR -1
|
|
#define DP_AUX_ERR_TOUT -2
|
|
#define DP_AUX_ERR_NACK -3
|
|
#define DP_AUX_ERR_DEFER -4
|
|
#define DP_AUX_ERR_NACK_DEFER -5
|
|
#define DP_AUX_ERR_PHY -6
|
|
|
|
int dp_aux_register(struct drm_dp_aux *dp_aux);
|
|
void dp_aux_unregister(struct drm_dp_aux *dp_aux);
|
|
void dp_aux_isr(struct drm_dp_aux *dp_aux);
|
|
void dp_aux_init(struct drm_dp_aux *dp_aux);
|
|
void dp_aux_deinit(struct drm_dp_aux *dp_aux);
|
|
void dp_aux_reconfig(struct drm_dp_aux *dp_aux);
|
|
|
|
struct drm_dp_aux *dp_aux_get(struct device *dev, struct dp_catalog *catalog);
|
|
void dp_aux_put(struct drm_dp_aux *aux);
|
|
|
|
#endif /*__DP_AUX_H_*/
|