Skip to contentSkip to conversation

staging: olpc_dcon: Remove driver marked as broken since 2022

PATCH New Philipp Hortmann 1 participant 1 message Oct 13, 2024 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 staging: olpc_dcon: Remove driver marked as broken since 2022

Andres Salomon contributed this driver in 2010.

The following reasons lead to the removal:
- This driver generates maintenance workload
- Kconfig still depends on BROKEN since 2022.

---
Changes in v2: non, just had an issue with email addresses

Artifacts of olpc_dcon in MAINTAINERS are removed with this patch. Removed artifacts in Makefile and Kconfig.
---

---
 MAINTAINERS                                  |   7 -
 drivers/staging/Kconfig                      |   2 -
 drivers/staging/Makefile                     |   1 -
 drivers/staging/olpc_dcon/Kconfig            |  17 -
 drivers/staging/olpc_dcon/Makefile           |   5 -
 drivers/staging/olpc_dcon/TODO               |  15 -
 drivers/staging/olpc_dcon/olpc_dcon.c        | 807 -------------------
 drivers/staging/olpc_dcon/olpc_dcon.h        | 112 ---
 drivers/staging/olpc_dcon/olpc_dcon_xo_1.c   | 201 -----
 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 204 -----
 10 files changed, 1371 deletions(-)
 delete mode 100644 drivers/staging/olpc_dcon/Kconfig
 delete mode 100644 drivers/staging/olpc_dcon/Makefile
 delete mode 100644 drivers/staging/olpc_dcon/TODO
 delete mode 100644 drivers/staging/olpc_dcon/olpc_dcon.c
 delete mode 100644 drivers/staging/olpc_dcon/olpc_dcon.h
 delete mode 100644 drivers/staging/olpc_dcon/olpc_dcon_xo_1.c
 delete mode 100644 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c
MAINTAINERS +0 -7
index 89e71b6fb431..4300175d3ee6 100644
@@ -21955,13 +21955,6 @@ L:	[email protected]
 S:	Maintained
 F:	drivers/staging/nvec/
 
-STAGING - OLPC SECONDARY DISPLAY CONTROLLER (DCON)
-M:	Jens Frederich <[email protected]>
-M:	Jon Nettleton <[email protected]>
-S:	Maintained
-W:	http://wiki.laptop.org/go/DCON
-F:	drivers/staging/olpc_dcon/
-
 STAGING - REALTEK RTL8712U DRIVERS
 M:	Florian Schilhabel <[email protected]>.
 S:	Odd Fixes
drivers/staging/Kconfig +0 -2
index b7f089e071cc..1f9783df641c 100644
@@ -24,8 +24,6 @@ menuconfig STAGING
 
 if STAGING
 
-source "drivers/staging/olpc_dcon/Kconfig"
-
 source "drivers/staging/rtl8723bs/Kconfig"
 
 source "drivers/staging/rtl8712/Kconfig"
drivers/staging/Makefile +0 -1
index 40dea97d2090..d25e352d32bd 100644
@@ -2,7 +2,6 @@
 # Makefile for staging directory
 
 obj-y				+= media/
-obj-$(CONFIG_FB_OLPC_DCON)	+= olpc_dcon/
 obj-$(CONFIG_RTL8723BS)		+= rtl8723bs/
 obj-$(CONFIG_R8712U)		+= rtl8712/
 obj-$(CONFIG_OCTEON_ETHERNET)	+= octeon/
drivers/staging/olpc_dcon/Kconfig deleted +0 -17
deleted file mode 100644
index d0ba34cc32f7..000000000000
@@ -1,17 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-config FB_OLPC_DCON
-	tristate "One Laptop Per Child Display CONtroller support"
-	depends on OLPC && FB && BROKEN
-	depends on I2C
-	depends on GPIO_CS5535 && ACPI
-	select BACKLIGHT_CLASS_DEVICE
-	help
-	  In order to support very low power operation, the XO laptop uses a
-	  secondary Display CONtroller, or DCON.  This secondary controller
-	  is present in the video pipeline between the primary display
-	  controller (integrate into the processor or chipset) and the LCD
-	  panel.  It allows the main processor/display controller to be
-	  completely powered off while still retaining an image on the display.
-	  This controller is only available on OLPC platforms.  Unless you have
-	  one of these platforms, you will want to say 'N'.
-
drivers/staging/olpc_dcon/Makefile deleted +0 -5
deleted file mode 100644
index 734b2ce26066..000000000000
@@ -1,5 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-olpc-dcon-objs += olpc_dcon.o olpc_dcon_xo_1.o olpc_dcon_xo_1_5.o
-obj-$(CONFIG_FB_OLPC_DCON)	+= olpc-dcon.o
-
-
drivers/staging/olpc_dcon/TODO deleted +0 -15
deleted file mode 100644
index 7c263358b44a..000000000000
@@ -1,15 +0,0 @@
-TODO:
-	- complete rewrite:
-	  1. The underlying fbdev drivers need to be converted into drm kernel
-	     modesetting drivers.
-	  2. The dcon low-power display mode can then be integrated using the
-	     drm damage tracking and self-refresh helpers.
-	  This bolted-on self-refresh support that digs around in fbdev
-	  internals, but isn't properly integrated, is not the correct solution.
-	- see if vx855 gpio API can be made similar enough to cs5535 so we can
-	  share more code
-
-Please send patches to Greg Kroah-Hartman <[email protected]> and
-copy:
-	Daniel Drake <[email protected]>
-	Jens Frederich <[email protected]>
drivers/staging/olpc_dcon/olpc_dcon.c deleted +0 -807

807 lines not on this page · raw message

drivers/staging/olpc_dcon/olpc_dcon.h deleted +0 -112

112 lines not on this page · raw message

drivers/staging/olpc_dcon/olpc_dcon_xo_1.c deleted +0 -201

201 lines not on this page · raw message

drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c deleted +0 -204

204 lines not on this page · raw message

Signature · 1 line
2.43.0