From patchwork Mon Jul 25 20:00:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 1004712 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6PECPHZ010222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 25 Jul 2011 14:12:47 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QlLsm-00028Y-Pf; Mon, 25 Jul 2011 14:11:47 +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 1QlLsK-0007zD-CX; Mon, 25 Jul 2011 14:11:16 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QlLqH-0007O4-Ci for linux-arm-kernel@lists.infradead.org; Mon, 25 Jul 2011 14:09:10 +0000 Received: from epcpsbgm1.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LOW00A2D7ATSQK0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 25 Jul 2011 23:09:01 +0900 (KST) X-AuditID: cbfee61a-b7cf0ae000006bc6-95-4e2d78fde67c Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (MMPCPMTA) with SMTP id 5C.21.27590.DF87D2E4; Mon, 25 Jul 2011 23:09:01 +0900 (KST) Received: from localhost.localdomain ([107.108.73.106]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LOW00ITF7ANNI@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 25 Jul 2011 23:09:02 +0900 (KST) Date: Mon, 25 Jul 2011 16:00:25 -0400 From: Ajay Kumar Subject: [PATCH V2 7/7] ARM: S5P6450: Enable LCD-LTE480 and Framebuffer support In-reply-to: <1311624025-2643-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: <1311624025-2643-8-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.0.4 References: <1311624025-2643-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-20110725_100909_800826_4A4C0AD8 X-CRM114-Status: GOOD ( 17.11 ) 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.33 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 (demeter1.kernel.org [140.211.167.41]); Mon, 25 Jul 2011 14:12:47 +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 0596673..620e6af 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 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..8108963 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)); }