From patchwork Mon Mar 3 16:02:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomasz Figa X-Patchwork-Id: 3755161 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 F06929F38E for ; Mon, 3 Mar 2014 16:03:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1754E203E5 for ; Mon, 3 Mar 2014 16:03:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3C366203DF for ; Mon, 3 Mar 2014 16:03:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754965AbaCCQDX (ORCPT ); Mon, 3 Mar 2014 11:03:23 -0500 Received: from mail-ee0-f49.google.com ([74.125.83.49]:45733 "EHLO mail-ee0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754908AbaCCQC4 (ORCPT ); Mon, 3 Mar 2014 11:02:56 -0500 Received: by mail-ee0-f49.google.com with SMTP id c41so231295eek.36 for ; Mon, 03 Mar 2014 08:02:54 -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=PExn0goTpvzdsnwaY+2vNAVxtVdKGnuRcBzPauQOwFc=; b=bOpj22YzR0vFY2Pz0NRmQKQQ9Ida5mz45p4gJ3/ywDwMuka9qGIfXMLnkopHtQNKSz H8BjOnDkv3rnzc3jB/J5JhlluZZyj0qIeVX5Z9nTh6TZtrohOvkk6rJCeN0XxPw9ZcGb kTD4bNSHtQuUVHc04Ewkki8lIJXqWLbugfciHZm5aiMEiB3E31cCsdg3HMAyPLQHM0RH XDnGyjVoLU0u3aScV7U88U18VP5VisG7if8CcmmtkZaBW7O17kCYB6YcaDQuUmaGI16Y 5ONh0qAEKEpgkYcta/gvcSaLk/NES+xOZIxZGm5k/YrjQaBn5FEKTuoIhdwNb7jL1002 x9ig== X-Received: by 10.15.53.194 with SMTP id r42mr657393eew.112.1393862574853; Mon, 03 Mar 2014 08:02:54 -0800 (PST) Received: from flatron.tomeq (87-207-52-162.dynamic.chello.pl. [87.207.52.162]) by mx.google.com with ESMTPSA id y51sm51430597eeu.0.2014.03.03.08.02.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Mar 2014 08:02:54 -0800 (PST) From: Tomasz Figa To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Greg Kroah-Hartman , "Rafael J. Wysocki" , Pavel Machek , Len Brown , Russell King , Kukjin Kim , Kumar Gala , Ian Campbell , Mark Rutland , Pawel Moll , Rob Herring , Bartlomiej Zolnierkiewicz , Stephen Warren , Tomasz Figa , Mark Brown , Stephen Boyd , Lorenzo Pieralisi , Ulf Hansson , Marek Szyprowski , Tomasz Figa Subject: [PATCH v2 11/11] ARM: dts: s3c6410-mini6410: Add support for LCD screen Date: Mon, 3 Mar 2014 17:02:16 +0100 Message-Id: <1393862536-9842-12-git-send-email-tomasz.figa@gmail.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1393862536-9842-1-git-send-email-tomasz.figa@gmail.com> References: <1393862536-9842-1-git-send-email-tomasz.figa@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, KHOP_BIG_TO_CC, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 {