drm/msm/dp: Handle aux timeouts, nacks, defers
[linux-2.6-microblaze.git] / drivers / gpu / drm / msm / dp / dp_aux.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
4  */
5
6 #ifndef _DP_AUX_H_
7 #define _DP_AUX_H_
8
9 #include "dp_catalog.h"
10 #include <drm/drm_dp_helper.h>
11
12 int dp_aux_register(struct drm_dp_aux *dp_aux);
13 void dp_aux_unregister(struct drm_dp_aux *dp_aux);
14 void dp_aux_isr(struct drm_dp_aux *dp_aux);
15 void dp_aux_init(struct drm_dp_aux *dp_aux);
16 void dp_aux_deinit(struct drm_dp_aux *dp_aux);
17 void dp_aux_reconfig(struct drm_dp_aux *dp_aux);
18
19 struct drm_dp_aux *dp_aux_get(struct device *dev, struct dp_catalog *catalog);
20 void dp_aux_put(struct drm_dp_aux *aux);
21
22 #endif /*__DP_AUX_H_*/