From patchwork Sat Nov 15 09:55:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 5311251 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 07C109F440 for ; Sat, 15 Nov 2014 10:02:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4922E20123 for ; Sat, 15 Nov 2014 10:02:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6162D2015D for ; Sat, 15 Nov 2014 10:02:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740AbaKOKC3 (ORCPT ); Sat, 15 Nov 2014 05:02:29 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:28167 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752892AbaKOKC2 (ORCPT ); Sat, 15 Nov 2014 05:02:28 -0500 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 <0NF2007MCRW2MA30@mailout3.samsung.com>; Sat, 15 Nov 2014 19:02:26 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id D6.F1.18484.2B427645; Sat, 15 Nov 2014 19:02:26 +0900 (KST) X-AuditID: cbfee68f-f791c6d000004834-cf-546724b2eb69 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id FA.A3.09430.2B427645; Sat, 15 Nov 2014 19:02:26 +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 <0NF200LRLRTSF980@mmp1.samsung.com>; Sat, 15 Nov 2014 19:02:26 +0900 (KST) From: Ajay Kumar To: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: inki.dae@samsung.com, kgene.kim@samsung.com, seanpaul@google.com, thierry.reding@gmail.com, daniel.vetter@ffwll.ch, ajaynumb@gmail.com, bhushan.r@samsung.com, prashanth.g@samsung.com, Ajay Kumar Subject: [PATCH V8 13/14] ARM: dts: snow: represent the connection between bridge and panel using videoport and endpoints Date: Sat, 15 Nov 2014 15:25:08 +0530 Message-id: <1416045309-13359-14-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1416045309-13359-1-git-send-email-ajaykumar.rs@samsung.com> References: <1416045309-13359-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgkeLIzCtJLcpLzFFi42JZI2JSq7tJJT3EYOkfDYsD7w+yWGx4s5DZ YtnafywWCx/eZbaYf+Qcq8WVr+/ZLCbdn8Bi0bvgKpvFpsfXWC1mnN/HZLHq8AZ2i7kHcy1+ 7prH4sDrsffbAhaPnbPusnss2FTqcb/7OJPH5iX1Hn1bVjF6fN4kF8AexWWTkpqTWZZapG+X wJVx9sR75oIr3BWdf4+xNDDe5ehi5OSQEDCRaNg5lw3CFpO4cG89mC0ksJRRou1rEUzN1gPN jF2MXEDxRUDxy0ugnAlMEmsO7APrYBPQltg2/SYLSEJEoItR4v2BVewgDrPAc0aJeRc6gDIc HMIC1RITXviBNLAIqEq0zz3JDGLzCnhK7Fr8iB2kREJAQWLOJBuQMCdQePvH+SwQF3lIrD34 jw1kp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ccXleakFh9iNAU6 aiKzlGhyPjBZ5JXEGxqbmJsam1qaWJiYWSqJ8x5stQ4UEkhPLEnNTk0tSC2C6WPi4JRqYJzp eW8W4w4pxbQPj7ksvof/WCZ218rab3v2gXmm4pwLzsh9zPL7ZvtSzdBWYlnlhcUzqnm9JrK8 /5CrJ3RlSylD2RfvGZ3/PfxYpsbe+3y75OGSI+8mnzE/lfow4/aFO5/32xz5/vfJLtbuFe3n Iu4IfXGyO3kjf1fYgg/Tk46KvWq/V637em+6EktxRqKhFnNRcSIAVkorfd4CAAA= 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 --- 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 e51fcef..877117f 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -254,7 +254,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>; + }; + }; + }; }; }; @@ -328,6 +341,12 @@ compatible = "auo,b116xw03"; power-supply = <&fet6>; backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&bridge_out>; + }; + }; }; dp-controller@145B0000 { @@ -341,7 +360,14 @@ samsung,link-rate = <0x0a>; samsung,lane-count = <2>; samsung,hpd-gpio = <&gpx0 7 0>; - bridge = <&ptn3460>; + + ports { + port@0 { + dp_out: endpoint { + remote-endpoint = <&bridge_in>; + }; + }; + }; }; };