From patchwork Tue Dec 12 14:18:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13489313 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="F2scZoiD" Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B6858F for ; Tue, 12 Dec 2023 06:18:05 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50bce78f145so6606789e87.0 for ; Tue, 12 Dec 2023 06:18:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702390684; x=1702995484; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=deVAOhNaP4X6gtMSvhif/kZ3H+Rw7eQiQavtmTZS8hs=; b=F2scZoiDVzDUT2P306H8ElmgSOLGmshp3rFZc9BszsAhTqOQ1ZchTG27Xno4rsPCWg htINcMiLl1LIf9vi9/5NrN9WifaRfTQhFNzj2heWMi3B0MCxyK4JT+K4Abg5zy1bL2H1 uX66J/73CpfGvcbCPoY7oiTP7XBbHiDbnT5sqaYxcBskdMPgA0SUx6ZPLlY9MwvX4pv7 +6s716a/Xee6ZL4rRtj94++cfu1JGXvqZ2/CK4irQ4FjoUR/ADkLjKIStdbhHaaJ8AjC CepZgotvgZtBTOmpM8expkwwt6NSm4jy7ibWJvAI3zCuDJoHJdpjka28C9JQx30Vmt4H +xIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702390684; x=1702995484; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=deVAOhNaP4X6gtMSvhif/kZ3H+Rw7eQiQavtmTZS8hs=; b=t/i/mIgUyetl2JiZnYkSCKMT0M42OSbqmqTA/dnS/FbpFF0y8f20zEgQXOkfmpuINF 16G6594DAv/XUHscAgGsOEMOTluD+vWvUyT30LyJE2SZ34ymaL5qTsx1P9kjxppNIXIx VZ7ZEAZJZwfhyNp8aYNPvg3I64hCJYWn4Loh+TG72HpmQ9BoneAxhUATphKfnebXmwV4 yaxOPFW+MvsAc21WvmcgNN4qkSpUIxjiIrpbXSYJ6Nlyb2G2iWQQHc3cUJTTYSbwBX1g 6r1iDZ28fsBtOZ5IwzoxQu7ZlyiwQkrLsVBcvM0QetxmpDgTaecM9Uxvjl0QW63aYDKg 29jQ== X-Gm-Message-State: AOJu0Yxwfkw6RGU4fn6xstqfqf373D+XUxuiLKGr97g7eHXKHL9BLgjs AMyfInsK6nSFh2qsHUOFhfnoTg== X-Google-Smtp-Source: AGHT+IEZJ3nkPtThTZL8ZhZiKXr6pNPFfBALsNWTOCHVIQRAjnhIjrSgQPLv7PeRGTN3GCjWU448eA== X-Received: by 2002:a05:6512:10ca:b0:50e:bc1:c1f1 with SMTP id k10-20020a05651210ca00b0050e0bc1c1f1mr259366lfg.214.1702390683338; Tue, 12 Dec 2023 06:18:03 -0800 (PST) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id y17-20020ac24e71000000b0050bf4b084c0sm1351814lfs.164.2023.12.12.06.18.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 06:18:02 -0800 (PST) From: Linus Walleij Date: Tue, 12 Dec 2023 15:18:02 +0100 Subject: [PATCH] fbdev/clcd: Delete the old CLCD driver Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231212-delete-pl111-fbdev-v1-1-3e63f3abae6e@linaro.org> X-B4-Tracking: v=1; b=H4sIAJlreGUC/x3MwQpAQBRG4VfRXbvljqaJV5EF5h9uCc1ISt7dZ PktznkoISoStcVDEZcm3bcMKQualmGbweqzyVSmrhqx7LHiBB+riHAYPS4ebJgcrDPeCeXwiAh 6/9Ouf98P0hs6dWQAAAA= To: Peter Collingbourne , Kevin Brodsky , Lingkai Dong , Helge Deller Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Linus Walleij X-Mailer: b4 0.12.4 We have managed to ascertain that all users of the old FBDEV code that are out of tree are now gone. The new DRM driver can be found in drivers/gpu/drm/pl111/. The remaining out of tree user was the ARM FVP emulation platform, running Android. Thanks to changes in Android versions 13 and 14, Android can now use the DRM driver when being emulated under FVP. Some final patches are being put in place to make it fully featured. This is essentially a revert of the partial revert in commit 112c35237c72 ("Partially revert "video: fbdev: amba-clcd: Retire elder CLCD driver"") Signed-off-by: Linus Walleij --- MAINTAINERS | 5 - drivers/video/fbdev/Kconfig | 18 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/amba-clcd.c | 984 ---------------------------------------- include/linux/amba/clcd-regs.h | 87 ---- include/linux/amba/clcd.h | 290 ------------ 6 files changed, 1385 deletions(-) --- base-commit: b85ea95d086471afb4ad062012a4d73cd328fa86 change-id: 20230915-delete-pl111-fbdev-a5fc7e572d71 Best regards, diff --git a/MAINTAINERS b/MAINTAINERS index 97f51d5ec1cf..9233599ea369 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1696,11 +1696,6 @@ S: Odd Fixes F: drivers/amba/ F: include/linux/amba/bus.h -ARM PRIMECELL CLCD PL110 DRIVER -M: Russell King -S: Odd Fixes -F: drivers/video/fbdev/amba-clcd.* - ARM PRIMECELL KMI PL050 DRIVER M: Russell King S: Odd Fixes diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 53693c826ebd..aaf0eec16fdf 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -116,24 +116,6 @@ config FB_PM2_FIFO_DISCONNECT help Support the Permedia2 FIFO disconnect feature. -config FB_ARMCLCD - tristate "ARM PrimeCell PL110 support" - depends on ARM || ARM64 || COMPILE_TEST - depends on FB && ARM_AMBA && HAS_IOMEM - select FB_IOMEM_HELPERS - select FB_MODE_HELPERS if OF - select VIDEOMODE_HELPERS if OF - select BACKLIGHT_CLASS_DEVICE if OF - help - This framebuffer device driver is for the ARM PrimeCell PL110 - Colour LCD controller. ARM PrimeCells provide the building - blocks for System on a Chip devices. - - If you want to compile this as a module (=code which can be - inserted into and removed from the running kernel), say M - here and read . The module - will be called amba-clcd. - config FB_ACORN bool "Acorn VIDC support" depends on (FB = y) && ARM && ARCH_ACORN diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile index 8e15220152bd..c6e3d4647e0a 100644 --- a/drivers/video/fbdev/Makefile +++ b/drivers/video/fbdev/Makefile @@ -75,7 +75,6 @@ obj-$(CONFIG_FB_HIT) += hitfb.o obj-$(CONFIG_FB_ATMEL) += atmel_lcdfb.o obj-$(CONFIG_FB_PVR2) += pvr2fb.o obj-$(CONFIG_FB_VOODOO1) += sstfb.o -obj-$(CONFIG_FB_ARMCLCD) += amba-clcd.o obj-$(CONFIG_FB_GOLDFISH) += goldfishfb.o obj-$(CONFIG_FB_68328) += 68328fb.o obj-$(CONFIG_FB_GBE) += gbefb.o diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c deleted file mode 100644 index 0399db369e70..000000000000 --- a/drivers/video/fbdev/amba-clcd.c +++ /dev/null @@ -1,984 +0,0 @@ -/* - * linux/drivers/video/amba-clcd.c - * - * Copyright (C) 2001 ARM Limited, by David A Rusling - * Updated to 2.5, Deep Blue Solutions Ltd. - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file COPYING in the main directory of this archive - * for more details. - * - * ARM PrimeCell PL110 Color LCD Controller - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include