From patchwork Wed Jul 27 17:31:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 1011502 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 p6RBg4at005513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 27 Jul 2011 11:42:25 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Qm2Uq-0006Lq-O4; Wed, 27 Jul 2011 11:41:53 +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 1Qm2Up-00055z-Su; Wed, 27 Jul 2011 11:41:51 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Qm2Si-0004W2-CA for linux-arm-kernel@lists.infradead.org; Wed, 27 Jul 2011 11:39:42 +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:37 +0900 (KST) X-AuditID: cbfee61a-b7cf0ae000006bc6-20-4e2ff8f91540 Received: from epmmp1 ( [203.254.227.16]) by epcpsbgm1.samsung.com (MMPCPMTA) with SMTP id C2.F8.27590.9F8FF2E4; Wed, 27 Jul 2011 20:39:37 +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:37 +0900 (KST) Date: Wed, 27 Jul 2011 13:31:18 -0400 From: Ajay Kumar Subject: [PATCH V3 7/7] ARM: S5P6450: 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-8-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_073940_827236_03095ACC X-CRM114-Status: GOOD ( 14.04 ) 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:25 +0000 (UTC) This patch enables s3c-fb support and platform-lcd support for SMDK6450. Signed-off-by: Ajay Kumar --- arch/arm/mach-s5p64x0/Kconfig | 3 +++ arch/arm/mach-s5p64x0/mach-smdk6450.c | 5 +++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5p64x0/Kconfig b/arch/arm/mach-s5p64x0/Kconfig index 41a751f..43493f1 100644 --- a/arch/arm/mach-s5p64x0/Kconfig +++ b/arch/arm/mach-s5p64x0/Kconfig @@ -60,6 +60,7 @@ config MACH_SMDK6440 config MACH_SMDK6450 bool "SMDK6450" select CPU_S5P6450 + select S3C_DEV_FB select S3C_DEV_I2C1 select S3C_DEV_RTC select S3C_DEV_WDT @@ -68,7 +69,9 @@ config MACH_SMDK6450 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 SMDK6450 diff --git a/arch/arm/mach-s5p64x0/mach-smdk6450.c b/arch/arm/mach-s5p64x0/mach-smdk6450.c index 33f2adf..880421c 100644 --- a/arch/arm/mach-s5p64x0/mach-smdk6450.c +++ b/arch/arm/mach-s5p64x0/mach-smdk6450.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include @@ -119,6 +120,8 @@ static struct platform_device *smdk6450_devices[] __initdata = { &s3c_device_wdt, &samsung_asoc_dma, &s5p6450_device_iis0, + &s3c_device_fb, + &smdk64x0_lcd_lte480wv, /* s5p6450_device_spi0 will be added */ }; @@ -184,6 +187,8 @@ static void __init smdk6450_machine_init(void) ARRAY_SIZE(smdk6450_i2c_devs1)); samsung_bl_set(&smdk6450_bl_gpio_info, &smdk6450_bl_data); + s3c_fb_set_platdata(&smdk64x0_lcd_pdata); + s5p64x0_fb_init(S5P64X0_SPCON0_LCD_SEL_RGB); platform_add_devices(smdk6450_devices, ARRAY_SIZE(smdk6450_devices)); }