From patchwork Tue Jan 20 16:38:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 5670781 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4A1E5C058E for ; Tue, 20 Jan 2015 16:47:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F47C20303 for ; Tue, 20 Jan 2015 16:47:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 74F4520490 for ; Tue, 20 Jan 2015 16:47:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753883AbbATQrW (ORCPT ); Tue, 20 Jan 2015 11:47:22 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:43081 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755462AbbATQrT (ORCPT ); Tue, 20 Jan 2015 11:47:19 -0500 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NIH002EPIMSI690@mailout2.samsung.com>; Wed, 21 Jan 2015 01:47:16 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 05.E1.18167.4968EB45; Wed, 21 Jan 2015 01:47:16 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-e7-54be8694bad6 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 58.89.09430.4968EB45; Wed, 21 Jan 2015 01:47:16 +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 <0NIH00K6NILOY370@mmp2.samsung.com>; Wed, 21 Jan 2015 01:47:16 +0900 (KST) From: Ajay Kumar To: dri-devel@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: kgene.kim@samsung.com, inki.dae@samsung.com, thierry.reding@gmail.com, daniel.vetter@ffwll.ch, seanpaul@google.com, ajaynumb@gmail.com, jg1.han@samsung.com, bhushan.r@samsung.com, prashanth.g@samsung.com, Ajay Kumar Subject: [PATCH V9 13/14] ARM: dts: snow: represent the connection between bridge and panel using videoport and endpoints Date: Tue, 20 Jan 2015 22:08:54 +0530 Message-id: <1421771935-31618-14-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 2.2.0 In-reply-to: <1421771935-31618-1-git-send-email-ajaykumar.rs@samsung.com> References: <1421771935-31618-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42JZI2JSqzulbV+IwZRzohYH3h9ksdjwZiGz xbK1/1gsFj68y2wx/8g5VosrX9+zWUy6P4HF4vLCS6wWvQuusllsenyN1WLG+X1MFqsOb2C3 mHsw1+LnrnksDnwee78tYPHYOesuu8eCTaUe97uPM3lsXlLv0bdlFaPH501yAexRXDYpqTmZ ZalF+nYJXBlv5sxnLnjMW/H40U32Bsb7XF2MnBwSAiYS76/cZ4GwxSQu3FvPBmILCSxllFhw whim5vSaC+xdjFxA8emMEr2P57NBOBOYJP6f3sAIUsUmoC2xbfpNsEkiAl2MEtsOqoMUMQv8 YZT4/Gs/WJGwQLXE754udhCbRUBV4sH+Y2DreAU8JVbPv8MMsU5OYsutR2A1nEDxHR+uskKc 5CGxeP1hqJ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qcWHGE2B rprILCWanA9MHHkl8YbGJuamxqaWJhYmZpZK4rxK9m0hQgLpiSWp2ampBalFMH1MHJxSDYwb bwglxpxRu9yyrs6uTu3xk7necfrJ5rfOzTfmDZa7GmddlPVI/izL4h8vmJcETV/h+bD/4bG4 kvPun3Zpv2W3WmnYbSBaMv3T+pUyId9vu3u43nzL5aCjMfGEfLAT663T78osBC9+9nvlePd5 7Mr5QTvXxKvP4zxqaO+zLsVw1T0TM8OSgxuUWIozEg21mIuKEwGTUuMs5AIAAA== 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, T_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 Define videoports and use endpoints to describe the connection between the encoder, bridge and the panel, instead of using phandles. Signed-off-by: Ajay Kumar Acked-by: Inki Dae Tested-by: Rahul Sharma Tested-by: Javier Martinez Canillas Tested-by: Gustavo Padovan Tested-by: Sjoerd Simons --- arch/arm/boot/dts/exynos5250-snow.dts | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index b9aeec4..1bd5d3a 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -183,7 +183,20 @@ powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>; edid-emulation = <5>; - panel = <&panel>; + + ports { + port@0 { + bridge_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + + port@1 { + bridge_in: endpoint { + remote-endpoint = <&dp_out>; + }; + }; + }; }; }; @@ -228,6 +241,12 @@ compatible = "auo,b116xw03"; power-supply = <&fet6>; backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&bridge_out>; + }; + }; }; }; @@ -242,7 +261,14 @@ samsung,link-rate = <0x0a>; samsung,lane-count = <2>; samsung,hpd-gpio = <&gpx0 7 GPIO_ACTIVE_HIGH>; - bridge = <&ptn3460>; + + ports { + port@0 { + dp_out: endpoint { + remote-endpoint = <&bridge_in>; + }; + }; + }; }; &ehci {