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: 13489314 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30E48C4332F for ; Tue, 12 Dec 2023 14:18:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B9D1A10E5FE; Tue, 12 Dec 2023 14:18:07 +0000 (UTC) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7F1B610E5D4 for ; Tue, 12 Dec 2023 14:18:05 +0000 (UTC) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-50be24167efso6587990e87.3 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=lists.freedesktop.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=G4PKIFp9HD+Nd9QkBKw6ch5jcy7JdaFNeqt175o+I3kiPnoJGGDWvu1COWM+nknW6b 3VBrjG5TGm0WyM5FU9leO6OsQHxdLtoXKvlJmGwrnQHeHEY5hbGCDMSE0NWYqzHD7Uqc hlLbHIn9lb7ekYHSxp3C+AUvIiAMz+ZCecGSaPNVQzQ+dq89QrE9de3u/POUryMF8d0q O5wQ0nuf5cx4bezp31YUzb0e+1FnSM0ddwqj1GtsMqgVjopikCyahkthzPWTwnegf1Y8 hK9tHIIes8zA/FHaFIGfU37SceWEO/xwF8oiNbna8FS63puB3IEe+LUXhtlVMuGkTeqL 337Q== 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=Q4/HPbA6K8/gQgrnhvpAEqnhBhl45Tl+87WrfzFt4qChqA1yzZyMmQUqn5UynUPJmf ifcRy4R6pzuC92vUJY/JBK8f79tedgXobAqL8sXJKbMLAyTZ+G8+2jWErHqfaoEJaBhX o+UzZpwT1KYdMiInnmuxrMJiekZ+crFG5tw/CsrajcVlRJXD+DD0xwNCnCVv6gFnuedL ZArfps58t2NDJDYYB2zNIj8OmAllVyy18f3FruArGcLJs6qXMFNt+2iblibyF0M4Tmvy S23oSfC9Gt3M4EgcloMeI94Wb8FZvTk67iDAOCmbALeLofKWNm23rPhtDHNS4PG1aZGR hRcw== X-Gm-Message-State: AOJu0YzlfgvC8t7egsY8MCOQgt76GP4xEHDS7neOMGALcw/MnRC3WReX f6LsXY1yTKTjoOvtj2GpuLykmw== 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 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 X-Mailer: b4 0.12.4 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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