From patchwork Wed Feb 14 12:00:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10218635 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 48764601C2 for ; Wed, 14 Feb 2018 12:00:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 34C48285C7 for ; Wed, 14 Feb 2018 12:00:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2958328935; Wed, 14 Feb 2018 12:00:50 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable 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 7758F285C7 for ; Wed, 14 Feb 2018 12:00:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967394AbeBNMAq (ORCPT ); Wed, 14 Feb 2018 07:00:46 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:19507 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967373AbeBNMAp (ORCPT ); Wed, 14 Feb 2018 07:00:45 -0500 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180214120043epoutp033e2851214a8ecd038a65f1f55b53b28a~TL2ynN0KM0214202142epoutp03L; Wed, 14 Feb 2018 12:00:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180214120043epoutp033e2851214a8ecd038a65f1f55b53b28a~TL2ynN0KM0214202142epoutp03L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1518609643; bh=khuuRMcTkYwU1aXWvbETKW/jM9+nmbxhBY4QPw+zeDo=; h=From:To:Cc:Subject:Date:References:From; b=EuHCsP0JTQYRmCy5B53oSiC8gD+5jo9o5rBOYqWh8VwehPqY4tmIwglKXNY/0Afk/ 6IxmCNl0Zk8qLSQi4Jhb/2Ha2VoEmstL9jP+olagKz9FTDTF2FD5C68Z+iud/ficO8 IRxLN0tavxwb8LZo1yBpyndzD9nd2BlqmVYmUHyE= Received: from epsmges2p4.samsung.com (unknown [182.195.42.72]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20180214120042epcas2p40645b51e8937deceeae1ecfea0677a62~TL2yQUvrZ1982919829epcas2p4h; Wed, 14 Feb 2018 12:00:42 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id F3.0D.04080.AE4248A5; Wed, 14 Feb 2018 21:00:42 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180214120041epcas2p37afd51e693a9cad842e59128a77d45ac~TL2xWV65p3119431194epcas2p3N; Wed, 14 Feb 2018 12:00:41 +0000 (GMT) X-AuditID: b6c32a48-9c5ff70000000ff0-fe-5a8424eabcd1 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 74.CE.03890.9E4248A5; Wed, 14 Feb 2018 21:00:41 +0900 (KST) Received: from amdc3058.localnet ([106.120.53.102]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P4500HHL2P4L730@mmp1.samsung.com>; Wed, 14 Feb 2018 21:00:41 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Jingoo Han Subject: [PATCH] video: fbdev: s3c-fb: remove dead platform code for Exynos and S5PV210 platforms Date: Wed, 14 Feb 2018 13:00:39 +0100 Message-id: <2621881.tniV7NOQqn@amdc3058> User-Agent: KMail/4.13.3 (Linux/3.13.0-96-generic; KDE/4.13.3; x86_64; ; ) MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset="us-ascii" X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOIsWRmVeSWpSXmKPExsWy7bCmqe4rlZYog08n1S2ufH3PZrHiy0x2 ixN9H1gtLu+aw2Yx4/w+JgdWj52z7rJ73O8+zuTxeZNcAHMUl01Kak5mWWqRvl0CV8amv4EF h/UrTm8sa2CcpNrFyMkhIWAi0f6tnbGLkYtDSGAHo8T1y5/ZQBJCAt8ZJd69T4crOr+fBaJo N6PEwu8ToIq+MkqsucsLYrMJWElMbF/FCGKLCDhITLkxgR3EZhbIkNg3+RMziC0skCxxsasV rIZFQFViwqffYDW8ApoSz6/cAYuLCnhJbNnXzgQRF5T4MfkeC8QceYl9+6eyQtg6EmePrWOE OK6DTeLH9RAI20Vi2ec9bBC2sMSr41vYIWxpiWerNoJ9KSGwilHi59W/UM5mRonP17+yQlRZ Sxw+fhFqA59Ex+G/QN0cQHFeiY42IYgSD4mDV/ZCLXaUODOpjxGkREggVuLe4qoJjDKzkJw9 C8nZs5CcvYCReRWjWGpBcW56arFRgYlecWJucWleul5yfu4mRnB0a3nsYDxwzucQowAHoxIP 74ZXTVFCrIllxZW5hxglOJiVRHiNzzdHCfGmJFZWpRblxxeV5qQWH2KU5mBREudtC3CJEhJI TyxJzU5NLUgtgskycXBKNTD2RyinWt7fOeXDx5t7849eepE6eZ8Fv+bTK/5G79zXT9J9frDx Nb/HsTlPdJiCut2avh3RWb6BO24Sc0jChZJpzaFbluvs2L0oaDmDWMyKu2YqqlFcjRUZSis3 dKXXL1suJP/GvrCCi3fa7v+hJpODvp4RSv12IvuOaPDT8s/Tr5f2uzxw+fJUiaU4I9FQi7mo OBEAIEGtTuoCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGLMWRmVeSWpSXmKPExsVy+t9jAd2XKi1RBkdXqVlc+fqezWLFl5ns Fif6PrBaXN41h81ixvl9TA6sHjtn3WX3uN99nMnj8ya5AOYoLpuU1JzMstQifbsEroxNfwML DutXnN5Y1sA4SbWLkZNDQsBEov38fpYuRi4OIYGdjBInT91kg3C+MkrsXfSZCaSKTcBKYmL7 KkYQW0TAQWLKjQnsIDazQIbExpfXmUFsYYFkidZpnWwgNouAqsSET7/BangFNCWeX7kD1isq 4CWxZV87E0RcUOLH5HssEHPkJfbtn8oKYWtJrN95nGkCI+8sJGWzkJTNQlK2gJF5FaNkakFx bnpusVGBUV5quV5xYm5xaV66XnJ+7iZGYOhtO6zVv4Px8ZL4Q4wCHIxKPLwcb5uihFgTy4or cw8xSnAwK4nwGp9vjhLiTUmsrEotyo8vKs1JLT7EKM3BoiTOy59/LFJIID2xJDU7NbUgtQgm y8TBKdXAmCkgaqL5uYPzZ+I1ox0zu+oFc/1+uJu9/9W2PO/Nv8mdkn/e19QL37+94Pyc51t5 su6tm5P36b7Qf/P0P/E5C67MtRR/WRW+VPU+B3dd1KyNf5qvq9gzd9yqWi2zvUlu2vODu4r+ WHAUvT7+xq3y+5Joj198PcsmsPA8+Rgec7B/o+b5c0tdvymxFGckGmoxFxUnAgA97jQzOQIA AA== X-CMS-MailID: 20180214120041epcas2p37afd51e693a9cad842e59128a77d45ac X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180214120041epcas2p37afd51e693a9cad842e59128a77d45ac X-RootMTR: 20180214120041epcas2p37afd51e693a9cad842e59128a77d45ac References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Exynos5, Exynos4 and S5PV210 platforms have been converted to use Device Tree and Exynos DRM driver long time ago. Remove dead platform code for these platforms and update Kconfig s3c-fb entry accordingly. Cc: Jingoo Han Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Jingoo Han --- drivers/video/fbdev/Kconfig | 3 drivers/video/fbdev/s3c-fb.c | 162 ------------------------------------------- 2 files changed, 1 insertion(+), 164 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: b/drivers/video/fbdev/Kconfig =================================================================== --- a/drivers/video/fbdev/Kconfig 2018-02-12 14:28:32.392677896 +0100 +++ b/drivers/video/fbdev/Kconfig 2018-02-14 12:54:06.399057592 +0100 @@ -2020,8 +2020,7 @@ config FB_TMIO_ACCELL config FB_S3C tristate "Samsung S3C framebuffer support" - depends on FB && (CPU_S3C2416 || ARCH_S3C64XX || \ - ARCH_S5PV210 || ARCH_EXYNOS) + depends on FB && (CPU_S3C2416 || ARCH_S3C64XX) select FB_CFB_FILLRECT select FB_CFB_COPYAREA select FB_CFB_IMAGEBLIT Index: b/drivers/video/fbdev/s3c-fb.c =================================================================== --- a/drivers/video/fbdev/s3c-fb.c 2017-10-18 14:35:22.063448310 +0200 +++ b/drivers/video/fbdev/s3c-fb.c 2018-02-14 12:04:00.719262463 +0100 @@ -1716,63 +1716,6 @@ static struct s3c_fb_win_variant s3c_fb_ }, }; -static struct s3c_fb_win_variant s3c_fb_data_s5p_wins[] = { - [0] = { - .has_osd_c = 1, - .osd_size_off = 0x8, - .palette_sz = 256, - .valid_bpp = (VALID_BPP1248 | VALID_BPP(13) | - VALID_BPP(15) | VALID_BPP(16) | - VALID_BPP(18) | VALID_BPP(19) | - VALID_BPP(24) | VALID_BPP(25) | - VALID_BPP(32)), - }, - [1] = { - .has_osd_c = 1, - .has_osd_d = 1, - .osd_size_off = 0xc, - .has_osd_alpha = 1, - .palette_sz = 256, - .valid_bpp = (VALID_BPP1248 | VALID_BPP(13) | - VALID_BPP(15) | VALID_BPP(16) | - VALID_BPP(18) | VALID_BPP(19) | - VALID_BPP(24) | VALID_BPP(25) | - VALID_BPP(32)), - }, - [2] = { - .has_osd_c = 1, - .has_osd_d = 1, - .osd_size_off = 0xc, - .has_osd_alpha = 1, - .palette_sz = 256, - .valid_bpp = (VALID_BPP1248 | VALID_BPP(13) | - VALID_BPP(15) | VALID_BPP(16) | - VALID_BPP(18) | VALID_BPP(19) | - VALID_BPP(24) | VALID_BPP(25) | - VALID_BPP(32)), - }, - [3] = { - .has_osd_c = 1, - .has_osd_alpha = 1, - .palette_sz = 256, - .valid_bpp = (VALID_BPP1248 | VALID_BPP(13) | - VALID_BPP(15) | VALID_BPP(16) | - VALID_BPP(18) | VALID_BPP(19) | - VALID_BPP(24) | VALID_BPP(25) | - VALID_BPP(32)), - }, - [4] = { - .has_osd_c = 1, - .has_osd_alpha = 1, - .palette_sz = 256, - .valid_bpp = (VALID_BPP1248 | VALID_BPP(13) | - VALID_BPP(15) | VALID_BPP(16) | - VALID_BPP(18) | VALID_BPP(19) | - VALID_BPP(24) | VALID_BPP(25) | - VALID_BPP(32)), - }, -}; - static struct s3c_fb_driverdata s3c_fb_data_64xx = { .variant = { .nr_windows = 5, @@ -1804,102 +1747,6 @@ static struct s3c_fb_driverdata s3c_fb_d .win[4] = &s3c_fb_data_64xx_wins[4], }; -static struct s3c_fb_driverdata s3c_fb_data_s5pv210 = { - .variant = { - .nr_windows = 5, - .vidtcon = VIDTCON0, - .wincon = WINCON(0), - .winmap = WINxMAP(0), - .keycon = WKEYCON, - .osd = VIDOSD_BASE, - .osd_stride = 16, - .buf_start = VIDW_BUF_START(0), - .buf_size = VIDW_BUF_SIZE(0), - .buf_end = VIDW_BUF_END(0), - - .palette = { - [0] = 0x2400, - [1] = 0x2800, - [2] = 0x2c00, - [3] = 0x3000, - [4] = 0x3400, - }, - - .has_shadowcon = 1, - .has_blendcon = 1, - .has_clksel = 1, - .has_fixvclk = 1, - }, - .win[0] = &s3c_fb_data_s5p_wins[0], - .win[1] = &s3c_fb_data_s5p_wins[1], - .win[2] = &s3c_fb_data_s5p_wins[2], - .win[3] = &s3c_fb_data_s5p_wins[3], - .win[4] = &s3c_fb_data_s5p_wins[4], -}; - -static struct s3c_fb_driverdata s3c_fb_data_exynos4 = { - .variant = { - .nr_windows = 5, - .vidtcon = VIDTCON0, - .wincon = WINCON(0), - .winmap = WINxMAP(0), - .keycon = WKEYCON, - .osd = VIDOSD_BASE, - .osd_stride = 16, - .buf_start = VIDW_BUF_START(0), - .buf_size = VIDW_BUF_SIZE(0), - .buf_end = VIDW_BUF_END(0), - - .palette = { - [0] = 0x2400, - [1] = 0x2800, - [2] = 0x2c00, - [3] = 0x3000, - [4] = 0x3400, - }, - - .has_shadowcon = 1, - .has_blendcon = 1, - .has_fixvclk = 1, - }, - .win[0] = &s3c_fb_data_s5p_wins[0], - .win[1] = &s3c_fb_data_s5p_wins[1], - .win[2] = &s3c_fb_data_s5p_wins[2], - .win[3] = &s3c_fb_data_s5p_wins[3], - .win[4] = &s3c_fb_data_s5p_wins[4], -}; - -static struct s3c_fb_driverdata s3c_fb_data_exynos5 = { - .variant = { - .nr_windows = 5, - .vidtcon = FIMD_V8_VIDTCON0, - .wincon = WINCON(0), - .winmap = WINxMAP(0), - .keycon = WKEYCON, - .osd = VIDOSD_BASE, - .osd_stride = 16, - .buf_start = VIDW_BUF_START(0), - .buf_size = VIDW_BUF_SIZE(0), - .buf_end = VIDW_BUF_END(0), - - .palette = { - [0] = 0x2400, - [1] = 0x2800, - [2] = 0x2c00, - [3] = 0x3000, - [4] = 0x3400, - }, - .has_shadowcon = 1, - .has_blendcon = 1, - .has_fixvclk = 1, - }, - .win[0] = &s3c_fb_data_s5p_wins[0], - .win[1] = &s3c_fb_data_s5p_wins[1], - .win[2] = &s3c_fb_data_s5p_wins[2], - .win[3] = &s3c_fb_data_s5p_wins[3], - .win[4] = &s3c_fb_data_s5p_wins[4], -}; - /* S3C2443/S3C2416 style hardware */ static struct s3c_fb_driverdata s3c_fb_data_s3c2443 = { .variant = { @@ -1942,15 +1789,6 @@ static const struct platform_device_id s .name = "s3c-fb", .driver_data = (unsigned long)&s3c_fb_data_64xx, }, { - .name = "s5pv210-fb", - .driver_data = (unsigned long)&s3c_fb_data_s5pv210, - }, { - .name = "exynos4-fb", - .driver_data = (unsigned long)&s3c_fb_data_exynos4, - }, { - .name = "exynos5-fb", - .driver_data = (unsigned long)&s3c_fb_data_exynos5, - }, { .name = "s3c2443-fb", .driver_data = (unsigned long)&s3c_fb_data_s3c2443, },