From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 05 Dec 2024 07:17:47 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tJ5BK-004DUi-2L for lore@lore.pengutronix.de; Thu, 05 Dec 2024 07:17:47 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJ5BJ-0002Zt-H7 for lore@pengutronix.de; Thu, 05 Dec 2024 07:17:47 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=cnHH42ENckVZ8pDCm/VlAnTrpKZLesTm+ZGPpS0+6Tk=; b=GUBnB0lM5Sd6q7ux79BgQnyX4f sNF27spqziQm6n7rFSVCWiqz6IL0XID5V7yoqk4Mj8wEkz7/kvwBLaVqtAFxSZ/dvNTunD153T/Ft lhA1oT6mT9edVxtV1ty3ETZoiXFeipQUEeRYSl8BKuH8znx4KG/0r82uAu2L2iMUEJn4hX5s5YqN9 +AB3QG3yR7zXGatuGbAzqTy45R61z+ZjKvtlJWqfoHoBz11qGZJ5KshHDszfCiAHg9tCCx0UJ4eCF r5g60tBuKJd0DXO/nojwZMjbALYYEirOTeLfiId6Es9aPYektgSjtTlnDl4iXEIdfhsCAeATgnUU7 hCzI+1/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tJ5AZ-0000000EsGt-1PsF; Thu, 05 Dec 2024 06:16:59 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tJ5AV-0000000EsGE-3XLx for barebox@lists.infradead.org; Thu, 05 Dec 2024 06:16:57 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-53dd57589c8so1850800e87.1 for ; Wed, 04 Dec 2024 22:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733379413; x=1733984213; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=cnHH42ENckVZ8pDCm/VlAnTrpKZLesTm+ZGPpS0+6Tk=; b=A7cxERaOBp5qm22+35NoMJeDlTWA5D1rnmYqq1DADk/2IjNSpToSYEP6OBY4gf49jC TxKXyMNsBoc4m7qpyAQyTUebPHcz3J9uS8dB4cWGE5NhNsJDXyIXAer0yunjq1jsytBS Y+VPnnXnn0PZxCvWFL//aF4lZ65rqT1h5wbzuIHzw/8S3JmFkU3jNG+am8a4ighk6nqt a2SOP7JG3xnjOZQpZ9VveLD+mHI1rlh0Mr+F9h36PJNzZXJ57eDbliG4neHA+7DhDHuM ZAdiBJCyf0SSpFZ/vm4n+543cVx32UfP5JlLALNgWsg/wTVKfe7H4DrdpJ2v/Aapga23 ZwPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733379413; x=1733984213; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cnHH42ENckVZ8pDCm/VlAnTrpKZLesTm+ZGPpS0+6Tk=; b=VK28bmSkhTt+4Bx8ct4Ilu6hI0EnG9bIhPrma0S3zLV3hxLe+Qt4E/zTfaJ9wNPyoD 5bMJQrhtHGGx7x1W1DZMDMOcBH7XNDk9W+tBTW6mTKuV6WM38qr6RGmVj4TSXv7qIaC6 Z7sqWimCrhIp06LF2QmaeSneHI5sfjqT+bdlnKq7tiVNrIIOh8XFD/AvebIbvQ1GEJJg G/yNs50sfL0lP9916j5GCCmgpOugvQVskC83/Zh/FFc6RKucaJnLI27rgxU+NBXpK31y 739/heGnm6EmYYoyKD817cNKhkoX+y8VXD0JHn2/7Y0XKpo6sSzZ5KkVq8EyFntAe7Ct RFQg== X-Gm-Message-State: AOJu0YwXjza2Y8TUFWRZoWJAwonvJmqGwXPse8Yew/LnRKJqbtZnuAvV k+ArxnMBzJjA2i0WEfAqDA1Di9IzhGqTkdovElj2Ws0WQYvcNgIu1pkbDQ== X-Gm-Gg: ASbGncvnW4kZj7d23YBlO7mlUTjquQ8uqTy0cbpPO5AUtW+BdxUmnlmhb/bW5yCQKNC ZwrKwoP9hBW8wjLbYbeeLtoOL1SF5IgrKQBIXIhJ2Oi/omyabMBO6LZkEWgA8ovKbLsZNTvg9RJ dgpM0Juc+DVKFtzZvLZUwCh0XR+O3UfNRA8mDg3E/ut3NxXbfpEwEsVbGnQUoLJSVlWd0uIoHhP Tu4qD+BUhrY5vjIz+T2gWgabMbhfQT8HORMwammZB4jECR51GMfuna7qItx1ppCBStcQRtAvA== X-Google-Smtp-Source: AGHT+IGtxQFNg05uhHiD1VPcMnq+Rbe81w/a1L4fULDDRO2mjpFso5S+HrDV71SoOpdPOlwPwcdE9Q== X-Received: by 2002:a05:6512:3d8d:b0:53e:21e6:76ac with SMTP id 2adb3069b0e04-53e21e67919mr434693e87.3.1733379412962; Wed, 04 Dec 2024 22:16:52 -0800 (PST) Received: from localhost.localdomain ([188.243.23.53]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53e229ba9f1sm127623e87.153.2024.12.04.22.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2024 22:16:50 -0800 (PST) From: Alexander Shiyan To: barebox@lists.infradead.org Cc: Alexander Shiyan Date: Thu, 5 Dec 2024 09:16:41 +0300 Message-Id: <20241205061641.7688-1-eagle.alexander923@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241204_221656_011933_8E97D908 X-CRM114-Status: GOOD ( 21.54 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.4 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: [PATCH] video: omap-fb: Remove orphan driver X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) Since OMAP non-PBL boards are removed from the barebox, the omap-fb driver remains unused. Let's remove it. Fixes: b93f8a06c85f ("ARM: remove non PBL OMAP boards") Signed-off-by: Alexander Shiyan --- arch/arm/mach-omap/omap_devices.c | 29 -- drivers/video/Kconfig | 8 - drivers/video/Makefile | 1 - drivers/video/omap.c | 510 ------------------------------ drivers/video/omap.h | 175 ---------- include/mach/omap/devices.h | 3 - include/video/omap-fb.h | 45 --- 7 files changed, 771 deletions(-) delete mode 100644 drivers/video/omap.c delete mode 100644 drivers/video/omap.h delete mode 100644 include/video/omap-fb.h diff --git a/arch/arm/mach-omap/omap_devices.c b/arch/arm/mach-omap/omap_devices.c index 3ade3225df..afa8940ec1 100644 --- a/arch/arm/mach-omap/omap_devices.c +++ b/arch/arm/mach-omap/omap_devices.c @@ -20,32 +20,3 @@ struct device *omap_add_uart(int id, unsigned long base) return add_generic_device("omap-uart", id, NULL, base, 1024, IORESOURCE_MEM | IORESOURCE_MEM_8BIT, NULL); } - -#if defined(CONFIG_DRIVER_VIDEO_OMAP) -static struct resource omapfb_resources[] = { - { - .name = "omap4_dss", - .start = 0x48040000, - .end = 0x48040000 + 512 - 1, - .flags = IORESOURCE_MEM | IORESOURCE_MEM_32BIT, - }, { - .name = "omap4_dispc", - .start = 0x48041000, - .end = 0x48041000 + 3072 - 1, - .flags = IORESOURCE_MEM | IORESOURCE_MEM_32BIT, - }, -}; - -struct device *omap_add_display(struct omapfb_platform_data *o_pdata) -{ - return add_generic_device_res("omap_fb", -1, - omapfb_resources, - ARRAY_SIZE(omapfb_resources), - o_pdata); -} -#else -struct device *omap_add_display(struct omapfb_platform_data *o_pdata) -{ - return NULL; -} -#endif diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 60adc7f30e..0539e2d453 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -68,14 +68,6 @@ config DRIVER_VIDEO_STM32_LTDC Say 'Y' here to enable framebuffer and splash screen support for STM32 and STM32MP1. -config DRIVER_VIDEO_OMAP - bool "OMAP framebuffer driver" - depends on ARCH_OMAP4 || COMPILE_TEST - help - Add support for OMAP Display Controller. Currently this - driver only supports OMAP4 SoCs in DISPC parallel mode on - LCD2 (MIPI DPI). - config DRIVER_VIDEO_SDL bool "SDL framebuffer driver" depends on SANDBOX diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 6aa5d50e5d..f851837ebc 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -22,7 +22,6 @@ obj-$(CONFIG_DRIVER_VIDEO_IMX) += imx.o obj-$(CONFIG_DRIVER_VIDEO_IMX_IPU) += imx-ipu-fb.o obj-$(CONFIG_DRIVER_VIDEO_PXA) += pxa.o obj-$(CONFIG_DRIVER_VIDEO_SDL) += sdl.o -obj-$(CONFIG_DRIVER_VIDEO_OMAP) += omap.o obj-$(CONFIG_DRIVER_VIDEO_BCM283X) += bcm2835.o obj-$(CONFIG_DRIVER_VIDEO_SIMPLEFB_CLIENT) += simplefb-client.o obj-$(CONFIG_DRIVER_VIDEO_SIMPLEFB) += simplefb-fixup.o diff --git a/drivers/video/omap.c b/drivers/video/omap.c deleted file mode 100644 index 08b81b42f2..0000000000 --- a/drivers/video/omap.c +++ /dev/null @@ -1,510 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * TI Omap Frame Buffer device driver - * - * Copyright (C) 2013 Christoph Fritz - * Based on work by Enrico Scholz, sponsored by Phytec - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include