Skip to contentSkip to conversation

Staging: olpc_dcon: Remove obsolete driver

PATCH Superseded [email protected] 2 participants 2 messages Dec 24, 2015 – Dec 25, 2015 Staging

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Staging: olpc_dcon: Remove obsolete driver

From: Shraddha Barke <[email protected]>

Remove support for One Laptop Per Child organization since it is dead.
http://www.olpcnews.com/about_olpc_news/goodbye_one_laptop_per_child.html

---
Changes in v2-
Added mailing list and other maintainers

 MAINTAINERS                                  |   8 -
 drivers/staging/Kconfig                      |   2 -
 drivers/staging/Makefile                     |   1 -
 drivers/staging/olpc_dcon/Kconfig            |  35 --
 drivers/staging/olpc_dcon/Makefile           |   6 -
 drivers/staging/olpc_dcon/TODO               |   9 -
 drivers/staging/olpc_dcon/olpc_dcon.c        | 813 ---------------------------
 drivers/staging/olpc_dcon/olpc_dcon.h        | 111 ----
 drivers/staging/olpc_dcon/olpc_dcon_xo_1.c   | 205 -------
 drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 161 ------
 10 files changed, 1351 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 -8
index 9bff63c..a9f58e5 100644
@@ -10169,14 +10169,6 @@ L:	[email protected]
 S:	Maintained
 F:	drivers/staging/nvec/
 
-STAGING - OLPC SECONDARY DISPLAY CONTROLLER (DCON)
-M:	Jens Frederich <[email protected]>
-M:	Daniel Drake <[email protected]>
-M:	Jon Nettleton <[email protected]>
-W:	http://wiki.laptop.org/go/DCON
-S:	Maintained
-F:	drivers/staging/olpc_dcon/
-
 STAGING - PARALLEL LCD/KEYPAD PANEL DRIVER
 M:	Willy Tarreau <[email protected]>
 S:	Odd Fixes
drivers/staging/Kconfig +0 -2
index 5d3b86a..6c12a48 100644
@@ -30,8 +30,6 @@ source "drivers/staging/wlan-ng/Kconfig"
 
 source "drivers/staging/comedi/Kconfig"
 
-source "drivers/staging/olpc_dcon/Kconfig"
-
 source "drivers/staging/panel/Kconfig"
 
 source "drivers/staging/rtl8192u/Kconfig"
drivers/staging/Makefile +0 -1
index 30918ed..af207f0 100644
@@ -7,7 +7,6 @@ obj-y				+= media/
 obj-$(CONFIG_SLICOSS)		+= slicoss/
 obj-$(CONFIG_PRISM2_USB)	+= wlan-ng/
 obj-$(CONFIG_COMEDI)		+= comedi/
-obj-$(CONFIG_FB_OLPC_DCON)	+= olpc_dcon/
 obj-$(CONFIG_PANEL)		+= panel/
 obj-$(CONFIG_RTL8192U)		+= rtl8192u/
 obj-$(CONFIG_RTL8192E)		+= rtl8192e/
drivers/staging/olpc_dcon/Kconfig deleted +0 -35
deleted file mode 100644
index d277f04..0000000
@@ -1,35 +0,0 @@
-config FB_OLPC_DCON
-	tristate "One Laptop Per Child Display CONtroller support"
-	depends on OLPC && FB
-	depends on I2C
-	depends on (GPIO_CS5535 || GPIO_CS5535=n)
-	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'.
-
-config FB_OLPC_DCON_1
-	bool "OLPC XO-1 DCON support"
-	depends on FB_OLPC_DCON && GPIO_CS5535
-	default y
-	---help---
-	  Enable support for the DCON in XO-1 model laptops.  The kernel
-	  communicates with the DCON using model-specific code.  If you
-	  have an XO-1 (or if you're unsure what model you have), you should
-	  say 'Y'.
-
-config FB_OLPC_DCON_1_5
-	bool "OLPC XO-1.5 DCON support"
-	depends on FB_OLPC_DCON && ACPI
-	default y
-	---help---
-	  Enable support for the DCON in XO-1.5 model laptops.  The kernel
-	  communicates with the DCON using model-specific code.  If you
-	  have an XO-1.5 (or if you're unsure what model you have), you
-	  should say 'Y'.
drivers/staging/olpc_dcon/Makefile deleted +0 -6
deleted file mode 100644
index 36c7e67..0000000
@@ -1,6 +0,0 @@
-olpc-dcon-objs += olpc_dcon.o
-olpc-dcon-$(CONFIG_FB_OLPC_DCON_1)	+= olpc_dcon_xo_1.o
-olpc-dcon-$(CONFIG_FB_OLPC_DCON_1_5)	+= olpc_dcon_xo_1_5.o
-obj-$(CONFIG_FB_OLPC_DCON)	+= olpc-dcon.o
-
-
drivers/staging/olpc_dcon/TODO deleted +0 -9
deleted file mode 100644
index 61c2e65..0000000
@@ -1,9 +0,0 @@
-TODO:
-	- see if vx855 gpio API can be made similar enough to cs5535 so we can
-	  share more code
-	- allow simultaneous XO-1 and XO-1.5 support
-
-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 -813

813 lines not on this page · raw message

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

111 lines not on this page · raw message

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

205 lines not on this page · raw message

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

161 lines not on this page · raw message

Signature · 1 line
2.1.4
#1 lore raw
reproduce:

[if your patch is applied to the wrong git tree, please drop us a note to help improving the system] Hi Shraddha,

[auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.4-rc6 next-20151223]

url:    https://github.com/0day-ci/linux/commits/shraddha-6596-gmail-com/Staging-olpc_dcon-Remove-obsolete-driver/20151225-020825
config: x86_64-randconfig-s3-12250912 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

warning: (DRM_RADEON && DRM_AMDGPU && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && DRM_SHMOBILE && DRM_TILCDC && DRM_FSL_DCU && DRM_PARADE_PS8622 && FB_BACKLIGHT && FB_MX3 && USB_APPLEDISPLAY && ACPI_CMPC && SAMSUNG_Q10) selects BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && BACKLIGHT_LCD_SUPPORT)

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation