From patchwork Thu Jul 25 07:30:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 169681 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp11267386ilk; Thu, 25 Jul 2019 00:30:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXM+sLjB4Iu7A35c3ScoopAftkcw+RLLUUESrHoS7Kcxv42bfp/0fQi6vT9KQbpzsG72Ki X-Received: by 2002:a63:2b8e:: with SMTP id r136mr51501072pgr.216.1564039827704; Thu, 25 Jul 2019 00:30:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564039827; cv=none; d=google.com; s=arc-20160816; b=tmTSLwhv739SmZPSuO+ovideJs7MctbENKHHpH/Jo7b/VvmPl7ZMBwPTCvXj34k3ON FFqQHXb+2nFNUmJbwu3iqGPIiYb1vzb0VvB00CSvun9ljaRrVey/7pIp5LegzJUB8yQA l1Xt3SWlRUpRbuSDuH5AAu5/H5E7nV+A14wt7fHz1KJdJaWYAp1vK54GWbHBNpqMYpzK XwqCXaAPB5+1i8T3ngt9Tgxay+aAN++OhaURBM9HIrUXKcnlXVX3UJXVZPkJ0/ptoWX3 p02XM1BN/mA6aXSDIKKUr1g4ISVf9MXYMPiBhwp2Xez4mmsP/sAp4TGOdR44KyRkU48Y lstQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=z6JMhBKNJf/Vp0ny1OYtNiExZEuF7ePQkZMy7mp/iaw=; b=gwAQ3mZRzGzAcyoGvFfSDxK4uW1Bs4/9oRHzcmrcx1PyyLzIytX7Op88iWqtZXEmEM URtVJjaIvGY0xnA7rKRG2L9NYr/5pbNri13M/wWHjfpkYF3Ys87knBjpWUOMcgW5Ik4b zyx1I8y9E/2nNVjxpNBmcopKv6RMuTnZi9ZgtaZxy+j71R0y4Qem5kWmuU2T248vcH52 a6NyJMJ5ZF56DsRLAN+iIih7bgS/r3d51gzf7YQgG12RkJrfq99HyamTfn8n9KtlTPft JeWKdj2e/K1PIngK0wh0H+UJrgX8S+/BTLXoQe94X1KKZ+zjS+lkLE+4rNvs9Lns9BWT adxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si17212961pgd.247.2019.07.25.00.30.27; Thu, 25 Jul 2019 00:30:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388117AbfGYHa1 (ORCPT + 3 others); Thu, 25 Jul 2019 03:30:27 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:50673 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387738AbfGYHa0 (ORCPT ); Thu, 25 Jul 2019 03:30:26 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1MbBUc-1iNg1v2Yrw-00bcBb for ; Thu, 25 Jul 2019 09:30:23 +0200 From: Arnd Bergmann To: linux-media@vger.kernel.org Subject: [PATCH] media: staging: davinci: remove vpfe driver Date: Thu, 25 Jul 2019 09:30:23 +0200 Message-Id: <20190725073023.2573613-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-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ender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The davinci_vpfe driver was merged into staging back in 2012 by Manjunath Hadli from TI, with a long TODO list. For all I can tell, since then it has only seen fixes for compile-time issues and global cleanups, but nobody has actually worked on the items on the TODO list. To make things worse, the driver in its current form is incompatible with the platform code in arch/arm/mach-davinci, i.e. the driver expects to get its platform_data passed to the device as a 'struct vpfe_config', but uses a differnet definition for that structure compared to what the platform uses. Finally, there is another driver for the same device in drivers/media/platform/davinci/vpfe_capture.c. From all I can tell, the staging version was originally a copy of a more featureful driver in TI's downstream kernels. However, that kernel no longer supports dm365 after linux-2.6.37, and the mainline version moved in a different direction. Signed-off-by: Arnd Bergmann --- resending once more with 'git format-patch -D' to get below the size limit for linux-media drivers/staging/media/Kconfig | 2 - drivers/staging/media/Makefile | 1 - drivers/staging/media/davinci_vpfe/Kconfig | 13 - drivers/staging/media/davinci_vpfe/Makefile | 11 - drivers/staging/media/davinci_vpfe/TODO | 38 - .../media/davinci_vpfe/davinci-vpfe-mc.txt | 154 -- .../media/davinci_vpfe/davinci_vpfe_user.h | 1287 ---------- .../staging/media/davinci_vpfe/dm365_ipipe.c | 1852 --------------- .../staging/media/davinci_vpfe/dm365_ipipe.h | 174 -- .../media/davinci_vpfe/dm365_ipipe_hw.c | 1038 -------- .../media/davinci_vpfe/dm365_ipipe_hw.h | 556 ----- .../media/davinci_vpfe/dm365_ipipeif.c | 1070 --------- .../media/davinci_vpfe/dm365_ipipeif.h | 228 -- .../media/davinci_vpfe/dm365_ipipeif_user.h | 90 - .../staging/media/davinci_vpfe/dm365_isif.c | 2097 ----------------- .../staging/media/davinci_vpfe/dm365_isif.h | 200 -- .../media/davinci_vpfe/dm365_isif_regs.h | 291 --- .../media/davinci_vpfe/dm365_resizer.c | 1995 ---------------- .../media/davinci_vpfe/dm365_resizer.h | 241 -- drivers/staging/media/davinci_vpfe/vpfe.h | 83 - .../media/davinci_vpfe/vpfe_mc_capture.c | 716 ------ .../media/davinci_vpfe/vpfe_mc_capture.h | 90 - .../staging/media/davinci_vpfe/vpfe_video.c | 1646 ------------- .../staging/media/davinci_vpfe/vpfe_video.h | 150 -- 24 files changed, 14023 deletions(-) delete mode 100644 drivers/staging/media/davinci_vpfe/Kconfig delete mode 100644 drivers/staging/media/davinci_vpfe/Makefile delete mode 100644 drivers/staging/media/davinci_vpfe/TODO delete mode 100644 drivers/staging/media/davinci_vpfe/davinci-vpfe-mc.txt delete mode 100644 drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipe.c delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipe.h delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipeif.c delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipeif.h delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipeif_user.h delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_isif.c delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_isif.h delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_isif_regs.h delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_resizer.c delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_resizer.h delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe.h delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe_mc_capture.h delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe_video.c delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe_video.h diff --git a/drivers/staging/media/davinci_vpfe/Kconfig b/drivers/staging/media/davinci_vpfe/Kconfig deleted file mode 100644 index 94bf6746c03f..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/Makefile b/drivers/staging/media/davinci_vpfe/Makefile deleted file mode 100644 index 0ae8c5014f74..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/TODO b/drivers/staging/media/davinci_vpfe/TODO deleted file mode 100644 index cc8bd9306f2a..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/davinci-vpfe-mc.txt b/drivers/staging/media/davinci_vpfe/davinci-vpfe-mc.txt deleted file mode 100644 index a1e91778aa9b..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h b/drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h deleted file mode 100644 index 8d772029c91d..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c deleted file mode 100644 index 52397ad0e3e2..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe.h b/drivers/staging/media/davinci_vpfe/dm365_ipipe.h deleted file mode 100644 index 866ae12aeb07..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c b/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c deleted file mode 100644 index 110473c30577..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h b/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h deleted file mode 100644 index 16b6a14b7058..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipeif.c b/drivers/staging/media/davinci_vpfe/dm365_ipipeif.c deleted file mode 100644 index 51d4cd1bdb97..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipeif.h b/drivers/staging/media/davinci_vpfe/dm365_ipipeif.h deleted file mode 100644 index 4d126fc871f3..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipeif_user.h b/drivers/staging/media/davinci_vpfe/dm365_ipipeif_user.h deleted file mode 100644 index 046dbdec67d8..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_isif.c b/drivers/staging/media/davinci_vpfe/dm365_isif.c deleted file mode 100644 index 05a997f7aa5d..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_isif.h b/drivers/staging/media/davinci_vpfe/dm365_isif.h deleted file mode 100644 index 0e1fe472fb2b..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_isif_regs.h b/drivers/staging/media/davinci_vpfe/dm365_isif_regs.h deleted file mode 100644 index 6695680817b9..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.c b/drivers/staging/media/davinci_vpfe/dm365_resizer.c deleted file mode 100644 index 7adf1fae43f6..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/dm365_resizer.h b/drivers/staging/media/davinci_vpfe/dm365_resizer.h deleted file mode 100644 index 5e31de96b2c9..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/vpfe.h b/drivers/staging/media/davinci_vpfe/vpfe.h deleted file mode 100644 index 1f8e011fc162..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c b/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c deleted file mode 100644 index 9dc28ffe38d5..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.h b/drivers/staging/media/davinci_vpfe/vpfe_mc_capture.h deleted file mode 100644 index fe4a421b5dba..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.c b/drivers/staging/media/davinci_vpfe/vpfe_video.c deleted file mode 100644 index ab6bc452d9f6..000000000000 diff --git a/drivers/staging/media/davinci_vpfe/vpfe_video.h b/drivers/staging/media/davinci_vpfe/vpfe_video.h deleted file mode 100644 index 5d01c4883ab4..000000000000 -- 2.20.0 diff --git a/drivers/staging/media/Kconfig b/drivers/staging/media/Kconfig index 534d85d6c5e3..b1bfc51131de 100644 --- a/drivers/staging/media/Kconfig +++ b/drivers/staging/media/Kconfig @@ -24,8 +24,6 @@ source "drivers/staging/media/allegro-dvt/Kconfig" source "drivers/staging/media/bcm2048/Kconfig" -source "drivers/staging/media/davinci_vpfe/Kconfig" - source "drivers/staging/media/hantro/Kconfig" source "drivers/staging/media/imx/Kconfig" diff --git a/drivers/staging/media/Makefile b/drivers/staging/media/Makefile index c486298194da..b93c5819549f 100644 --- a/drivers/staging/media/Makefile +++ b/drivers/staging/media/Makefile @@ -2,7 +2,6 @@ obj-$(CONFIG_VIDEO_ALLEGRO_DVT) += allegro-dvt/ obj-$(CONFIG_I2C_BCM2048) += bcm2048/ obj-$(CONFIG_VIDEO_IMX_MEDIA) += imx/ -obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci_vpfe/ obj-$(CONFIG_VIDEO_MESON_VDEC) += meson/vdec/ obj-$(CONFIG_VIDEO_OMAP4) += omap4iss/ obj-$(CONFIG_VIDEO_SUNXI) += sunxi/