Commit 47ddb72f authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Daniel Vetter
Browse files

drm: zte: remove obsolete DRM Support for ZTE SoCs



Commit 89d4f98a ("ARM: remove zte zx platform") removes the config
ARCH_ZX. So, since then, the DRM Support for ZTE SoCs (config DRM_ZTE)
depends on this removed config ARCH_ZX and cannot be selected.

Fortunately, ./scripts/checkkconfigsymbols.py detects this and warns:

ARCH_ZX
Referencing files: drivers/gpu/drm/zte/Kconfig

So, remove this obsolete DRM support.

Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210819112253.16484-5-lukas.bulwahn@gmail.com
parent 5e12f7ea
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -353,8 +353,6 @@ source "drivers/gpu/drm/hisilicon/Kconfig"

source "drivers/gpu/drm/mediatek/Kconfig"

source "drivers/gpu/drm/zte/Kconfig"

source "drivers/gpu/drm/mxsfb/Kconfig"

source "drivers/gpu/drm/meson/Kconfig"
+0 −1
Original line number Diff line number Diff line
@@ -113,7 +113,6 @@ obj-y += bridge/
obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/
obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/
obj-y			+= hisilicon/
obj-$(CONFIG_DRM_ZTE)	+= zte/
obj-$(CONFIG_DRM_MXSFB)	+= mxsfb/
obj-y			+= tiny/
obj-$(CONFIG_DRM_PL111) += pl111/

drivers/gpu/drm/zte/Kconfig

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
config DRM_ZTE
	tristate "DRM Support for ZTE SoCs"
	depends on DRM && ARCH_ZX
	select DRM_KMS_CMA_HELPER
	select DRM_KMS_HELPER
	select SND_SOC_HDMI_CODEC if SND_SOC
	select VIDEOMODE_HELPERS
	help
	  Choose this option to enable DRM on ZTE ZX SoCs.

drivers/gpu/drm/zte/Makefile

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0
zxdrm-y := \
	zx_drm_drv.o \
	zx_hdmi.o \
	zx_plane.o \
	zx_tvenc.o \
	zx_vga.o \
	zx_vou.o

obj-$(CONFIG_DRM_ZTE) += zxdrm.o
+0 −28
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2017 Sanechips Technology Co., Ltd.
 * Copyright 2017 Linaro Ltd.
 */

#ifndef __ZX_COMMON_REGS_H__
#define __ZX_COMMON_REGS_H__

/* CSC registers */
#define CSC_CTRL0			0x30
#define CSC_COV_MODE_SHIFT		16
#define CSC_COV_MODE_MASK		(0xffff << CSC_COV_MODE_SHIFT)
#define CSC_BT601_IMAGE_RGB2YCBCR	0
#define CSC_BT601_IMAGE_YCBCR2RGB	1
#define CSC_BT601_VIDEO_RGB2YCBCR	2
#define CSC_BT601_VIDEO_YCBCR2RGB	3
#define CSC_BT709_IMAGE_RGB2YCBCR	4
#define CSC_BT709_IMAGE_YCBCR2RGB	5
#define CSC_BT709_VIDEO_RGB2YCBCR	6
#define CSC_BT709_VIDEO_YCBCR2RGB	7
#define CSC_BT2020_IMAGE_RGB2YCBCR	8
#define CSC_BT2020_IMAGE_YCBCR2RGB	9
#define CSC_BT2020_VIDEO_RGB2YCBCR	10
#define CSC_BT2020_VIDEO_YCBCR2RGB	11
#define CSC_WORK_ENABLE			BIT(0)

#endif /* __ZX_COMMON_REGS_H__ */
Loading