Received: by 10.223.176.5 with SMTP id f5csp2445599wra; Thu, 1 Feb 2018 00:20:51 -0800 (PST) X-Google-Smtp-Source: AH8x227BWlmskQXkFMGq88eWnHPbEKCHz4EM1VS5K9MRW8RoHIS6uiAtJDE6Mj1lGVH3E0DZnJfh X-Received: by 2002:a17:902:5305:: with SMTP id b5-v6mr17250618pli.61.1517473251623; Thu, 01 Feb 2018 00:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517473251; cv=none; d=google.com; s=arc-20160816; b=a/bJZA2L0SQLxczxI0AvbPVuZKOW8SlCN9nWyWfR4lKT1z05ltGNHAJFwFK1ZbGa/K rHmgn0o38ttKieJHinieatIVBZYaBG5Zg3dor5UiyafhIqPttE5cK4B0eAOrvQ9DGqSm FCpJ79Z4WfExs94DpArJtW4PJNvpMF+35vYp8cZk3TJIJBXKpZRzDTFjmakNFqeER5u2 Bw69g9Hh2/0D9Kw50sgg+20Td/p+nK5SX8D24O6azcgTwZciGzoq8eLZe9mv9Jbd3AQh TiMb9ljXw6Tn2lkW7v0uprXWbvYqp6YHg3BPOWjHCuFgbR/51dffW0WwS2zVrusWf4Js ZZyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:cc:to:subject:dkim-signature:dkim-filter :arc-authentication-results; bh=o/bFnWlPO9AxlSwdr6xa0+vFjBpDu1kmwofHcCsA1Cg=; b=W3CqnIM2adZLXVWWPqC8OwrF+6D1t4jtoi4wDQA91/Iy+ykWK3kJKpcdp7Wes8CA13 tzKIHixFuB93iV+/Uzl5+NrhVGfxKdYDuQzUdj6dEdsA53cVHLPV6yBCfgnXHZ8+envu njD6PQzErPriVfC17sFkV9CF/7X9N1LiRYTVn0T1K6xrs+P0xHpGHvE4Nxv6o2zFQt7u ZnpbOqj5dTQ92MMn5gqLKFnUqp+Enx1hSI7JgyBrYwQSC7ekPCm9N7fjC70OA8ujr5kj M9TBxf4YmPF8woOn+An0y7IZ7Ayb8J7j3l9jGBduhhPrlG6c2Mkl37QcaF5TOlRRyN+q ATPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=PhIUZvXf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3-v6si1105011pld.270.2018.02.01.00.20.36; Thu, 01 Feb 2018 00:20:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=PhIUZvXf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751837AbeBAITs (ORCPT + 99 others); Thu, 1 Feb 2018 03:19:48 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:42712 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751245AbeBAITp (ORCPT ); Thu, 1 Feb 2018 03:19:45 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180201081942euoutp0263b918a1257f1d267200dec1e1913c04~PJdHCUOgR0724507245euoutp02N; Thu, 1 Feb 2018 08:19:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180201081942euoutp0263b918a1257f1d267200dec1e1913c04~PJdHCUOgR0724507245euoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1517473182; bh=o/bFnWlPO9AxlSwdr6xa0+vFjBpDu1kmwofHcCsA1Cg=; h=Subject:To:Cc:From:Date:In-reply-to:References:From; b=PhIUZvXf/xScG4ZigOxM32LuhPEB6YfI4ohxfzAmBq52cbsURZRCYutgCE6958rOn ZzkEwksDLqIDIQJmKpnIqth3uu/9DQ7Hs04XlkR3ZPiUDZ1gAm5t3wVL4w1tMMnH6n Z8KuvgHEGdsgIVUOIlX1bNMKR2mdq1yyxLnnOc5E= Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180201081941eucas1p125bf40d028236201aa833bf09cf502d8~PJdGQ5TLg1992019920eucas1p1q; Thu, 1 Feb 2018 08:19:41 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id E8.0A.30163.D9DC27A5; Thu, 1 Feb 2018 08:19:41 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20180201081940eucas1p14bc912df6c1fc26491a1795f491c7c2a~PJdFpJpQC1274012740eucas1p1I; Thu, 1 Feb 2018 08:19:40 +0000 (GMT) X-AuditID: cbfec7f4-f790c6d0000075d3-ec-5a72cd9de8ea Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A4.94.18832.C9DC27A5; Thu, 1 Feb 2018 08:19:40 +0000 (GMT) Received: from [106.120.43.17] by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P3G0061DPSS3H60@eusync3.samsung.com>; Thu, 01 Feb 2018 08:19:40 +0000 (GMT) Subject: Re: [PATCH 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC To: Krzysztof Kozlowski Cc: "open list:DESIGNWARE USB3 DRD IP DRIVER" , Bartlomiej Zolnierkiewicz , Marek Szyprowski , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Felipe Balbi , Greg Kroah-Hartman , Inki Dae , Rob Herring , Mark Rutland , Chanwoo Choi , Laurent Pinchart , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org From: Andrzej Hajda Message-id: <6581962f-3552-2891-e6b3-b2f7c0018c93@samsung.com> Date: Thu, 01 Feb 2018 09:19:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-version: 1.0 In-reply-to: Content-type: text/plain; charset="utf-8" Content-transfer-encoding: 7bit Content-language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJKsWRmVeSWpSXmKPExsWy7djP87pzzxZFGdxv5LHYOGM9q8Wxtifs Fte/PGe1mH/kHKtF8+L1bBaT7k9gsTh/fgO7RefEJewWl3fNYbOYcX4fk8WiZa3MFmuP3GW3 WHr9IpNF694j7A58HmvmrWH0mN0xk9Vj06pONo/9c9ewe/RtWcXo8XmTXABbFJdNSmpOZllq kb5dAlfG19lP2Qo+81f8auxkaWD8x9nFyMkhIWAisfTRYjYIW0ziwr31QDYXh5DAUkaJld+f MUI4nxkljpyexArT0f3zO1RiGaNE0+KpUM4zRolfJzqZQKqEBUIkzv7fBNYhIqApcf3vd1aQ ImaBdywSa3c8BkuwASX+br4JtpxXwE7iz7FFzCA2i4CqxN5jU9hBbFGBCImuZ7tYIWoEJX5M vscCYnMKBEvcObwfbBkz0JwXXyaxQNjyEpvXvGWGsMUlmltvsoAslhCYzC7RvKQJ6gcXieZ5 79ghbGGJV8e3QNkyEp0dB5kgGroZJT71n2CHcKYwSvz7MIMZospa4vDxi6wQK/gkJm2bDhTn AIrzSnS0CUGUeEgca3gADVZHiS0dn1khYdTAJHHt4ib2CYz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drP2A+NR/TG/+8aZ1Lpx/WmzmN4Y7O/3K/ScuXuno l/Wf5/TdCzI3k+58Y0tbkyHS9GPdbLf1H/dNmzT5wdVks6QdSzhzbbIEd84Im/eQferPQwpG C+T3x37eoZpw/ZLxZamW510NOzJ+Wzxors495ZJ/QomlOCPRUIu5qDgRAMgyFAquAgAA X-CMS-MailID: 20180201081940eucas1p14bc912df6c1fc26491a1795f491c7c2a X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180131155734eucas1p1c7988ce46f3164329a39d2358d9fada9 X-RootMTR: 20180131155734eucas1p1c7988ce46f3164329a39d2358d9fada9 References: <20180131155718.5237-1-a.hajda@samsung.com> <20180131155718.5237-3-a.hajda@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01.02.2018 08:50, Krzysztof Kozlowski wrote: > On Wed, Jan 31, 2018 at 4:57 PM, Andrzej Hajda wrote: >> 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 >> --- >> arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi | 18 +++++++++++++++++- >> 1 file changed, 17 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 427ff861b441..b20b42659206 100644 >> --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi >> +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2-common.dtsi >> @@ -828,6 +828,17 @@ >> }; >> }; >> }; >> + >> + ports { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + port@0 { >> + reg = <0>; >> + muic_to_usb: endpoint { >> + remote-endpoint = <&usb_to_muic>; >> + }; >> + }; >> }; >> }; >> >> @@ -1242,12 +1253,17 @@ >> >> &usbdrd_dwc3 { >> dr_mode = "otg"; >> - extcon = <&muic>; > Look ok for me. > > Does this depend on #1 patch for DWC? Yes, it depends. #1 adds code to find extcon using graph, without it dwc3 won't be able to work in dual-role mode. Alternatively, I could split this patch into two parts: 2a. adding graph bindings. 2b. removing extcon property. In such case only 2b depends on #1. Regards Andrzej > > Best regards, > Krzysztof > > >