From patchwork Mon Dec 7 12:52:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Inki Dae X-Patchwork-Id: 7783421 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 9BA18BEEE5 for ; Mon, 7 Dec 2015 12:52:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D1C3720411 for ; Mon, 7 Dec 2015 12:52:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E46FB204DE for ; Mon, 7 Dec 2015 12:52:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753586AbbLGMwp (ORCPT ); Mon, 7 Dec 2015 07:52:45 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:50733 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754724AbbLGMwn (ORCPT ); Mon, 7 Dec 2015 07:52:43 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYZ01MYNNRT6320@mailout1.samsung.com>; Mon, 07 Dec 2015 21:52:41 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.114]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id F1.5E.04964.91185665; Mon, 7 Dec 2015 21:52:41 +0900 (KST) X-AuditID: cbfee68f-f793a6d000001364-f7-5665811994aa Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id B9.FC.13906.91185665; Mon, 7 Dec 2015 21:52:41 +0900 (KST) Received: from localhost.localdomain ([10.113.62.206]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NYZ00JAQNRRRP40@mmp2.samsung.com>; Mon, 07 Dec 2015 21:52:41 +0900 (KST) From: Inki Dae To: dri-devel@lists.freedesktop.org Cc: airlied@linux.ie, devicetree@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, linux-samsung-soc@vger.kernel.org, javier@osg.samsung.com, kgene.kim@samsung.com, k.kozlowski@samsung.com Subject: [PATCH 4/4] ARM: dts: Use OF graph for DP to panel connection in exynos5800-peach-pi Date: Mon, 07 Dec 2015 21:52:38 +0900 Message-id: <1449492758-19989-5-git-send-email-inki.dae@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1449492758-19989-1-git-send-email-inki.dae@samsung.com> References: <1449492758-19989-1-git-send-email-inki.dae@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkeLIzCtJLcpLzFFi42JZI2JSpCvZmBpmMPusmkXvuZNMFvOPnGO1 uPL1PZtF/5uFrBbnXq1ktHjzdg2TxesXhha9C66yWcw4v4/JYun1i0wWE6avZbFo3XuE3YHH Y828NYwel/t6mTxWLv/C5rFpVSebx/ZvD1g97ncfZ/LY0n+X3aNvyypGj8+b5AI4o7hsUlJz MstSi/TtErgyfrXPYi84xFsxv/khUwPjJ64uRk4OCQETiU+PO1khbDGJC/fWs3UxcnEICaxg lNg8dx0TTNG1HYuhErMYJf6s2M0IkhAS+MEo0TLTFcRmE1CVmLjiPhuILSKgLPF34iqwGmaB KUwSK19ngtjCAvESJ/69BouzANU///oDbDOvgIvEo5O3oZbJSZw8NhkszingKtFy/hEbxC4X iR0t3xgham6xS/xtTISYIyDxbfIhli5GDqC4rMSmA8wQJZISB1fcYJnAKLyAkWEVo2hqQXJB cVJ6kbFecWJucWleul5yf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kJqub4f+JkNZdR+bZkZZri9rXO8npM7m+ryRc9+JU0kPzjkK9eg5nOYsnsV5b6f/ Yvlehy8aCU3KzidfLOaW2xNU/MtoGVu1Wq3dqeJfCrUR2xtum3QtPVm7eeo1gTjJzILuSfFV pR7zRC5LV0yb+CjM5H+Zt+o2I6V78+WvHVJiKc5INNRiLipOBAB1HvDr5wIAAA== 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 From: Javier Martinez Canillas The DT binding for the Exynos DRM Display Port (DP) driver isn't consistent since it uses a phandle to describe the connection between the DP port and the display panel but uses the OF graph ports and endpoints to describe the connection betwen the DP port, a bridge chip and the panel. The Exynos DP driver and the DT binding have been changed to allow also to describe the DP port to panel connection using ports / endpoints (OF graph) so this patch changes the Exynos5800 Peach Pi DT to make it consistent with the Exynos5420 Peach Pit that has a eDP to LVDS chip and uses OF graph too. Signed-off-by: Javier Martinez Canillas Tested-by: Javier Martinez Canillas Reviewed-by: Inki Dae Reviewed-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 49a4f43..1cc2e95 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -122,6 +122,12 @@ compatible = "auo,b133htn01"; power-supply = <&tps65090_fet6>; backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&dp_out>; + }; + }; }; mmc1_pwrseq: mmc1_pwrseq { @@ -148,7 +154,14 @@ samsung,link-rate = <0x0a>; samsung,lane-count = <2>; samsung,hpd-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>; - panel = <&panel>; + + ports { + port { + dp_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; }; &fimd {