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: 10951095 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 238B014C0 for ; Mon, 20 May 2019 13:06:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EFBC26B39 for ; Mon, 20 May 2019 13:06:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 024FF28820; Mon, 20 May 2019 13:06:20 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1489826B39 for ; Mon, 20 May 2019 13:06:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730891AbfETNGS (ORCPT ); Mon, 20 May 2019 09:06:18 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:34556 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730323AbfETNGS (ORCPT ); Mon, 20 May 2019 09:06:18 -0400 Received: by mail-qt1-f195.google.com with SMTP id h1so16203790qtp.1 for ; Mon, 20 May 2019 06:06:17 -0700 (PDT) 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-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=kG4jXjkIqiwX9SN6NsYUxjsnhLyieaHUvMXbQUT/xZi0BvNyehBsV8hoh0f8/zclmB g+FoUpUXgnGwwq/8FNEycVP5muisosoy2y4Anz5ed5OLSUXNgLMrjoCIAxdxTyfTYD8H e1yjalPid6RQmMWDd/19gKy8+4YWKwC2j9hSYFYjGlUDoN2+B260iWv3whD3m4bi8763 DIgX9jM1CAD1bQIE/XeSvf3xPv91zsJ+x2KsHfSx+nnsL4UpMppILSlH9KWclcz+czrB jH+yqXhfuNreDwIklZFUufDRtVyrZeqO/phDB0vYsyvwi9qm3UFZaGIutHtvuKYf/8Ot wpaA== X-Gm-Message-State: APjAAAWazcvv5MRFaYdxXr00jv1cB2aEaEs/0DTo5QakXmn9ZNyKC68u xBv+p1Yy5H5aIQyVIBV7QGQ= 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 Cc: shawnguo@kernel.org, kernel@pengutronix.de, linux-imx@nxp.com, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, marex@denx.de, Fabio Estevam 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 Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org 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