From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tushar Behera Subject: Re: [PATCH v2 5/5] ARM: EXYNOS4: Add platform data for EXYNOS4 FIMD and LTE480WV platform-lcd Date: Tue, 21 Jun 2011 09:16:38 +0530 Message-ID: <4E00141E.2070608@linaro.org> References: <1308315739-15078-1-git-send-email-jg1.han@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:61673 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752840Ab1FUDqr (ORCPT ); Mon, 20 Jun 2011 23:46:47 -0400 Received: by vws1 with SMTP id 1so1426768vws.19 for ; Mon, 20 Jun 2011 20:46:46 -0700 (PDT) In-Reply-To: <1308315739-15078-1-git-send-email-jg1.han@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Jingoo Han Cc: Kukjin Kim , Paul Mundt , linux-samsung-soc@vger.kernel.org, Jonghun Han , Anand Kumar N , Thomas Abraham , Sylwester Nawrocki , Marek Szyprowski , Kyungmin Park , Inki Dae , ARM Linux , Ben Dooks Hi, On Friday 17 June 2011 06:32 PM, Jingoo Han wrote: > From: Jonghun Han > > This patch adds support EXYNOS4 FIMD0 and LTE480WV LCD pannel. > > Signed-off-by: Jonghun Han > Signed-off-by: Jingoo Han > --- > arch/arm/mach-exynos4/mach-smdkc210.c | 74 +++++++++++++++++++++++++++++++++ > arch/arm/mach-exynos4/mach-smdkv310.c | 74 +++++++++++++++++++++++++++++++++ > 2 files changed, 148 insertions(+), 0 deletions(-) > There are variants of SMDKV310 boards that don't use LTE480WV LCD panel. Won't it be better to provide an option of selecting the LCD panel through config file and adding the panel code accordingly? Also, the panel code can be consolidated at a single location and used in appropriate machine files. > diff --git a/arch/arm/mach-exynos4/mach-smdkc210.c b/arch/arm/mach-exynos4/mach-smdkc210.c > index e645f7a..f3e4c65 100644 > --- a/arch/arm/mach-exynos4/mach-smdkc210.c > +++ b/arch/arm/mach-exynos4/mach-smdkc210.c > @@ -9,7 +9,9 @@ > */ > > #include > +#include > #include > +#include > #include > #include > #include > @@ -19,16 +21,20 @@ > #include > #include > > +#include