From patchwork Fri Jul 25 19:44:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 4625441 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 458F79F23C for ; Fri, 25 Jul 2014 19:47:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 80D6B201D5 for ; Fri, 25 Jul 2014 19:47:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 33B78201DD for ; Fri, 25 Jul 2014 19:47:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934189AbaGYTrb (ORCPT ); Fri, 25 Jul 2014 15:47:31 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:49498 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934833AbaGYTr3 (ORCPT ); Fri, 25 Jul 2014 15:47:29 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9A00LOS9N4RP70@mailout3.samsung.com>; Sat, 26 Jul 2014 04:47:28 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 2C.EE.14704.054B2D35; Sat, 26 Jul 2014 04:47:28 +0900 (KST) X-AuditID: cbfee68f-b7fef6d000003970-df-53d2b450a576 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 83.D6.04943.F44B2D35; Sat, 26 Jul 2014 04:47:28 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N9A00NH99MW2550@mmp2.samsung.com>; Sat, 26 Jul 2014 04:47:27 +0900 (KST) From: Ajay Kumar To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: kgene.kim@samsung.com, dianders@chromium.org, ajaynumb@gmail.com, joshi@samsung.com, prashanth.g@samsung.com, Ajay Kumar Subject: [PATCH 1/3] ARM: dts: Add DT changes for display on snow Date: Sat, 26 Jul 2014 01:14:22 +0530 Message-id: <1406317464-7525-2-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1406317464-7525-1-git-send-email-ajaykumar.rs@samsung.com> References: <1406317464-7525-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsWyRsSkWjdgy6VggxeTOC0OvD/IYrHhzUJm i/lHzrFanF12kM3i+64v7Ba9C66yWWx6fI3VYsb5fUwWqw5vYHfg9JjdcJHFY+esu+wem5fU e/RtWcXo8XmTXABrFJdNSmpOZllqkb5dAldG285z7AWXhCse9OxmaWA8zdfFyMkhIWAi0dR0 lh3CFpO4cG89WxcjF4eQwFJGiTuHZjLCFPXeOscIkZjOKHFgxXMoZwKTxIW7a8Gq2AS0JbZN v8kCYosIZEpsursNrIhZYDajxP8D58GKhAUcJZYcPgRkc3CwCKhKNG2pBwnzCrhLvFiymQ0k LCGgIDFnkg1ImFPAQ2LziU1sILYQUMm32XuZQEZKCKxil+jeOQPsbBYBAYlvkw+xQPTKSmw6 wAxxtKTEwRU3WCYwCi9gZFjFKJpakFxQnJReZKxXnJhbXJqXrpecn7uJERj4p/8969/BePeA 9SHGZKBxE5mlRJPzgZGTVxJ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vtgzYXnZ7vPSv2dsDThwZJm/qwNlqyx9iyfK56wCzzcu81LSO18UbwSS3FGoqEWc1Fx IgD0DJc/wAIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Add DT nodes for ptn3460 bridge chip and panel-simple panel. Add backlight enable pin and backlight power supply for pwm-backlight. Also add bridge phandle needed by dp to enable display on snow. Signed-off-by: Ajay Kumar --- arch/arm/boot/dts/exynos5250-snow.dts | 40 +++++++++++++++++---------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 6c36d41..f57f993 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -270,7 +270,7 @@ dcdc3 { ti,enable-ext-control; }; - fet1 { + fet1: fet1 { regulator-name = "vcd_led"; ti,overcurrent-wait = <3>; }; @@ -293,7 +293,7 @@ regulator-always-on; ti,overcurrent-wait = <3>; }; - fet6 { + fet6: fet6 { regulator-name = "lcd_vdd"; ti,overcurrent-wait = <3>; }; @@ -342,6 +342,15 @@ pinctrl-0 = <&max98095_en>; pinctrl-names = "default"; }; + + ptn3460: ptn3460-bridge@20 { + compatible = "nxp,ptn3460"; + reg = <0x20>; + powerdown-gpios = <&gpy2 5 0>; + reset-gpios = <&gpx1 5 0>; + edid-emulation = <5>; + panel = <&panel>; + }; }; i2s0: i2s@03830000 { @@ -389,11 +398,13 @@ vdd_pll-supply = <&ldo8_reg>; }; - backlight { + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm 0 1000000 0>; brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; default-brightness-level = <7>; + enable-gpios = <&gpx3 0 0>; + power-supply = <&fet1>; pinctrl-0 = <&pwm0_out>; pinctrl-names = "default"; }; @@ -403,6 +414,12 @@ samsung,invert-vclk; }; + panel: panel-simple { + compatible = "simple-panel"; + power-supply = <&fet6>; + backlight = <&backlight>; + }; + dp-controller@145B0000 { status = "okay"; pinctrl-names = "default"; @@ -414,21 +431,6 @@ samsung,link-rate = <0x0a>; samsung,lane-count = <2>; samsung,hpd-gpio = <&gpx0 7 0>; - - display-timings { - native-mode = <&timing1>; - - timing1: timing@1 { - clock-frequency = <70589280>; - hactive = <1366>; - vactive = <768>; - hfront-porch = <40>; - hback-porch = <40>; - hsync-len = <32>; - vback-porch = <10>; - vfront-porch = <12>; - vsync-len = <6>; - }; - }; + bridge = <&ptn3460>; }; };