From patchwork Sat Nov 15 09:55:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 5311261 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F3C93C11AC 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 32A9A20160 for ; Sat, 15 Nov 2014 10:02:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4918B2010B for ; Sat, 15 Nov 2014 10:02:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753128AbaKOKCb (ORCPT ); Sat, 15 Nov 2014 05:02:31 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:30227 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753023AbaKOKCa (ORCPT ); Sat, 15 Nov 2014 05:02:30 -0500 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NF2009WVRW40500@mailout1.samsung.com>; Sat, 15 Nov 2014 19:02:28 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 77.56.17016.4B427645; Sat, 15 Nov 2014 19:02:28 +0900 (KST) X-AuditID: cbfee68d-f79296d000004278-9b-546724b48673 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 6C.4D.20081.4B427645; Sat, 15 Nov 2014 19:02:28 +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:28 +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 14/14] ARM: dts: peach-pit: represent the connection between bridge and panel using videoport and endpoints Date: Sat, 15 Nov 2014 15:25:09 +0530 Message-id: <1416045309-13359-15-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+NgFmpmkeLIzCtJLcpLzFFi42JZI2JSp7tFJT3E4MQjLYsD7w+yWGx4s5DZ YtnafywWCx/eZbaYf+Qcq8WVr+/ZLCbdn8Bi0bvgKpvFpsfXWC1mnN/HZLHq8AZ2i7kHcy1+ 7prH4sDrsffbAhaPnbPusnss2FTqcb/7OJPH5iX1Hn1bVjF6fN4kF8AexWWTkpqTWZZapG+X wJXRePcta8EV7opHp86yNTB+5ehi5OSQEDCRuPhqGzOELSZx4d56ti5GLg4hgaWMEks3X2GC Kbry5RgTRGIRo8T6Jw2MEM4EJon+c98ZQarYBLQltk2/yQKSEBHoYpR4f2AVO4jDLPCcUWLe hQ6wjLBAA6PEzqNrwTayCKhKtLctZwexeQU8JR693AFkcwAtVJCYM8kGJMwJFN7+cT4LiC0k 4CGx9uA/s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YmVValF+fFFpTmpxYcYTYGO msgsJZqcD0wYeSXxhsYm5qbGppYmFiZmlkrivAdarQOFBNITS1KzU1MLUotg+pg4OKUaGK3y vecW1K2ZVjv9wWRhlsyYtFXfk4Xfex55FLP7M7NfZGTXrcIg/vboP6qly+7NNPtqNFN/74H+ QOXHmqkT9WZvmP5tYfgiroWvNPYnhJrtvBkvc+3uOv84r277e5++18yf43jx2r7QU1FcmtbL +8pMCkqP5pWsMFotcmKGlKlqbExG5/Kqm0osxRmJhlrMRcWJAEsizoTgAgAA 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/exynos5420-peach-pit.dts | 31 ++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 82cdb74..9d06aef 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -107,6 +107,12 @@ compatible = "auo,b116xw03"; power-supply = <&tps65090_fet6>; backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&bridge_out>; + }; + }; }; }; @@ -126,7 +132,14 @@ samsung,link-rate = <0x06>; samsung,lane-count = <2>; samsung,hpd-gpio = <&gpx2 6 0>; - bridge = <&ps8625>; + + ports { + port@0 { + dp_out: endpoint { + remote-endpoint = <&bridge_in>; + }; + }; + }; }; &fimd { @@ -504,8 +517,22 @@ sleep-gpios = <&gpx3 5 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpy7 7 GPIO_ACTIVE_HIGH>; lane-count = <2>; - panel = <&panel>; use-external-pwm; + + ports { + port@0 { + bridge_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + + port@1 { + bridge_in: endpoint { + remote-endpoint = <&dp_out>; + }; + }; + }; + }; };