From patchwork Mon Sep 17 10:51:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 1466551 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 4A73B3FE79 for ; Mon, 17 Sep 2012 10:55:24 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TDYwJ-0003Yu-Hn; Mon, 17 Sep 2012 10:52:32 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TDYwG-0003Xt-Nb for linux-arm-kernel@lists.infradead.org; Mon, 17 Sep 2012 10:52:29 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MAH00EBCQ6DAKO0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 17 Sep 2012 19:52:27 +0900 (KST) X-AuditID: cbfee61a-b7f726d000000ec7-ff-505700eb22c1 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 06.B4.03783.BE007505; Mon, 17 Sep 2012 19:52:27 +0900 (KST) Received: from amdc248.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MAH003D4Q6Z1L90@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 17 Sep 2012 19:52:27 +0900 (KST) From: Sylwester Nawrocki To: kgene.kim@samsung.com Subject: [PATCH 1/7] ARM: samsung: Remove unused fields from FIMC and CSIS platform data Date: Mon, 17 Sep 2012 12:51:38 +0200 Message-id: <1347879100-30150-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.11.3 In-reply-to: <1347878888-30001-1-git-send-email-s.nawrocki@samsung.com> References: <1347878888-30001-1-git-send-email-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIJMWRmVeSWpSXmKPExsVy+t9jAd3XDOEBBjcWiFpsenyN1YHRY/OS +gDGKC6blNSczLLUIn27BK6Mkw/2MBZMFKi4+mc6cwPjXt4uRk4OCQETiZ+zWtggbDGJC/fW g9lCAosYJdo3KXUxcgHZG5gkTm55zQySYBMwlOg92scIYosISEo0NfxhBiliFljPKLF1/iYW kISwQJTE5EP7wIpYBFQlZm1ZANbMK+AmcffbD6htihI/vq8Bi3MKuEvs2zYdyOYA2uYm8fZm wQRG3gWMDKsYRVMLkguKk9JzDfWKE3OLS/PS9ZLzczcxgj3+TGoH48oGi0OMAhyMSjy8hpPC AoRYE8uKK3MPMUpwMCuJ8D54AxTiTUmsrEotyo8vKs1JLT7EKM3BoiTOK/wpMEBIID2xJDU7 NbUgtQgmy8TBKdXAuOfR73yFo55TI8xeJu3ZuvH0gxtFT1fFTvqsoHx9zsmOLk0Wu/8qZ8uS d28wYv7xu/BHSlnE0cpHFX55GRX8hceETy6/tfmS09GE29O5TmfYHe7xYztiwvclh+fnfM/6 /ifr1i0y11s9bTpXXvPiZ2s3KVSsdD7Es09KSLXuZN67R33f1B5+KlViKc5INNRiLipOBAAd K/Za9AEAAA== X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.4 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.5 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org, sw0312.kim@samsung.com, Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The MIPI-CSI2 bus data alignment is now being derived from the media bus pixel code, the drivers don't use the corresponding structure fields, so remove them. Also remove the s5p_csis_phy_enable callback which is now used directly by s5p-csis driver. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Acked-by: Kukjin Kim --- arch/arm/mach-exynos/mach-nuri.c | 3 --- arch/arm/mach-exynos/mach-universal_c210.c | 3 --- 2 files changed, 6 deletions(-) -- 1.7.11.3 diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c index 667aefc..da6e7ce 100644 --- a/arch/arm/mach-exynos/mach-nuri.c +++ b/arch/arm/mach-exynos/mach-nuri.c @@ -1180,9 +1180,7 @@ static struct platform_device cam_8m_12v_fixed_rdev = { static struct s5p_platform_mipi_csis mipi_csis_platdata = { .clk_rate = 166000000UL, .lanes = 2, - .alignment = 32, .hs_settle = 12, - .phy_enable = s5p_csis_phy_enable, }; #define GPIO_CAM_MEGA_RST EXYNOS4_GPY3(7) /* ISP_RESET */ @@ -1226,7 +1224,6 @@ static struct s5p_fimc_isp_info nuri_camera_sensors[] = { .bus_type = FIMC_MIPI_CSI2, .board_info = &m5mols_board_info, .clk_frequency = 24000000UL, - .csi_data_align = 32, }, }; diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c index 3056fa7..0b0a2d0 100644 --- a/arch/arm/mach-exynos/mach-universal_c210.c +++ b/arch/arm/mach-exynos/mach-universal_c210.c @@ -944,9 +944,7 @@ static struct platform_device cam_s_if_fixed_reg_dev = { static struct s5p_platform_mipi_csis mipi_csis_platdata = { .clk_rate = 166000000UL, .lanes = 2, - .alignment = 32, .hs_settle = 12, - .phy_enable = s5p_csis_phy_enable, }; #define GPIO_CAM_LEVEL_EN(n) EXYNOS4210_GPE4(n + 3) @@ -1011,7 +1009,6 @@ static struct s5p_fimc_isp_info universal_camera_sensors[] = { .board_info = &m5mols_board_info, .i2c_bus_num = 0, .clk_frequency = 24000000UL, - .csi_data_align = 32, }, #endif };