1
0
Fork 0
android_kernel_rockchip_tart/include/drm/bridge/dw_dp.h
dvab-sarma 4176d76292 These changes enable the dp0 node of rk3588(s), which enables DisplayPort of the SoC. This is essential as the seconday hdmi port of Orange pi 5 pro is fundamentally a DP port
with dp to hdmi converter bridge present. By enabling this, we can use the 2nd hdmi as a secondary display for AOSP(or even primary if first hdmi port is not used).
2025-12-04 02:12:24 -06:00

41 lines
835 B
C

// /* SPDX-License-Identifier: GPL-2.0-or-later */
// /*
// * Copyright (c) 2025 Rockchip Electronics Co., Ltd.
// */
// #ifndef __DW_DP__
// #define __DW_DP__
// struct device;
// struct drm_encoder;
// struct dw_dp;
// struct dw_dp_plat_data {
// u32 max_link_rate;
// };
// struct dw_dp *dw_dp_bind(struct device *dev, struct drm_encoder *encoder,
// const struct dw_dp_plat_data *plat_data);
// #endif /* __DW_DP__ */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (c) 2025 Rockchip Electronics Co., Ltd.
*/
#ifndef __DW_DP__
#define __DW_DP__
#include <linux/device.h>
struct drm_encoder;
struct dw_dp;
struct dw_dp_plat_data {
u32 max_link_rate;
};
struct dw_dp *dw_dp_bind(struct device *dev, struct drm_encoder *encoder,
const struct dw_dp_plat_data *plat_data);
#endif /* __DW_DP__ */