From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753388AbcIPId2 (ORCPT ); Fri, 16 Sep 2016 04:33:28 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:38217 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753910AbcIPIc5 (ORCPT ); Fri, 16 Sep 2016 04:32:57 -0400 X-AuditID: cbfec7f5-f79ce6d000004c54-b4-57dbae335c3a From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Marek Szyprowski , Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-fbdev@vger.kernel.org Cc: Krzysztof Kozlowski , Inki Dae , Donghwa Lee , Kyungmin Park Subject: [PATCH v3 1/2] video: fbdev: exynos: Remove old non-working MIPI driver Date: Fri, 16 Sep 2016 10:32:39 +0200 Message-id: <1474014760-23173-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGIsWRmVeSWpSXmKPExsWy7djPc7rG626HG7zYa2WxccZ6Vovr5+0s Jt2fwGLx+oWhRf/j18wW589vYLc42/SG3WLT42usFif6PrBaXN41h81ixvl9TBZrj9xlt1j3 8AWTxfr5t9gc+DxeXbjD4rFpVSebx+Yl9R59W1Yxehy/sZ3J4/MmuQC2KC6blNSczLLUIn27 BK6MDQceMRWs7mavWPBhKksD4/4XrF2MnBwSAiYSly99ZYKwxSQu3FvP1sXIxSEksJRRomfL SkYI5zOjxK1btxlhOmZemA6VWMYo0TjvCjOE859RYtuyPmaQKjYBY4nNy5eAzRIRmM0scehL D1gLM8jgn4d3g20UFgiSOP/qJAuIzSKgKnHq9FmwOK+Au8SZqxuh9slJnDw2mRWkWUJgMrvE xL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A4X4k1JrKxKLcqPLyrNSS0+ xGgKtHwis5Rocj4wFvNK4g1NDM0tDY2MLSzMjYyUxHmnfrgSLiSQnliSmp2aWpBaBNPHxMEp 1cA458vne5qL/7Hobztqn/BxG3NQQVRd9CI/53lBsjuXSuR9cNpomyBbfcQv75nsG9Zzd332 VCkesjqzwcJGa8my/r+sL8KjFdmfqmt82b7LW/TTCUc5pQ/VOzMsRc/nOaS88pPcd3KNWhyj QNSdivv9uVzbrjeHTOS6n57vtaRg8sc7Up3z9W2UWIozEg21mIuKEwEzXmzPjQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20160916083251eucas1p2cf5abc491fcd076590726bc2653d442a X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?7YGs7Ims7Iuc7Yag7ZSEG1NSUE9MLUtlcm5lbCAoVFApGw==?= =?UTF-8?B?7IK87ISx7KCE7J6QGy4vU2VuaW9yIFNvZnR3YXJlIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?S3J6eXN6dG9mIEtvemxvd3NraRtTUlBPTC1LZXJuZWwgKFRQ?= =?UTF-8?B?KRtTYW1zdW5nIEVsZWN0cm9uaWNzGy4vU2VuaW9yIFNvZnR3YXJlIEVuZ2lu?= =?UTF-8?B?ZWVy?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20160916083251eucas1p2cf5abc491fcd076590726bc2653d442a X-RootMTR: 20160916083251eucas1p2cf5abc491fcd076590726bc2653d442a References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The old non-DRM Exynos MIPI driver does not support DeviceTree and requires board files. Our platforms do not provide such so the driver is not usable since a long time ago. All features provided by the driver (and associated s6e8ax0 panel driver) are already supported by newer DRM version so the old code can be removed. Cc: Inki Dae Cc: Donghwa Lee Cc: Kyungmin Park Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. None. Changes since v1: 1. Clean up also drivers/video/fbdev/Makefile. --- MAINTAINERS | 9 - drivers/video/fbdev/Kconfig | 1 - drivers/video/fbdev/Makefile | 2 - drivers/video/fbdev/exynos/Kconfig | 32 - drivers/video/fbdev/exynos/Makefile | 9 - drivers/video/fbdev/exynos/exynos_mipi_dsi.c | 574 ------------- .../video/fbdev/exynos/exynos_mipi_dsi_common.c | 880 -------------------- .../video/fbdev/exynos/exynos_mipi_dsi_common.h | 46 -- .../video/fbdev/exynos/exynos_mipi_dsi_lowlevel.c | 618 -------------- .../video/fbdev/exynos/exynos_mipi_dsi_lowlevel.h | 112 --- drivers/video/fbdev/exynos/exynos_mipi_dsi_regs.h | 149 ---- drivers/video/fbdev/exynos/s6e8ax0.c | 887 --------------------- include/video/exynos_mipi_dsim.h | 358 --------- 13 files changed, 3677 deletions(-) delete mode 100644 drivers/video/fbdev/exynos/Kconfig delete mode 100644 drivers/video/fbdev/exynos/Makefile delete mode 100644 drivers/video/fbdev/exynos/exynos_mipi_dsi.c delete mode 100644 drivers/video/fbdev/exynos/exynos_mipi_dsi_common.c delete mode 100644 drivers/video/fbdev/exynos/exynos_mipi_dsi_common.h delete mode 100644 drivers/video/fbdev/exynos/exynos_mipi_dsi_lowlevel.c delete mode 100644 drivers/video/fbdev/exynos/exynos_mipi_dsi_lowlevel.h delete mode 100644 drivers/video/fbdev/exynos/exynos_mipi_dsi_regs.h delete mode 100644 drivers/video/fbdev/exynos/s6e8ax0.c delete mode 100644 include/video/exynos_mipi_dsim.h diff --git a/MAINTAINERS b/MAINTAINERS index 836bcd327ee4..79ec68e4580d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4743,15 +4743,6 @@ L: iommu@lists.linux-foundation.org S: Maintained F: drivers/iommu/exynos-iommu.c -EXYNOS MIPI DISPLAY DRIVERS -M: Inki Dae -M: Donghwa Lee -M: Kyungmin Park -L: linux-fbdev@vger.kernel.org -S: Maintained -F: drivers/video/fbdev/exynos/exynos_mipi* -F: include/video/exynos_mipi* - EZchip NPS platform support M: Noam Camus S: Supported diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index 6c28ecc3958c..af2f117208f1 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2447,7 +2447,6 @@ config FB_SIMPLE source "drivers/video/fbdev/omap/Kconfig" source "drivers/video/fbdev/omap2/Kconfig" -source "drivers/video/fbdev/exynos/Kconfig" source "drivers/video/fbdev/mmp/Kconfig" config FB_SH_MOBILE_MERAM diff --git a/drivers/video/fbdev/Makefile b/drivers/video/fbdev/Makefile index 5550944f0ad7..ee8c81405a7f 100644 --- a/drivers/video/fbdev/Makefile +++ b/drivers/video/fbdev/Makefile @@ -6,8 +6,6 @@ obj-y += core/ -obj-$(CONFIG_EXYNOS_VIDEO) += exynos/ - obj-$(CONFIG_FB_MACMODES) += macmodes.o obj-$(CONFIG_FB_WMT_GE_ROPS) += wmt_ge_rops.o diff --git a/drivers/video/fbdev/exynos/Kconfig b/drivers/video/fbdev/exynos/Kconfig deleted file mode 100644 index d916bef94f25..000000000000 --- a/drivers/video/fbdev/exynos/Kconfig +++ /dev/null @@ -1,32 +0,0 @@ -# -# Exynos Video configuration -# - -menuconfig EXYNOS_VIDEO - tristate "Exynos Video driver support" - depends on ARCH_S5PV210 || ARCH_EXYNOS - help - This enables support for EXYNOS Video device. - -if EXYNOS_VIDEO - -# -# MIPI DSI driver -# - -config EXYNOS_MIPI_DSI - tristate "EXYNOS MIPI DSI driver support." - select GENERIC_PHY - help - This enables support for MIPI-DSI device. - -config EXYNOS_LCD_S6E8AX0 - tristate "S6E8AX0 MIPI AMOLED LCD Driver" - depends on EXYNOS_MIPI_DSI && BACKLIGHT_CLASS_DEVICE - depends on (LCD_CLASS_DEVICE = y) - default n - help - If you have an S6E8AX0 MIPI AMOLED LCD Panel, say Y to enable its - LCD control driver. - -endif # EXYNOS_VIDEO diff --git a/drivers/video/fbdev/exynos/Makefile b/drivers/video/fbdev/exynos/Makefile deleted file mode 100644 index 02d8dc522fea..000000000000 --- a/drivers/video/fbdev/exynos/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# -# Makefile for the exynos video drivers. -# - -obj-$(CONFIG_EXYNOS_MIPI_DSI) += exynos-mipi-dsi-mod.o - -exynos-mipi-dsi-mod-objs += exynos_mipi_dsi.o exynos_mipi_dsi_common.o \ - exynos_mipi_dsi_lowlevel.o -obj-$(CONFIG_EXYNOS_LCD_S6E8AX0) += s6e8ax0.o diff --git a/drivers/video/fbdev/exynos/exynos_mipi_dsi.c b/drivers/video/fbdev/exynos/exynos_mipi_dsi.c deleted file mode 100644 index 92e4af3caaf8..000000000000 --- a/drivers/video/fbdev/exynos/exynos_mipi_dsi.c +++ /dev/null @@ -1,574 +0,0 @@ -/* linux/drivers/video/exynos/exynos_mipi_dsi.c - * - * Samsung SoC MIPI-DSIM driver. - * - * Copyright (c) 2012 Samsung Electronics Co., Ltd - * - * InKi Dae, - * Donghwa Lee, - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include