mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 19:12:29 -04:00
Build a dp level that hibmc driver can enable dp by calling their functions. Signed-off-by: Baihan Li <libaihan@huawei.com> Signed-off-by: Yongbang Shi <shiyongbang@huawei.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Tian Tao <tiantao6@hisilicon.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250103093824.1963816-4-shiyongbang@huawei.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
20 lines
494 B
C
20 lines
494 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/* Copyright (c) 2024 Hisilicon Limited. */
|
|
|
|
#ifndef DP_CONFIG_H
|
|
#define DP_CONFIG_H
|
|
|
|
#define HIBMC_DP_BPP 24
|
|
#define HIBMC_DP_SYMBOL_PER_FCLK 4
|
|
#define HIBMC_DP_MSA1 0x20
|
|
#define HIBMC_DP_MSA2 0x845c00
|
|
#define HIBMC_DP_OFFSET 0x1e0000
|
|
#define HIBMC_DP_HDCP 0x2
|
|
#define HIBMC_DP_INT_RST 0xffff
|
|
#define HIBMC_DP_DPTX_RST 0x3ff
|
|
#define HIBMC_DP_CLK_EN 0x7
|
|
#define HIBMC_DP_SYNC_EN_MASK 0x3
|
|
#define HIBMC_DP_LINK_RATE_CAL 27
|
|
|
|
#endif
|