From patchwork Fri Jul 25 19:44:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 4625471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F032EC0338 for ; Fri, 25 Jul 2014 19:49:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CF2C201DC for ; Fri, 25 Jul 2014 19:49:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (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 55383201D5 for ; Fri, 25 Jul 2014 19:49:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XAlTU-0002u2-Iq; Fri, 25 Jul 2014 19:48:16 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XAlT7-0002bj-PE for linux-arm-kernel@lists.infradead.org; Fri, 25 Jul 2014 19:47:54 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N9A0039P9N5LH60@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 26 Jul 2014 04:47:29 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.124]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 68.34.24374.154B2D35; Sat, 26 Jul 2014 04:47:29 +0900 (KST) X-AuditID: cbfee68d-b7fd46d000005f36-af-53d2b451375c Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 34.D6.04943.154B2D35; Sat, 26 Jul 2014 04:47:29 +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:29 +0900 (KST) From: Ajay Kumar To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/3] ARM: dts: Add DT changes for display on peach_pit Date: Sat, 26 Jul 2014 01:14:23 +0530 Message-id: <1406317464-7525-3-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+NgFvrLLMWRmVeSWpSXmKPExsWyRsSkRjdwy6Vgg8blGhYH3h9ksdjwZiGz xfwj51gtzi47yGbxfdcXdoveBVfZLDY9vsZqMeP8PiaLVYc3sDtwesxuuMjisXPWXXaPzUvq Pfq2rGL0+LxJLoA1issmJTUnsyy1SN8ugStj5cz1jAXHBCvatl1laWB8w9vFyMkhIWAiceb6 dxYIW0ziwr31bF2MXBxCAksZJZbsn8XYxcgBVnR6RgVEfDqjxPzHLewgDUICE5gkjt0RA7HZ BLQltk2/CTZIRCBTYtPdbYwgDcwCsxkl/h84zwiSEBZwk5jU/4MZZCiLgKrE3BPqIGFeAXeJ lf1tbBC7FCTmTLIBCXMKeEhsPrGJDWKVu8S32XuZQEZKCKxjl7h7eD9YgkVAQOLb5EMsEL2y EpsOMEP8IilxcMUNlgmMwgsYGVYxiqYWJBcUJ6UXGe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37ZxNyo/Kc29TwHdMzvpkzPqj+9H5+d7Gr7u1y994jqet+Ob201DLqFeU/ 73Lwe+Pe/3Vvsk29PgY9Le/KrpyuEFIcwx1f0h0utyDme0fl5fbz990X+PO9jFdiKc5INNRi LipOBAATHMW4vwIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140725_124753_965872_F4AF3982 X-CRM114-Status: UNSURE ( 8.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: kgene.kim@samsung.com, dianders@chromium.org, joshi@samsung.com, ajaynumb@gmail.com, prashanth.g@samsung.com, Ajay Kumar X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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=-1.9 required=5.0 tests=BAYES_00,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 ps8622 bridge chip and panel-simple panel. Add backlight power supply for pwm-backlight. Also add bridge phandle needed by dp to enable display on peach_pit. Note that, peach_pit doesn't support "chunghwa,claa101wb01" panel, but still we choose to reuse the binding since "chunghwa,claa101wb01" has similar LCD timings. Signed-off-by: Ajay Kumar Tested-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 36 +++++++++++++++------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 228a6b1..79beba8 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -30,11 +30,12 @@ i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel"; }; - 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>; + power-supply = <&tps65090_fet1>; pinctrl-0 = <&pwm0_out>; pinctrl-names = "default"; }; @@ -100,6 +101,12 @@ regulator-boot-on; regulator-always-on; }; + + panel: panel-simple { + compatible = "chunghwa,claa101wb01", "simple-panel"; + power-supply = <&tps65090_fet6>; + backlight = <&backlight>; + }; }; &dp { @@ -113,22 +120,7 @@ samsung,link-rate = <0x06>; samsung,lane-count = <2>; samsung,hpd-gpio = <&gpx2 6 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 = <&ps8625>; }; &fimd { @@ -155,6 +147,16 @@ pinctrl-names = "default"; pinctrl-0 = <&max98090_irq>; }; + + ps8625: ps8625-bridge@48 { + compatible = "parade,ps8625"; + reg = <0x48>; + sleep-gpios = <&gpx3 5 0>; + reset-gpios = <&gpy7 7 0>; + lane-count = <2>; + panel = <&panel>; + backlight = <&backlight>; + }; }; &hsi2c_9 {