From patchwork Wed Jun 25 13:12:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 899794 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60A0B155C82; Wed, 25 Jun 2025 13:15:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750857345; cv=none; b=B0t4QfCTbM3Br8ixN9/4NqfiRhw/SvMqQIB/LU09xD3MDTQ1Q7pmy9hRCL325LiKZqDy1W1uiZZwVOJZezgL2FhrXEDAqxqWGCtOO8x2q+G/dhzIo+k8VF0dDsFN+SWiSoNG7PVGLQnXq4Zi7WsVyB4B8i/KAzLZ0mSvVt+kT04= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750857345; c=relaxed/simple; bh=SiGw3L1l09If7nNhE9f4Y+p2QgxBKROpVzagF3G3/e8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=WqjW8bx7XcXYuycUYOqOVRcGh7g+1MOkI46dJjnwFpwINxgId6pJCI1+z7iy7mwMHXHoVzynNhu7h6CPGKrZ/vgg8us7LkmVwyHBtP8jln0U+LVIPuVXGBOq0U+zjps1IuifG8la4eIANicRobYfdSORxQw2n8Vf6pmjiejPN/0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=T8G3EQ2l; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="T8G3EQ2l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E63CC4CEEA; Wed, 25 Jun 2025 13:15:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1750857344; bh=SiGw3L1l09If7nNhE9f4Y+p2QgxBKROpVzagF3G3/e8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T8G3EQ2lHp0dptizyG+VkHleIgy2U2HrI03Mp+9B0Ly1FOVyKAKEIWB8SrfP73QUa W95cKl8fKomJpBnwXXEx+rBK2DPwHpRUVzmuzDX1kBGTSH2jWRO3DQZ/j3xtViMC7y 521MyaoAcT+ot5gbhO8G0suED5IYvJ1R0UL84W9+cXGF3VXYMesdLlQ+rUOQPNn+Bt 9fP9JbFcGuRXgPSN4f42mq1VrLbAU35JyU6Iijdwt8NyOuLarkxCxTHrmqlF5OnfBd FUH+srkfseX2UDq/qOHl581XlSo9WChsFpnbJj9qPtmQCvV89MP8tbGyuJ1AFnAicB E4dygtqlIjqMg== From: Arnd Bergmann To: Thomas Zimmermann , Helge Deller , Jonathan Corbet Cc: Arnd Bergmann , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] fbdev: remove metronomefb Date: Wed, 25 Jun 2025 15:12:23 +0200 Message-Id: <20250625131511.3366522-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250625131511.3366522-1-arnd@kernel.org> References: <20250625131511.3366522-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Arnd Bergmann This driver has not worked correctly for many years, and the only in-tree reference to it is going away as well, so remove the driver now. Signed-off-by: Arnd Bergmann --- Documentation/fb/index.rst | 1 - Documentation/fb/metronomefb.rst | 38 -- drivers/video/fbdev/Kconfig | 9 - drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/metronomefb.c | 724 ------------------------------ include/video/metronomefb.h | 57 --- 6 files changed, 830 deletions(-) delete mode 100644 Documentation/fb/metronomefb.rst delete mode 100644 drivers/video/fbdev/metronomefb.c delete mode 100644 include/video/metronomefb.h diff --git a/Documentation/fb/index.rst b/Documentation/fb/index.rst index 33e3c49f8856..4f3f3b60ba9f 100644 --- a/Documentation/fb/index.rst +++ b/Documentation/fb/index.rst @@ -22,7 +22,6 @@ Frame Buffer internals lxfb matroxfb - metronomefb modedb pvr2fb pxafb diff --git a/Documentation/fb/metronomefb.rst b/Documentation/fb/metronomefb.rst deleted file mode 100644 index 63e1d31a7e54..000000000000 --- a/Documentation/fb/metronomefb.rst +++ /dev/null @@ -1,38 +0,0 @@ -=========== -Metronomefb -=========== - -Maintained by Jaya Kumar - -Last revised: Mar 10, 2008 - -Metronomefb is a driver for the Metronome display controller. The controller -is from E-Ink Corporation. It is intended to be used to drive the E-Ink -Vizplex display media. E-Ink hosts some details of this controller and the -display media here http://www.e-ink.com/products/matrix/metronome.html . - -Metronome is interfaced to the host CPU through the AMLCD interface. The -host CPU generates the control information and the image in a framebuffer -which is then delivered to the AMLCD interface by a host specific method. -The display and error status are each pulled through individual GPIOs. - -Metronomefb is platform independent and depends on a board specific driver -to do all physical IO work. Currently, an example is implemented for the -PXA board used in the AM-200 EPD devkit. This example is am200epd.c - -Metronomefb requires waveform information which is delivered via the AMLCD -interface to the metronome controller. The waveform information is expected to -be delivered from userspace via the firmware class interface. The waveform file -can be compressed as long as your udev or hotplug script is aware of the need -to uncompress it before delivering it. metronomefb will ask for metronome.wbf -which would typically go into /lib/firmware/metronome.wbf depending on your -udev/hotplug setup. I have only tested with a single waveform file which was -originally labeled 23P01201_60_WT0107_MTC. I do not know what it stands for. -Caution should be exercised when manipulating the waveform as there may be -a possibility that it could have some permanent effects on the display media. -I neither have access to nor know exactly what the waveform does in terms of -the physical media. - -Metronomefb uses the deferred IO interface so that it can provide a memory -mappable frame buffer. It has been tested with tinyx (Xfbdev). It is known -to work at this time with xeyes, xclock, xloadimage, xpdf. diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 55c6686f091e..c661b2136009 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -1698,15 +1698,6 @@ config XEN_FBDEV_FRONTEND frame buffer driver. It communicates with a back-end in another domain. -config FB_METRONOME - tristate "E-Ink Metronome/8track controller support" - depends on FB - select FB_SYSMEM_HELPERS_DEFERRED - help - This driver implements support for the E-Ink Metronome - controller. The pre-release name for this device was 8track - and could also have been called by some vendors as PVI-nnnn. - config FB_MB862XX tristate "Fujitsu MB862xx GDC support" depends on FB diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile index b3d12f977c06..3be6ee8e9136 100644 --- a/drivers/video/fbdev/Makefile +++ b/drivers/video/fbdev/Makefile @@ -91,7 +91,6 @@ obj-$(CONFIG_FB_PMAG_AA) += pmag-aa-fb.o obj-$(CONFIG_FB_PMAG_BA) += pmag-ba-fb.o obj-$(CONFIG_FB_PMAGB_B) += pmagb-b-fb.o obj-$(CONFIG_FB_MAXINE) += maxinefb.o -obj-$(CONFIG_FB_METRONOME) += metronomefb.o obj-$(CONFIG_FB_BROADSHEET) += broadsheetfb.o obj-$(CONFIG_FB_S1D13XXX) += s1d13xxxfb.o obj-$(CONFIG_FB_SH7760) += sh7760fb.o diff --git a/drivers/video/fbdev/metronomefb.c b/drivers/video/fbdev/metronomefb.c deleted file mode 100644 index 6f0942c6e5f1..000000000000 --- a/drivers/video/fbdev/metronomefb.c +++ /dev/null @@ -1,724 +0,0 @@ -/* - * linux/drivers/video/metronomefb.c -- FB driver for Metronome controller - * - * Copyright (C) 2008, Jaya Kumar - * - * 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. - * - * Layout is based on skeletonfb.c by James Simmons and Geert Uytterhoeven. - * - * This work was made possible by help and equipment support from E-Ink - * Corporation. https://www.eink.com/ - * - * This driver is written to be used with the Metronome display controller. - * It is intended to be architecture independent. A board specific driver - * must be used to perform all the physical IO interactions. An example - * is provided as am200epd.c - * - */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include