Skip to contentSkip to conversation

drm: remove zxdrm driver

PATCH In review Zenghui Yu 3 participants 5 messages Aug 21, 2021 – Aug 31, 2021

Subsystems (3)
lore
Share & tools
lore

Zenghui Yu

author
#0 lore raw

PATCH 1/1 drm: remove zxdrm driver

The zte zx platform had been removed in commit 89d4f98ae90d ("ARM: remove zte zx platform"), so this driver is no longer needed.

Cc Arnd Bergmann <[email protected]>
Cc Jun Nie <[email protected]>
Cc Shawn Guo <[email protected]>
---
 .../devicetree/bindings/display/zte,vou.txt   | 120 ---
 drivers/gpu/drm/Kconfig                       |   2 -
 drivers/gpu/drm/Makefile                      |   1 -
 drivers/gpu/drm/zte/Kconfig                   |  10 -
 drivers/gpu/drm/zte/Makefile                  |  10 -
 drivers/gpu/drm/zte/zx_common_regs.h          |  28 -
 drivers/gpu/drm/zte/zx_drm_drv.c              | 190 ----
 drivers/gpu/drm/zte/zx_drm_drv.h              |  34 -
 drivers/gpu/drm/zte/zx_hdmi.c                 | 760 ---------------
 drivers/gpu/drm/zte/zx_hdmi_regs.h            |  66 --
 drivers/gpu/drm/zte/zx_plane.c                | 537 ----------
 drivers/gpu/drm/zte/zx_plane.h                |  26 -
 drivers/gpu/drm/zte/zx_plane_regs.h           | 120 ---
 drivers/gpu/drm/zte/zx_tvenc.c                | 400 --------
 drivers/gpu/drm/zte/zx_tvenc_regs.h           |  27 -
 drivers/gpu/drm/zte/zx_vga.c                  | 527 ----------
 drivers/gpu/drm/zte/zx_vga_regs.h             |  33 -
 drivers/gpu/drm/zte/zx_vou.c                  | 921 ------------------
 drivers/gpu/drm/zte/zx_vou.h                  |  64 --
 drivers/gpu/drm/zte/zx_vou_regs.h             | 212 ----
 20 files changed, 4088 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/zte,vou.txt
 delete mode 100644 drivers/gpu/drm/zte/Kconfig
 delete mode 100644 drivers/gpu/drm/zte/Makefile
 delete mode 100644 drivers/gpu/drm/zte/zx_common_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.c
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.h
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi.c
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.c
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.h
 delete mode 100644 drivers/gpu/drm/zte/zx_plane_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc.c
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vga.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vga_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou_regs.h
Documentation/devicetree/bindings/display/zte,vou.txt deleted +0 -120
deleted file mode 100644
index 38476475fd60..000000000000
@@ -1,120 +0,0 @@
-ZTE VOU Display Controller
-
-This is a display controller found on ZTE ZX296718 SoC.  It includes multiple
-Graphic Layer (GL) and Video Layer (VL), two Mixers/Channels, and a few blocks
-handling scaling, color space conversion etc.  VOU also integrates the support
-for typical output devices, like HDMI, TV Encoder, VGA, and RGB LCD.
-
-* Master VOU node
-
-It must be the parent node of all the sub-device nodes.
-
-Required properties:
- - compatible: should be "zte,zx296718-vou"
- - #address-cells: should be <1>
- - #size-cells: should be <1>
- - ranges: list of address translations between VOU and sub-devices
-
-* VOU DPC device
-
-Required properties:
- - compatible: should be "zte,zx296718-dpc"
- - reg: Physical base address and length of DPC register regions, one for each
-   entry in 'reg-names'
- - reg-names: The names of register regions. The following regions are required:
-	"osd"
-	"timing_ctrl"
-	"dtrc"
-	"vou_ctrl"
-	"otfppu"
- - interrupts: VOU DPC interrupt number to CPU
- - clocks: A list of phandle + clock-specifier pairs, one for each entry
-   in 'clock-names'
- - clock-names: A list of clock names.  The following clocks are required:
-	"aclk"
-	"ppu_wclk"
-	"main_wclk"
-	"aux_wclk"
-
-* HDMI output device
-
-Required properties:
- - compatible: should be "zte,zx296718-hdmi"
- - reg: Physical base address and length of the HDMI device IO region
- - interrupts : HDMI interrupt number to CPU
- - clocks: A list of phandle + clock-specifier pairs, one for each entry
-   in 'clock-names'
- - clock-names: A list of clock names.  The following clocks are required:
-	"osc_cec"
-	"osc_clk"
-	"xclk"
-
-* TV Encoder output device
-
-Required properties:
- - compatible: should be "zte,zx296718-tvenc"
- - reg: Physical base address and length of the TVENC device IO region
- - zte,tvenc-power-control: the phandle to SYSCTRL block followed by two
-   integer cells.  The first cell is the offset of SYSCTRL register used
-   to control TV Encoder DAC power, and the second cell is the bit mask.
-
-* VGA output device
-
-Required properties:
- - compatible: should be "zte,zx296718-vga"
- - reg: Physical base address and length of the VGA device IO region
- - interrupts : VGA interrupt number to CPU
- - clocks: Phandle with clock-specifier pointing to VGA I2C clock.
- - clock-names: Must be "i2c_wclk".
- - zte,vga-power-control: the phandle to SYSCTRL block followed by two
-   integer cells.  The first cell is the offset of SYSCTRL register used
-   to control VGA DAC power, and the second cell is the bit mask.
-
-Example:
-
-vou: vou@1440000 {
-	compatible = "zte,zx296718-vou";
-	#address-cells = <1>;
-	#size-cells = <1>;
-	ranges = <0 0x1440000 0x10000>;
-
-	dpc: dpc@0 {
-		compatible = "zte,zx296718-dpc";
-		reg = <0x0000 0x1000>, <0x1000 0x1000>,
-		      <0x5000 0x1000>, <0x6000 0x1000>,
-		      <0xa000 0x1000>;
-		reg-names = "osd", "timing_ctrl",
-			    "dtrc", "vou_ctrl",
-			    "otfppu";
-		interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&topcrm VOU_ACLK>, <&topcrm VOU_PPU_WCLK>,
-			 <&topcrm VOU_MAIN_WCLK>, <&topcrm VOU_AUX_WCLK>;
-		clock-names = "aclk", "ppu_wclk",
-			      "main_wclk", "aux_wclk";
-	};
-
-	vga: vga@8000 {
-		compatible = "zte,zx296718-vga";
-		reg = <0x8000 0x1000>;
-		interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&topcrm VGA_I2C_WCLK>;
-		clock-names = "i2c_wclk";
-		zte,vga-power-control = <&sysctrl 0x170 0xe0>;
-	};
-
-	hdmi: hdmi@c000 {
-		compatible = "zte,zx296718-hdmi";
-		reg = <0xc000 0x4000>;
-		interrupts = <GIC_SPI 82 IRQ_TYPE_EDGE_RISING>;
-		clocks = <&topcrm HDMI_OSC_CEC>,
-			 <&topcrm HDMI_OSC_CLK>,
-			 <&topcrm HDMI_XCLK>;
-		clock-names = "osc_cec", "osc_clk", "xclk";
-	};
-
-	tvenc: tvenc@2000 {
-		compatible = "zte,zx296718-tvenc";
-		reg = <0x2000 0x1000>;
-		zte,tvenc-power-control = <&sysctrl 0x170 0x10>;
-	};
-};
drivers/gpu/drm/Kconfig +0 -2
index 7ff89690a976..4650e4ff0e76 100644
@@ -349,8 +349,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"
drivers/gpu/drm/Makefile +0 -1
index a118692a6df7..7d4a3d9b3c30 100644
@@ -112,7 +112,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 deleted +0 -10
deleted file mode 100644
index aa8594190b50..000000000000
@@ -1,10 +0,0 @@
-# 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 deleted +0 -10
deleted file mode 100644
index b6d966d849dd..000000000000
@@ -1,10 +0,0 @@
-# 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
drivers/gpu/drm/zte/zx_common_regs.h deleted +0 -28
deleted file mode 100644
index b7b996db129d..000000000000
@@ -1,28 +0,0 @@
-/* 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__ */
drivers/gpu/drm/zte/zx_drm_drv.c deleted +0 -190

190 lines not on this page · raw message

drivers/gpu/drm/zte/zx_drm_drv.h deleted +0 -34
deleted file mode 100644
index 80cdaf479c74..000000000000
@@ -1,34 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright 2016 Linaro Ltd.
- * Copyright 2016 ZTE Corporation.
- */
-
-#ifndef __ZX_DRM_DRV_H__
-#define __ZX_DRM_DRV_H__
-
-extern struct platform_driver zx_crtc_driver;
-extern struct platform_driver zx_hdmi_driver;
-extern struct platform_driver zx_tvenc_driver;
-extern struct platform_driver zx_vga_driver;
-
-static inline u32 zx_readl(void __iomem *reg)
-{
-	return readl_relaxed(reg);
-}
-
-static inline void zx_writel(void __iomem *reg, u32 val)
-{
-	writel_relaxed(val, reg);
-}
-
-static inline void zx_writel_mask(void __iomem *reg, u32 mask, u32 val)
-{
-	u32 tmp;
-
-	tmp = zx_readl(reg);
-	tmp = (tmp & ~mask) | (val & mask);
-	zx_writel(reg, tmp);
-}
-
-#endif /* __ZX_DRM_DRV_H__ */
drivers/gpu/drm/zte/zx_hdmi.c deleted +0 -760

760 lines not on this page · raw message

drivers/gpu/drm/zte/zx_hdmi_regs.h deleted +0 -66

66 lines not on this page · raw message

drivers/gpu/drm/zte/zx_plane.c deleted +0 -537

537 lines not on this page · raw message

drivers/gpu/drm/zte/zx_plane.h deleted +0 -26
deleted file mode 100644
index 5a7cc8b3b985..000000000000
@@ -1,26 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright 2016 Linaro Ltd.
- * Copyright 2016 ZTE Corporation.
- */
-
-#ifndef __ZX_PLANE_H__
-#define __ZX_PLANE_H__
-
-struct zx_plane {
-	struct drm_plane plane;
-	struct device *dev;
-	void __iomem *layer;
-	void __iomem *csc;
-	void __iomem *hbsc;
-	void __iomem *rsz;
-	const struct vou_layer_bits *bits;
-};
-
-#define to_zx_plane(plane) container_of(plane, struct zx_plane, plane)
-
-int zx_plane_init(struct drm_device *drm, struct zx_plane *zplane,
-		  enum drm_plane_type type);
-void zx_plane_set_update(struct drm_plane *plane);
-
-#endif /* __ZX_PLANE_H__ */
drivers/gpu/drm/zte/zx_plane_regs.h deleted +0 -120

120 lines not on this page · raw message

drivers/gpu/drm/zte/zx_tvenc.c deleted +0 -400

400 lines not on this page · raw message

drivers/gpu/drm/zte/zx_tvenc_regs.h deleted +0 -27
deleted file mode 100644
index 40f033109374..000000000000
@@ -1,27 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright 2017 Linaro Ltd.
- * Copyright 2017 ZTE Corporation.
- */
-
-#ifndef __ZX_TVENC_REGS_H__
-#define __ZX_TVENC_REGS_H__
-
-#define VENC_VIDEO_INFO			0x04
-#define VENC_VIDEO_RES			0x08
-#define VENC_FIELD1_PARAM		0x10
-#define VENC_FIELD2_PARAM		0x14
-#define VENC_LINE_O_1			0x18
-#define VENC_LINE_E_1			0x1c
-#define VENC_LINE_O_2			0x20
-#define VENC_LINE_E_2			0x24
-#define VENC_LINE_TIMING_PARAM		0x28
-#define VENC_WEIGHT_VALUE		0x2c
-#define VENC_BLANK_BLACK_LEVEL		0x30
-#define VENC_BURST_LEVEL		0x34
-#define VENC_CONTROL_PARAM		0x3c
-#define VENC_SUB_CARRIER_PHASE1		0x40
-#define VENC_PHASE_LINE_INCR_CVBS	0x48
-#define VENC_ENABLE			0xa8
-
-#endif /* __ZX_TVENC_REGS_H__ */
drivers/gpu/drm/zte/zx_vga.c deleted +0 -527

527 lines not on this page · raw message

drivers/gpu/drm/zte/zx_vga_regs.h deleted +0 -33
deleted file mode 100644
index 1e8825ae70a5..000000000000
@@ -1,33 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright (C) 2017 Sanechips Technology Co., Ltd.
- * Copyright 2017 Linaro Ltd.
- */
-
-#ifndef __ZX_VGA_REGS_H__
-#define __ZX_VGA_REGS_H__
-
-#define VGA_CMD_CFG			0x04
-#define VGA_CMD_TRANS			BIT(6)
-#define VGA_CMD_COMBO			BIT(5)
-#define VGA_CMD_RW			BIT(4)
-#define VGA_SUB_ADDR			0x0c
-#define VGA_DEVICE_ADDR			0x10
-#define VGA_CLK_DIV_FS			0x14
-#define VGA_RXF_CTRL			0x20
-#define VGA_RX_FIFO_CLEAR		BIT(7)
-#define VGA_DATA			0x24
-#define VGA_I2C_STATUS			0x28
-#define VGA_DEVICE_DISCONNECTED		BIT(7)
-#define VGA_DEVICE_CONNECTED		BIT(6)
-#define VGA_CLEAR_IRQ			BIT(4)
-#define VGA_TRANS_DONE			BIT(0)
-#define VGA_RXF_STATUS			0x30
-#define VGA_RXF_COUNT_SHIFT		2
-#define VGA_RXF_COUNT_MASK		GENMASK(7, 2)
-#define VGA_AUTO_DETECT_PARA		0x34
-#define VGA_AUTO_DETECT_SEL		0x38
-#define VGA_DETECT_SEL_HAS_DEVICE	BIT(1)
-#define VGA_DETECT_SEL_NO_DEVICE	BIT(0)
-
-#endif /* __ZX_VGA_REGS_H__ */
drivers/gpu/drm/zte/zx_vou.c deleted +0 -921

97 lines not on this page · raw message

drivers/gpu/drm/zte/zx_vou.h deleted +0 -64

64 lines not on this page · raw message

drivers/gpu/drm/zte/zx_vou_regs.h deleted +0 -212

212 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.19.1

Part of the diff is not shown here. View the raw message.

maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 39 lines · Zenghui Yu

The zte zx platform had been removed in commit 89d4f98ae90d ("ARM: remove zte zx platform"), so this driver is no longer needed.

Cc Arnd Bergmann <[email protected]>
Cc Jun Nie <[email protected]>
Cc Shawn Guo <[email protected]>
---
 .../devicetree/bindings/display/zte,vou.txt   | 120 ---
 drivers/gpu/drm/Kconfig                       |   2 -
 drivers/gpu/drm/Makefile                      |   1 -
 drivers/gpu/drm/zte/Kconfig                   |  10 -
 drivers/gpu/drm/zte/Makefile                  |  10 -
 drivers/gpu/drm/zte/zx_common_regs.h          |  28 -
 drivers/gpu/drm/zte/zx_drm_drv.c              | 190 ----
 drivers/gpu/drm/zte/zx_drm_drv.h              |  34 -
 drivers/gpu/drm/zte/zx_hdmi.c                 | 760 ---------------
 drivers/gpu/drm/zte/zx_hdmi_regs.h            |  66 --
 drivers/gpu/drm/zte/zx_plane.c                | 537 ----------
 drivers/gpu/drm/zte/zx_plane.h                |  26 -
 drivers/gpu/drm/zte/zx_plane_regs.h           | 120 ---
 drivers/gpu/drm/zte/zx_tvenc.c                | 400 --------
 drivers/gpu/drm/zte/zx_tvenc_regs.h           |  27 -
 drivers/gpu/drm/zte/zx_vga.c                  | 527 ----------
 drivers/gpu/drm/zte/zx_vga_regs.h             |  33 -
 drivers/gpu/drm/zte/zx_vou.c                  | 921 ------------------
 drivers/gpu/drm/zte/zx_vou.h                  |  64 --
 drivers/gpu/drm/zte/zx_vou_regs.h             | 212 ----
 20 files changed, 4088 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/zte,vou.txt
 delete mode 100644 drivers/gpu/drm/zte/Kconfig
 delete mode 100644 drivers/gpu/drm/zte/Makefile
 delete mode 100644 drivers/gpu/drm/zte/zx_common_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.c
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.h
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi.c
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.c
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.h
Quoted 9 lines
 delete mode 100644 drivers/gpu/drm/zte/zx_plane_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc.c
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vga.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vga_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou_regs.h
#2 lore raw
Quoted 50 lines · Rob Herring
Quoted 39 lines · Zenghui Yu

The zte zx platform had been removed in commit 89d4f98ae90d ("ARM: remove zte zx platform"), so this driver is no longer needed.

Cc Arnd Bergmann <[email protected]>
Cc Jun Nie <[email protected]>
Cc Shawn Guo <[email protected]>
---
 .../devicetree/bindings/display/zte,vou.txt   | 120 ---
 drivers/gpu/drm/Kconfig                       |   2 -
 drivers/gpu/drm/Makefile                      |   1 -
 drivers/gpu/drm/zte/Kconfig                   |  10 -
 drivers/gpu/drm/zte/Makefile                  |  10 -
 drivers/gpu/drm/zte/zx_common_regs.h          |  28 -
 drivers/gpu/drm/zte/zx_drm_drv.c              | 190 ----
 drivers/gpu/drm/zte/zx_drm_drv.h              |  34 -
 drivers/gpu/drm/zte/zx_hdmi.c                 | 760 ---------------
 drivers/gpu/drm/zte/zx_hdmi_regs.h            |  66 --
 drivers/gpu/drm/zte/zx_plane.c                | 537 ----------
 drivers/gpu/drm/zte/zx_plane.h                |  26 -
 drivers/gpu/drm/zte/zx_plane_regs.h           | 120 ---
 drivers/gpu/drm/zte/zx_tvenc.c                | 400 --------
 drivers/gpu/drm/zte/zx_tvenc_regs.h           |  27 -
 drivers/gpu/drm/zte/zx_vga.c                  | 527 ----------
 drivers/gpu/drm/zte/zx_vga_regs.h             |  33 -
 drivers/gpu/drm/zte/zx_vou.c                  | 921 ------------------
 drivers/gpu/drm/zte/zx_vou.h                  |  64 --
 drivers/gpu/drm/zte/zx_vou_regs.h             | 212 ----
 20 files changed, 4088 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/zte,vou.txt
 delete mode 100644 drivers/gpu/drm/zte/Kconfig
 delete mode 100644 drivers/gpu/drm/zte/Makefile
 delete mode 100644 drivers/gpu/drm/zte/zx_common_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.c
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.h
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi.c
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.c
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.h
Quoted 9 lines
 delete mode 100644 drivers/gpu/drm/zte/zx_plane_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc.c
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vga.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vga_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou_regs.h
Quoted 1 line

I just merged another patch to delete the zte driver. -Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
maintainer
#3 lore raw
Quoted 52 lines · Daniel Vetter
Quoted 50 lines · Rob Herring
Quoted 48 lines · Zenghui Yu

The zte zx platform had been removed in commit 89d4f98ae90d ("ARM: remove zte zx platform"), so this driver is no longer needed.

Cc Arnd Bergmann <[email protected]>
Cc Jun Nie <[email protected]>
Cc Shawn Guo <[email protected]>
---
 .../devicetree/bindings/display/zte,vou.txt   | 120 ---
 drivers/gpu/drm/Kconfig                       |   2 -
 drivers/gpu/drm/Makefile                      |   1 -
 drivers/gpu/drm/zte/Kconfig                   |  10 -
 drivers/gpu/drm/zte/Makefile                  |  10 -
 drivers/gpu/drm/zte/zx_common_regs.h          |  28 -
 drivers/gpu/drm/zte/zx_drm_drv.c              | 190 ----
 drivers/gpu/drm/zte/zx_drm_drv.h              |  34 -
 drivers/gpu/drm/zte/zx_hdmi.c                 | 760 ---------------
 drivers/gpu/drm/zte/zx_hdmi_regs.h            |  66 --
 drivers/gpu/drm/zte/zx_plane.c                | 537 ----------
 drivers/gpu/drm/zte/zx_plane.h                |  26 -
 drivers/gpu/drm/zte/zx_plane_regs.h           | 120 ---
 drivers/gpu/drm/zte/zx_tvenc.c                | 400 --------
 drivers/gpu/drm/zte/zx_tvenc_regs.h           |  27 -
 drivers/gpu/drm/zte/zx_vga.c                  | 527 ----------
 drivers/gpu/drm/zte/zx_vga_regs.h             |  33 -
 drivers/gpu/drm/zte/zx_vou.c                  | 921 ------------------
 drivers/gpu/drm/zte/zx_vou.h                  |  64 --
 drivers/gpu/drm/zte/zx_vou_regs.h             | 212 ----
 20 files changed, 4088 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/zte,vou.txt
 delete mode 100644 drivers/gpu/drm/zte/Kconfig
 delete mode 100644 drivers/gpu/drm/zte/Makefile
 delete mode 100644 drivers/gpu/drm/zte/zx_common_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.c
 delete mode 100644 drivers/gpu/drm/zte/zx_drm_drv.h
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi.c
 delete mode 100644 drivers/gpu/drm/zte/zx_hdmi_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.c
 delete mode 100644 drivers/gpu/drm/zte/zx_plane.h
 delete mode 100644 drivers/gpu/drm/zte/zx_plane_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc.c
 delete mode 100644 drivers/gpu/drm/zte/zx_tvenc_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vga.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vga_regs.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.c
 delete mode 100644 drivers/gpu/drm/zte/zx_vou.h
 delete mode 100644 drivers/gpu/drm/zte/zx_vou_regs.h
Quoted 3 lines
Quoted 1 line

I just merged another patch to delete the zte driver.

Unfortunately, that one missed the binding doc, so please send me a patch removing the binding doc.

Rob

author
#4 lore raw
Quoted 6 lines · Rob Herring
Quoted 2 lines · Daniel Vetter

I just merged another patch to delete the zte driver.

Unfortunately, that one missed the binding doc, so please send me a patch removing the binding doc.

Okay I'll send it out today.

I've searched the patch [*] on dri-devel list to make sure we're talking about the same thing.

[*] https://lore.kernel.org/r/[email protected]/

Zenghui