Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754395AbaAKTnj (ORCPT ); Sat, 11 Jan 2014 14:43:39 -0500 Received: from mail-ee0-f50.google.com ([74.125.83.50]:52534 "EHLO mail-ee0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754132AbaAKTn3 (ORCPT ); Sat, 11 Jan 2014 14:43:29 -0500 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 , Tomasz Figa 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> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 { -- 1.8.5.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/