From patchwork Sat Jan 11 19:42:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 3470241 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 006689F391 for ; Sat, 11 Jan 2014 20:28:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59A4B20131 for ; Sat, 11 Jan 2014 20:28:48 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A41082012F for ; Sat, 11 Jan 2014 20:28:42 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W24Ut-0001tA-2z; Sat, 11 Jan 2014 19:45:33 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W24UH-0000cF-8J; Sat, 11 Jan 2014 19:44:53 +0000 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1W24TG-0000QG-2P for linux-arm-kernel@lists.infradead.org; Sat, 11 Jan 2014 19:43:52 +0000 Received: by mail-ee0-f50.google.com with SMTP id d17so1193eek.23 for ; Sat, 11 Jan 2014 11:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qQe6p0FBqqkzRUE7xrOxdGG0EQl4J7OhC9pVyAN1V+c=; b=NB8r+KLJZrpB5ZdA1GZXXpdNkKVrRRdYOfyWmrOC1FW7Rhjdlk7LbrLECH9YYicjDf p4Xe3szSeHxHwzZoZl4OjY2ohdcOyXXHCoyokameVB1EuGSci3CRgcwKocsnGb9zhCug xaBFwhROQYTA3zwp8YFMau1LKpxwhMTXv4ObGa/yT4eQi9qRI/czoRgoWRb3c1wTejdp vsiuM9WEwcWdldlS6Pzf386F9jJk6YwgfZ41BVdsqpha0wenpX7k+sCoIpIvGWvFLFaj AjmGFC6qEkpiY3DV3kgXdSRyAv+37zlU7+oS1aBCWoEMdFXPYuosCW80UOBeLH+JKzZj y5tQ== X-Received: by 10.14.251.68 with SMTP id a44mr17877286ees.64.1389469407469; Sat, 11 Jan 2014 11:43:27 -0800 (PST) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id e3sm25312484eeg.11.2014.01.11.11.43.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Jan 2014 11:43:27 -0800 (PST) From: Tomasz Figa To: linux-pm@vger.kernel.org Subject: [PATCH RFC 10/10] ARM: dts: s3c6410-mini6410: Add support for LCD screen Date: Sat, 11 Jan 2014 20:42:52 +0100 Message-Id: <1389469372-17199-11-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1389469372-17199-1-git-send-email-tomasz.figa@gmail.com> References: <1389469372-17199-1-git-send-email-tomasz.figa@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140111_144350_295015_5CD4515B X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -2.0 (--) Cc: Mark Rutland , devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Russell King , Pawel Moll , Len Brown , Greg Kroah-Hartman , Tomasz Figa , Ian Campbell , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Rob Herring , Tomasz Figa , Bartlomiej Zolnierkiewicz , Kukjin Kim , Pavel Machek , Kumar Gala , Stephen Warren , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds necessary device tree nodes and properties to enable LCD screen on mini6410 board. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/s3c6410-mini6410.dts | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/s3c6410-mini6410.dts b/arch/arm/boot/dts/s3c6410-mini6410.dts index 57e00f9..97f6353 100644 --- a/arch/arm/boot/dts/s3c6410-mini6410.dts +++ b/arch/arm/boot/dts/s3c6410-mini6410.dts @@ -167,6 +167,33 @@ }; }; +&fimd { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&lcd_data24>, <&lcd_power>; + + display-timings { + native-mode = <&timing0>; + + timing0: timing@0 { + /* 480x272@60Hz */ + clock-frequency = <10000000>; + hactive = <480>; + vactive = <272>; + hfront-porch = <4>; + hback-porch = <45>; + hsync-len = <40>; + vback-porch = <3>; + vfront-porch = <2>; + vsync-len = <6>; + vsync-active = <1>; + hsync-active = <1>; + de-active = <1>; + pixelclk-active = <0>; + }; + }; +}; + &sdhci0 { pinctrl-names = "default"; pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>; @@ -213,6 +240,12 @@ "gpn-4", "gpn-5", "gpl-11", "gpl-12"; samsung,pin-pud = ; }; + + lcd_power: lcd-power { + samsung,pins = "gpe-0"; + samsung,pin-function = <0>; + samsung,pin-pud = ; + }; }; &i2c0 {