From patchwork Tue May 15 12:12:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10400865 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C7C81601C8 for ; Tue, 15 May 2018 12:13:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B33FD2836F for ; Tue, 15 May 2018 12:13:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7AFD287AB; Tue, 15 May 2018 12:13:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B5072836F for ; Tue, 15 May 2018 12:13:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221AbeEOMND (ORCPT ); Tue, 15 May 2018 08:13:03 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:45774 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752804AbeEOMMz (ORCPT ); Tue, 15 May 2018 08:12:55 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180515121253euoutp01111b623eb09bcd2def4133636d5c9674~u0FHNVzYl2728427284euoutp019; Tue, 15 May 2018 12:12:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180515121253euoutp01111b623eb09bcd2def4133636d5c9674~u0FHNVzYl2728427284euoutp019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1526386373; bh=3ydlej9AA06yVGsCDBgu4z7Q4FOzxRHmvIiBBQrWEjo=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=irUloFJnB5ZQSbocmElFXShOSVvLUlGR7ffw8EzLynzVwpxIgDyb8hDkcptsAnjNb +dcxKks0SS1UG++jfeUkLvE6xYHIosWkCaIyCqKiqCXE3wNdDmchVSuXaGUQ//6v0/ 5+nCMCFc0Vwct24kGPUyDwcHToYl2wsICmv+8JyE= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180515121252eucas1p19a0efd4f96cfabbe314060721933f9ea~u0FGX085X3075230752eucas1p1M; Tue, 15 May 2018 12:12:52 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 84.B9.05700.4CECAFA5; Tue, 15 May 2018 13:12:52 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180515121251eucas1p160dd3dcff49f0dad845ed6be98f33bbe~u0FFiXoJ91991619916eucas1p1p; Tue, 15 May 2018 12:12:51 +0000 (GMT) X-AuditID: cbfec7f2-1c1ff70000011644-eb-5afacec4d420 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 51.D8.04178.3CECAFA5; Tue, 15 May 2018 13:12:51 +0100 (BST) Received: from AMDC2768.DIGITAL.local ([106.120.43.17]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P8R00C6NR9DS130@eusync4.samsung.com>; Tue, 15 May 2018 13:12:51 +0100 (BST) From: Andrzej Hajda To: linux-usb@vger.kernel.org (open list:DESIGNWARE USB3 DRD IP DRIVER) Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), Felipe Balbi , Greg Kroah-Hartman , Inki Dae , Rob Herring , Mark Rutland , Krzysztof Kozlowski , Chanwoo Choi , Laurent Pinchart , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC Date: Tue, 15 May 2018 14:12:39 +0200 Message-id: <20180515121239.18192-3-a.hajda@samsung.com> X-Mailer: git-send-email 2.17.0 In-reply-to: <20180515121239.18192-1-a.hajda@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEIsWRmVeSWpSXmKPExsWy7djPc7pHzv2KMjiyVdji1rpzrBYbZ6xn tTjW9oTd4vqX56wW848AxZoXr2ezmHR/AovF+fMb2C06Jy5ht7i8aw6bxYzz+5gsFi1rZbZY e+Quu8XS6xeZLFr3HmF34PdYM28No8fsjpmsHptWdbJ57J+7ht2jb8sqRo/Pm+QC2KK4bFJS czLLUov07RK4Mq4/b2ArOM5Z0XvrEnsD4yr2LkYODgkBE4kJ7fldjFwcQgIrGCV65jUzQjif GSV+nGoCcjjBinZtb2aGSCxjlPj6/Bc7hPOfUWLzvdksIFVsApoSfzffZAOxRQTcJZYtv8YK UsQs8JFFoqXrI1hCWCBY4uWzl8wgNouAqkTz/GYWkDt4BSwkfjQVQGyTl3g2fR47iM0pYCmx fsITFpA5EgJH2CSuv3vFDlHkInG+aQobhC0s8er4Fqi4jERnx0EmCLta4uaLJqjmDkaJ+7/b oRqsJQ4fv8gKYjML8ElM2jadGRIYvBIdbUIQJR4Sl46thprpKPHg+XwmiI97GCUOvr7NPIFR agEjwypG8dTS4tz01GLDvNRyveLE3OLSvHS95PzcTYzAmD/97/inHYxfLyUdYhTgYFTi4d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GIuKk4EANIpGrBHAgAA X-CMS-MailID: 20180515121251eucas1p160dd3dcff49f0dad845ed6be98f33bbe X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180515121251eucas1p160dd3dcff49f0dad845ed6be98f33bbe X-RootMTR: 20180515121251eucas1p160dd3dcff49f0dad845ed6be98f33bbe References: <20180515121239.18192-1-a.hajda@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP OF graph describes USB data lanes between USB-PHY and respective MUIC. Since graph is present and DWC driver can use it to get extcon, obsolete extcon property can be removed. Signed-off-by: Andrzej Hajda --- .../dts/exynos/exynos5433-tm2-common.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi index 03453b822093..042e5894a138 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -868,6 +868,18 @@ }; }; }; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + muic_to_usb: endpoint { + remote-endpoint = <&usb_to_muic>; + }; + }; + }; }; regulators { @@ -1287,12 +1299,17 @@ &usbdrd_dwc3 { dr_mode = "otg"; - extcon = <&muic>; }; &usbdrd30_phy { vbus-supply = <&safeout1_reg>; status = "okay"; + + port { + usb_to_muic: endpoint { + remote-endpoint = <&muic_to_usb>; + }; + }; }; &xxti {