From 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 13 May 2024 10:30:14 +0000 Subject: [PATCH] modify sin led gpio --- kernel/drivers/gpu/drm/rockchip/cdn-dp-reg.h | 25 +------------------------ 1 files changed, 1 insertions(+), 24 deletions(-) diff --git a/kernel/drivers/gpu/drm/rockchip/cdn-dp-reg.h b/kernel/drivers/gpu/drm/rockchip/cdn-dp-reg.h index 0d01d15..656ec69 100644 --- a/kernel/drivers/gpu/drm/rockchip/cdn-dp-reg.h +++ b/kernel/drivers/gpu/drm/rockchip/cdn-dp-reg.h @@ -1,15 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) Fuzhou Rockchip Electronics Co.Ltd * Author: Chris Zhong <zyw@rock-chips.com> - * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #ifndef _CDN_DP_REG_H @@ -17,7 +9,6 @@ #include <linux/bitops.h> #include <linux/phy/phy.h> -#include <linux/phy/phy-rockchip-typec.h> #define ADDR_IMEM 0x10000 #define ADDR_DMEM 0x20000 @@ -430,18 +421,6 @@ #define SPDIF_JITTER_THRSH(x) (((x) & 0xff) << 3) #define SPDIF_JITTER_AVG_WIN(x) ((x) & 0x7) -/* SOURCE_PIF_WR_REQ */ -#define HOST_WR BIT(0) - -/* SOURCE_PIF_PKT_ALLOC_REG */ -#define ACTIVE_IDLE_TYPE(x) (((x) & 0x1) << 17) -#define TYPE_VALID BIT(16) -#define PACKET_TYPE(x) (((x) & 0xff) << 8) -#define PKT_ALLOC_ADDRESS(x) (((x) & 0xf) << 0) - -/* SOURCE_PIF_PKT_ALLOC_WR_EN */ -#define PKT_ALLOC_WR_EN BIT(0) - /* Reference cycles when using lane clock as reference */ #define LANE_REF_CYC 0x8000 @@ -539,6 +518,4 @@ int cdn_dp_audio_mute(struct cdn_dp_device *dp, bool enable); int cdn_dp_audio_config(struct cdn_dp_device *dp, struct audio_info *audio); int cdn_dp_software_train_link(struct cdn_dp_device *dp); -void cdn_dp_infoframe_set(struct cdn_dp_device *dp, int entry_id, u8 *buf, - u32 len, int type); #endif /* _CDN_DP_REG_H */ -- Gitblit v1.6.2