From patchwork Tue Jun 9 20:04:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 187704 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp859314ilo; Tue, 9 Jun 2020 13:08:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzp3geDmoKwEVWcU+/DkL7I+uFjw20/nDKKenjpSPFbQfo0wW3++Xhc29FsAPTHz6rHnKK4 X-Received: by 2002:a17:90b:46cf:: with SMTP id jx15mr6602855pjb.121.1591733292020; Tue, 09 Jun 2020 13:08:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591733292; cv=none; d=google.com; s=arc-20160816; b=oh5Dm/hc7DF5yIUxWVkM33nTqL1ZqjEtGKeS31gGLZ2FY0Eu/LbaucQcKxlhuEdGDG Puuwfzvt8EOYuXLIQe/zm/pD6cjbS9jDb3+ycVRKiHLciyfyax8XrCVeEt4Rmmfidh95 kD40Wwxp9V61YXmbpPatpgCDPplmXgXUAbKQgUCEVJVbcjksJmxYm2fqPnvY9mXzcJTy p+v37dBhp+c3w0FKf+iLPnMfzA4S+DGSyhmQFkF9Zze2MG2vpbSsIZJvau5KOhiSR0FU IN3F39wsXDD5LhELXtrvESSk0XFpD5Xmj93yaeNcNZ1X9c3WkJTjRG29wNDvwA/BB7k6 /ZKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=aeiKEDa7j3Mike3DKE01471j08Y9mzhfgvm1oZHarU8=; b=E4Az8EuGtHqpdCIhxJfICt0fSTsvPCACXBrzRCG5WLmr8c1Mc9QMBm36n11ibMufbp oNVlLPVggp3rIlI8H2Isye1UzPiOzu8pNVCwFFs+C3T2yS5yqhhfSjgeQmC2wgn5d1Sl 6/swwJt8o7c5eBty//GHQ2cFhZcEpRVssNHElU2wJWW3fpIOPy8U9H3CQ+/i3+CPjZ2H kePrgQ/m+/vUwO1rLq9N5NblTEZCOpMuA3rk7AznIDJvbPwA6KXacphMqui4X/v6WQM5 S3z0aTT4/My/RMvMgnYH07i0dFehKH3L2ePNNRCUqw8JPAcblUw4UTC8e+FP4a2UvEN5 UcMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PYyTdvKP; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id z6si8130813plk.154.2020.06.09.13.08.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 13:08:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PYyTdvKP; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7A65B896FA; Tue, 9 Jun 2020 20:08:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 514AE896FA for ; Tue, 9 Jun 2020 20:08:08 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id a9so23145391ljn.6 for ; Tue, 09 Jun 2020 13:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Kjp4z7wYiCrrM667mqmlZTf80dbcp8zu9m+RxGjxf9I=; b=PYyTdvKP+oATBeKULsAEYr47eMnO4wpZg3//iAw/2XUzyN/l05dnJ9oZ51sBvcKQhe 4k0d+JIgV5fZFVno2MPERM2Y9ZQJ9/rNPy2JxwOjn3ep40Didh0yRIs1p6Mt79GJgtbq n1s+62+FRf+uAQoXhTDu0juwHa6RAwwmLV9opuP3jwFBUnPBXdaXKaNTTezuchqOEmN1 Yp3CRtDsaqU9HCdo0nDq1GdyU/lV7g+7J/wx7RdcfNF2SOJxWjsmIklqUK2cF73IswOH rmbVt12cnheAtON5KEvVzF3EPlFzpdEGDh2kpGEOJrvUpx+0ult3ZyzEV/RZljd8XEBg Mtow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Kjp4z7wYiCrrM667mqmlZTf80dbcp8zu9m+RxGjxf9I=; b=ekKiFHowqFh/76MNSymwIMicc7mrblxjAtZ/f3M7M4r2KDhdktCVp1jeHjx9kNtQj1 XCM7z3lKzqIzgAPuY6pe1u/VbsSQjyDHPxNWhZNplQ1fqVMC4jw/vcEeM9ATSifh2phU oswtBFyGlVI38fKmkBwIA4RuWcNHdYPhofvuj9MmRVscgDGz5+M7R0Ub99VwyZjklJQh qCvaGRUBmsm9gEjXXE8lBb/NcRuqQ+MoT42YG4lzqHINCZxBYudcVA0pM2SZxRhhmAkb t5eNSYCMpAwPND7IW3gbEEBBP3XiYrXSn/oCa+Nav682CzsHCdNVi6BiY5UHlpeu0Bic BE6g== X-Gm-Message-State: AOAM5326r26YFKQHOGAsd+fhhsW+dYurZDd5PqmSHhdNcmvVs6utfyCO b+vRoUrOgakG/75M9JRS5ufbY0QOeuM= X-Received: by 2002:a2e:b6c5:: with SMTP id m5mr7681ljo.94.1591733285330; Tue, 09 Jun 2020 13:08:05 -0700 (PDT) Received: from localhost.localdomain (c-92d7225c.014-348-6c756e10.bbcust.telenor.se. [92.34.215.146]) by smtp.gmail.com with ESMTPSA id 66sm6038579lfk.54.2020.06.09.13.08.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 13:08:04 -0700 (PDT) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Sean Paul , Eric Anholt , Russell King Subject: [PATCH 2/4] video: fbdev: amba-clcd: Retire elder CLCD driver Date: Tue, 9 Jun 2020 22:04:44 +0200 Message-Id: <20200609200446.153209-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200609200446.153209-1-linus.walleij@linaro.org> References: <20200609200446.153209-1-linus.walleij@linaro.org> MIME-Version: 1.0 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-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" All the functionality in this driver has been reimplemented in the new DRM driver in drivers/gpu/drm/pl111/* and all the boards using it have been migrated to use the DRM driver with all configuration coming from the device tree. I started the work to migrate the CLCD driver to DRM in april 2017 and it took a little more than 3 years to do this properly without leaving any platforms behind. Cc: Russell King Signed-off-by: Linus Walleij --- As the framebuffer subsystem is orphaned I expect this to go in through the drm-misc tree. --- MAINTAINERS | 5 - drivers/video/fbdev/Kconfig | 20 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/amba-clcd.c | 989 -------------------------------- include/linux/amba/clcd.h | 290 ---------- 5 files changed, 1305 deletions(-) delete mode 100644 drivers/video/fbdev/amba-clcd.c delete mode 100644 include/linux/amba/clcd.h -- 2.25.4 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/MAINTAINERS b/MAINTAINERS index df86f6f06000..086894075397 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1432,11 +1432,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 fa88e8b9a83d..0a5fc63e05d2 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -272,26 +272,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_CFB_FILLRECT - select FB_CFB_COPYAREA - select FB_CFB_IMAGEBLIT - 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 aa6352798cf4..76a43ec8f24c 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 c3d55fc6c4e0..000000000000 --- a/drivers/video/fbdev/amba-clcd.c +++ /dev/null @@ -1,989 +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