From patchwork Wed Aug 27 14:48:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 4788871 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 4709B9F383 for ; Wed, 27 Aug 2014 14:59:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B5BF20109 for ; Wed, 27 Aug 2014 14:59:00 +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 9777B200F2 for ; Wed, 27 Aug 2014 14:58:58 +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 1XMecX-0002O1-J0; Wed, 27 Aug 2014 14:54:45 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XMecV-0002Il-1Z for linux-arm-kernel@lists.infradead.org; Wed, 27 Aug 2014 14:54:43 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NAZ001LI02L2P70@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 27 Aug 2014 23:54:21 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 7D.22.02948.D11FDF35; Wed, 27 Aug 2014 23:54:21 +0900 (KST) X-AuditID: cbfee68d-f79c46d000000b84-c4-53fdf11dfe7c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 95.87.04943.D11FDF35; Wed, 27 Aug 2014 23:54:21 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NAY00KFJZZ4GJ60@mmp1.samsung.com>; Wed, 27 Aug 2014 23:54:21 +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/2] ARM: dts: Add DT changes for display on peach_pit Date: Wed, 27 Aug 2014 20:18:28 +0530 Message-id: <1409150908-12801-2-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1409150908-12801-1-git-send-email-ajaykumar.rs@samsung.com> References: <1409150908-12801-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGLMWRmVeSWpSXmKPExsWyRsSkTlf2499ggxXz9S0OvD/IYrHhzUJm i/lHzrFaTLo/gcXi8sJLrBbfd31htzi4qZHZonfBVTaLTY+vsVrMOL+PyWLV4Q3sFnMP5lr8 3DWPxYHXY+esu+weCzaVemxeUu/Rt2UVo8fnTXIBrFFcNimpOZllqUX6dglcGdc6vzEX3Beq uLUhuYHxJV8XIyeHhICJxM4vD9khbDGJC/fWs3UxcnEICSxllFi3sYMVpujv8mfsEIlFjBJX Lp1lgnAmMElsf7CRDaSKTUBbYtv0mywgtohApsSmu9sYQYqYBb4ySrx5cBGsSFjATeL3lVVM IDaLgKrEntsHwFbwCnhIvD92GaiBA2idgsScSTYgYU4BT4nnc6YygthCQCW391wHmykhcIpd 4unxhawQcwQkvk0+xALRKyux6QAzxNWSEgdX3GCZwCi8g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INjPH7Tk3MiJqwS4rl2Zo7 ZsGfGO7zX7nYuaPp6u+0sBsKFYtC5l5hnNNzS+tSt3/FxK03L5z3bnR7taktb3Gyu4p+ndhe 5ohtmT+MtxeaXFIXuNQQNu1te6vopTNnay5PmN8kd4o5/dn09cYbeG7GeFvuf/iVSa+o7Ff4 l6Dc0rdnNn5s7lw/MUmJpTgj0VCLuag4EQAHhU7N0wIAAA== 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-20140827_075443_235865_F1BB8A80 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) Cc: kgene.kim@samsung.com, seanpaul@google.com, jg1.han@samsung.com, joshi@samsung.com, inki.dae@samsung.com, kgene.kim@gmail.com, thierry.reding@gmail.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, RCVD_IN_DNSWL_NONE, 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. 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 --- Changes since V1: -- Remove "simple-panel" compatible string. -- Use GPIO_ACTIVE_HIGH instead of 0. -- Change panel node naming from "panel-simple" to "panel". 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..1070a31 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 { + compatible = "chunghwa,claa101wb01"; + 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: lvds-bridge@48 { + compatible = "parade,ps8625"; + reg = <0x48>; + sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>; + reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>; + lane-count = <2>; + panel = <&panel>; + use-external-pwm; + }; }; &hsi2c_9 {