From patchwork Mon May 20 13:06:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10951097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 49D571390 for ; Mon, 20 May 2019 13:06:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32F4427F86 for ; Mon, 20 May 2019 13:06:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 223642881A; Mon, 20 May 2019 13:06:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5CDCF27F86 for ; Mon, 20 May 2019 13:06:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 966658926C; Mon, 20 May 2019 13:06:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7AF778926C for ; Mon, 20 May 2019 13:06:17 +0000 (UTC) Received: by mail-qt1-x841.google.com with SMTP id j53so16131105qta.9 for ; Mon, 20 May 2019 06:06:17 -0700 (PDT) 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; bh=r5T2EWbZ3c68JAN3+nMHnq7ykkg9xS79RAFFPDQKF04=; b=JeppxrJuhM+QBQ+oZoNpM7QG9/jn7Z2fjM78c71BpB+vTF5PZ6diZDLlYH1rEt3FyP S2bBdU24k2sq7/T70tZehjiKPaTErbOL7fkhzs4fWyco5PEEXfpmBBhel/d87uBy0Csq +XWlCKtGRGn0JYJnz8nwMxkzz85zQwEA2eMbVYfBZYQ60vbBtVgA1RlzqB25XipDnaNn C1bMAmg7CKlc7Xg+RLYr9ocpU6JyyknyxqcXN12pIgD8pUKxTXik4EIuC5tkfjQCZXZH Qh9VGK0wfXxaCNVDNmU9ghna50Qz7NCxGdd0C472rG2Fugaqctb9PaV/UhN9F+R+sm4M f+yA== X-Gm-Message-State: APjAAAVp+FEoMbqlrkNWo/6ZXqXAni8kgmILDEbZmCi2z/xrwE5QMsE1 vjDnF/IQrPjVv6C4dpyZsjs= X-Google-Smtp-Source: APXvYqx7aEM3ghSt3xeif+uY1CS2m98MA2TL8C+P90GYlHC3tg+hUPqTqV02XasvlbcUPF3EFB8QEw== X-Received: by 2002:ac8:3801:: with SMTP id q1mr63092431qtb.250.1558357576065; Mon, 20 May 2019 06:06:16 -0700 (PDT) Received: from fabio-Latitude-E5450.am.freescale.net ([177.221.114.206]) by smtp.gmail.com with ESMTPSA id d58sm13530597qtb.11.2019.05.20.06.06.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 06:06:15 -0700 (PDT) From: Fabio Estevam To: b.zolnierkie@samsung.com Subject: [PATCH] video: fbdev: mxsfb: Remove driver Date: Mon, 20 May 2019 10:06:12 -0300 Message-Id: <20190520130612.2214-1-festevam@gmail.com> X-Mailer: git-send-email 2.17.1 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=r5T2EWbZ3c68JAN3+nMHnq7ykkg9xS79RAFFPDQKF04=; b=Pb6MqqjpHzazc5UANycIapecRSGWg7yc0pjZ0k7uw9PeTwNIuvCpRC+waDLRxcx1ky yuiZFb890vODVOWlOeWvjLtkr2lLcyID+3Vk355OAnIb+aG3odvBe3aizyfQjkz7BOG1 HTpViEU+Qio6zS4NpWyzVcfRu6eeD38N9dkaB9yKjrAj47eV7vSlJUmmhx0es9E5Fbf6 pucCxrDJQ1V1YRRSKVR4w+8LtZWRW3mrhnI2N2RSlbqFFQ5bvAdRJFx4JvdV4EKV6Al1 N/ipAxeLrDmIn5bLShGiAXib/9K730W2m5j8SBocE7pR7KbeBpRCwdUAurI/dp+Xorbw skMg== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marex@denx.de, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-imx@nxp.com, kernel@pengutronix.de, shawnguo@kernel.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP There is a DRM version of the mxsfb driver for quite some time at drivers/gpu/drm/mxsfb/, so there is no need to keep maintaining the fbdev version any longer. Remove the fbdev mxsfb driver in favour of the DRM version. Signed-off-by: Fabio Estevam Acked-by: Marek Vasut --- drivers/video/fbdev/Kconfig | 13 +- drivers/video/fbdev/Makefile | 1 - drivers/video/fbdev/mxsfb.c | 1036 ---------------------------------- 3 files changed, 1 insertion(+), 1049 deletions(-) delete mode 100644 drivers/video/fbdev/mxsfb.c diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index bf6b77b964f1..61c173b0c906 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2171,7 +2171,7 @@ config FB_EP93XX config FB_PRE_INIT_FB bool "Don't reinitialize, use bootloader's GDC/Display configuration" - depends on FB && (FB_MB862XX_LIME || FB_MXS) + depends on FB && FB_MB862XX_LIME ---help--- Select this option if display contents should be inherited as set by the bootloader. @@ -2212,17 +2212,6 @@ config FB_JZ4740 help Framebuffer support for the JZ4740 SoC. -config FB_MXS - tristate "MXS LCD framebuffer support" - depends on FB && (ARCH_MXS || ARCH_MXC) - select FB_CFB_FILLRECT - select FB_CFB_COPYAREA - select FB_CFB_IMAGEBLIT - select FB_MODE_HELPERS - select VIDEOMODE_HELPERS - help - Framebuffer support for the MXS SoC. - config FB_PUV3_UNIGFX tristate "PKUnity v3 Unigfx framebuffer support" depends on FB && UNICORE32 && ARCH_PUV3 diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile index 655f2537cac1..7dc4861a93e6 100644 --- a/drivers/video/fbdev/Makefile +++ b/drivers/video/fbdev/Makefile @@ -131,7 +131,6 @@ obj-$(CONFIG_FB_VGA16) += vga16fb.o obj-$(CONFIG_FB_OF) += offb.o obj-$(CONFIG_FB_MX3) += mx3fb.o obj-$(CONFIG_FB_DA8XX) += da8xx-fb.o -obj-$(CONFIG_FB_MXS) += mxsfb.o obj-$(CONFIG_FB_SSD1307) += ssd1307fb.o obj-$(CONFIG_FB_SIMPLE) += simplefb.o diff --git a/drivers/video/fbdev/mxsfb.c b/drivers/video/fbdev/mxsfb.c deleted file mode 100644 index 1fdd1eb38fe0..000000000000 --- a/drivers/video/fbdev/mxsfb.c +++ /dev/null @@ -1,1036 +0,0 @@ -/* - * Copyright (C) 2010 Juergen Beisert, Pengutronix - * - * This code is based on: - * Author: Vitaly Wool - * - * Copyright 2008-2009 Freescale Semiconductor, Inc. All Rights Reserved. - * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#define DRIVER_NAME "mxsfb" - -/** - * @file - * @brief LCDIF driver for i.MX23 and i.MX28 - * - * The LCDIF support four modes of operation - * - MPU interface (to drive smart displays) -> not supported yet - * - VSYNC interface (like MPU interface plus Vsync) -> not supported yet - * - Dotclock interface (to drive LC displays with RGB data and sync signals) - * - DVI (to drive ITU-R BT656) -> not supported yet - * - * This driver depends on a correct setup of the pins used for this purpose - * (platform specific). - * - * For the developer: Don't forget to set the data bus width to the display - * in the imx_fb_videomode structure. You will else end up with ugly colours. - * If you fight against jitter you can vary the clock delay. This is a feature - * of the i.MX28 and you can vary it between 2 ns ... 8 ns in 2 ns steps. Give - * the required value in the imx_fb_videomode structure. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include