From patchwork Fri Sep 21 13:13:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrzej Hajda X-Patchwork-Id: 10610021 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5BB0E15E8 for ; Fri, 21 Sep 2018 13:14:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C3762D966 for ; Fri, 21 Sep 2018 13:14:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 407D02D98B; Fri, 21 Sep 2018 13:14:04 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 AE2D82D966 for ; Fri, 21 Sep 2018 13:14:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389966AbeIUTCv (ORCPT ); Fri, 21 Sep 2018 15:02:51 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:42585 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728100AbeIUTCv (ORCPT ); Fri, 21 Sep 2018 15:02:51 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20180921131401euoutp018ddadb50dd489e58b6c6c1e791f22082~WbIUB1rbu2734427344euoutp01g for ; Fri, 21 Sep 2018 13:14:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180921131401euoutp018ddadb50dd489e58b6c6c1e791f22082~WbIUB1rbu2734427344euoutp01g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1537535641; bh=H6qrgTtPMxs72Z+Jz9NoIxQKLpJOOPUHnwmREcekERg=; h=From:To:Cc:Subject:Date:References:From; b=cQoEUlxT+MiWnD0Smn3z9F+tXHqqxwVbx2tpLVJ1Qj/AMg1Qj/AqS1phUlhkb4lbT X3neMkGQkbkjzrqugeKiY0m66Z0Jl8akx4+KFoRuhYiAm4vc7FtCn4jEc495/J6QrW eMDS/IV/hr+fZJmUEClO2n5wUi3LDV/8mBhK3BwA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180921131400eucas1p27ce350b2aeb5a328c2b338afe24aa7c1~WbITfl1dm2934729347eucas1p2k; Fri, 21 Sep 2018 13:14:00 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 0D.16.04441.89EE4AB5; Fri, 21 Sep 2018 14:14:00 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20180921131359eucas1p2fd46913e0a9845bbb6e8260aa9f5c20f~WbISmyGpy1936319363eucas1p2i; Fri, 21 Sep 2018 13:13:59 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20180921131359eusmtrp122abbcdef2186dab11ff417758031803~WbISV2Aew1082010820eusmtrp1K; Fri, 21 Sep 2018 13:13:59 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-4c-5ba4ee981a71 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E2.CF.04284.79EE4AB5; Fri, 21 Sep 2018 14:13:59 +0100 (BST) Received: from AMDC2768.DIGITAL.local (unknown [106.120.43.17]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20180921131359eusmtip297c8ba7beaafa370b382b65e083ded05~WbIR9l3AG3169831698eusmtip2x; Fri, 21 Sep 2018 13:13:59 +0000 (GMT) From: Andrzej Hajda To: Krzysztof Kozlowski Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , "open list : DESIGNWARE USB3 DRD IP DRIVER" , "open list : OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-samsung-soc@vger.kernel.org Subject: [PATCH v3] arm64: dts: exynos: add OF graph between USB-PHY and MUIC Date: Fri, 21 Sep 2018 15:13:55 +0200 X-Mailer: git-send-email 2.18.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCIsWRmVeSWpSXmKPExsWy7djP87oz3i2JNjh2T8ri1rpzrBYbZ6xn tZh/BMg6f34Du8WM8/uYLBYta2W2WHvkLrsDu8emVZ1sHn1bVjF6fN4kF8AcxWWTkpqTWZZa pG+XwJWxrW8hc8ExroozZ2eyNjDO4Ohi5OSQEDCR+P2ngb2LkYtDSGAFo8TcA/1QzhdGifPv z0E5nxklHu5azAbTsn36YiaIxHJGib2vbrHBtdx7tpURpIpNQFPi7+abYB0iQPb1v99ZQYqY BW4zSWx93glWJCzgL9E49SiYzSKgKnH7yGlmiBXyEg+PtzNC2EfYJA7dswaxeQXKJHpu9wHV cADFXSRWXtaGKBGWeHV8CzuELSNxenIPC4RdL9E08wozyF4JgQ5GiROLl0O9YC1x+PhFVpA5 zEDHrd+lDxF2lNjz4y3UeD6JG28FQcLMQOakbdOhwrwSHW1CENWKEvfPboU6WFxi6YWvUMM9 JLonvAA7XkggVuL3+evMExjlZiHsWsDIuIpRPLW0ODc9tdgwL7Vcrzgxt7g0L10vOT93EyMw 7k//O/5pB+PXS0mHGAU4GJV4eFe8XR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m26R3DAzmFn+mBJLcUaioRZzUXEiAEdJ171OAgAA Message-Id: <20180921131359eucas1p2fd46913e0a9845bbb6e8260aa9f5c20f~WbISmyGpy1936319363eucas1p2i@eucas1p2.samsung.com> X-CMS-MailID: 20180921131359eucas1p2fd46913e0a9845bbb6e8260aa9f5c20f X-Msg-Generator: CA X-RootMTR: 20180921131359eucas1p2fd46913e0a9845bbb6e8260aa9f5c20f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180921131359eucas1p2fd46913e0a9845bbb6e8260aa9f5c20f References: 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 --- v3: - removed #address-cells/#size-cells from ports node. Hi Krzysztof, This is next version of the patch I forgot. I have addressed your comments, I hope correctly :) Regards Andrzej --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 15 ++++++++++++++- 1 file changed, 14 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 a1e3194b7483..95cbf5f0921d 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi @@ -868,6 +868,14 @@ }; }; }; + + ports { + port { + muic_to_usb: endpoint { + remote-endpoint = <&usb_to_muic>; + }; + }; + }; }; regulators { @@ -1283,12 +1291,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 {