From patchwork Wed Jul 27 17:31:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 1011492 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6RBfifr005137 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 27 Jul 2011 11:42:06 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qm2UX-0006dB-Hg; Wed, 27 Jul 2011 11:41:33 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qm2UW-0004z2-P7; Wed, 27 Jul 2011 11:41:32 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qm2Sg-0004W2-F8 for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2011 11:39:40 +0000 Received: from epcpsbgm1.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LOZ00CLFPPPA530@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2011 20:39:35 +0900 (KST) X-AuditID: cbfee61a-b7cf0ae000006bc6-1a-4e2ff8f7ff8a Received: from epmmp1 ( [203.254.227.16]) by epcpsbgm1.samsung.com (MMPCPMTA) with SMTP id 12.F8.27590.7F8FF2E4; Wed, 27 Jul 2011 20:39:35 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LOZ0092EPPJ2V@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2011 20:39:36 +0900 (KST) Date: Wed, 27 Jul 2011 13:31:17 -0400 From: Ajay Kumar Subject: [PATCH V3 6/7] ARM: S5P6440: Enable LCD-LTE480 and Framebuffer support In-reply-to: <1311787878-16193-1-git-send-email-ajaykumar.rs@samsung.com> To: kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jg1.han@samsung.com, m.szyprowski@samsung.com Message-id: <1311787878-16193-7-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.0.4 References: <1311787878-16193-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: AAAAAA== X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110727_073938_808049_F0705AA2 X-CRM114-Status: GOOD ( 14.81 ) X-Spam-Score: -1.1 (-) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-1.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [203.254.224.25 listed in list.dnswl.org] -1.2 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 2.4 DATE_IN_FUTURE_03_06 Date: is 3 to 6 hours after Received: date X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Wed, 27 Jul 2011 11:42:06 +0000 (UTC) This patch enables s3c-fb support and platform-lcd support for SMDK6440. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/Kconfig | 3 +++ arch/arm/mach-s5p64x0/mach-smdk6440.c | 5 +++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5p64x0/Kconfig b/arch/arm/mach-s5p64x0/Kconfig index 00d5873..41a751f 100644 --- a/arch/arm/mach-s5p64x0/Kconfig +++ b/arch/arm/mach-s5p64x0/Kconfig @@ -42,6 +42,7 @@ config SMDK64X0_COMMON_FB config MACH_SMDK6440 bool "SMDK6440" select CPU_S5P6440 + select S3C_DEV_FB select S3C_DEV_I2C1 select S3C_DEV_RTC select S3C_DEV_WDT @@ -50,7 +51,9 @@ config MACH_SMDK6440 select SAMSUNG_DEV_BACKLIGHT select SAMSUNG_DEV_PWM select SAMSUNG_DEV_TS + select S5P64X0_SETUP_FB select S5P64X0_SETUP_I2C1 + select SMDK64X0_COMMON_FB help Machine support for the Samsung SMDK6440 diff --git a/arch/arm/mach-s5p64x0/mach-smdk6440.c b/arch/arm/mach-s5p64x0/mach-smdk6440.c index 346f8df..106bc8f 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6440.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6440.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include @@ -101,6 +102,8 @@ static struct platform_device *smdk6440_devices[] __initdata = { &s3c_device_wdt, &samsung_asoc_dma, &s5p6440_device_iis, + &s3c_device_fb, + &smdk64x0_lcd_lte480wv, }; static struct s3c2410_platform_i2c s5p6440_i2c0_data __initdata = { @@ -165,6 +168,8 @@ static void __init smdk6440_machine_init(void) ARRAY_SIZE(smdk6440_i2c_devs1)); samsung_bl_set(&smdk6440_bl_gpio_info, &smdk6440_bl_data); + s3c_fb_set_platdata(&smdk64x0_lcd_pdata); + s5p64x0_fb_init(S5P64X0_SPCON0_LCD_SEL_RGB); platform_add_devices(smdk6440_devices, ARRAY_SIZE(smdk6440_devices)); }