Received: by 10.223.176.5 with SMTP id f5csp2464253wra; Thu, 1 Feb 2018 00:44:37 -0800 (PST) X-Google-Smtp-Source: AH8x226+jIzWMdTFk5BjW5sMbpizva+6TUJa+BRz76rnS1jK9RqNvkMV8m51KJ59Vr2OFBSS7L1L X-Received: by 10.98.157.211 with SMTP id a80mr36093315pfk.242.1517474677376; Thu, 01 Feb 2018 00:44:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517474677; cv=none; d=google.com; s=arc-20160816; b=MYon78fDfLT0aJWmU6VD/G+8qrE50EFrA7aG22Dqfu35luyBYaNenrT6TlbYHnxqPA mr3xAOluVutDqe8IEVOBeweW7qqY1mSf0dgYkiGvkJJiiF5NVIh0AVkpxdtrN4BHxhkF iam8ziedFnKUgc0pu0btznptVTvvvHgpYnWyAaNnr+4isUh/YIidGJCCLuohsP0Sq8kd Y3AZmbuCOYC72mlI5iq0EUXubERHJaLnE4F4JMVnzaDvt/SpZwgkZWWn6RFH+d2umIVT lXKOnIs7yOlRgIhH+GPOTCWYzWfnKVCUbBBx1i1gVh278eyQv7FqLjmU1Odprfz3FTio SjHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=63pc7vuTlm2awss5TlQ/d5tkEJCKc4G1X4fM8nQ+N8w=; b=vClr2D8cXviGFTp192zwpRbiN997E8oUWpBtNyxPDh0ilejUW3yBQsIDQzV6v1F4ZL GZNWLqVfjldeWgo2t72sNqz55+HgC+k/z8qz7uX+kryENj9z8KcacZ9mza+YMCbfHgiB Gq4GXqH9rW17L6hJTOOT/nsjtFzysiBpJAEtXY6mw0KIVPKjGxo3SCeUXoJ0QiK94Gxv pwUvh0/EGtBn3lLhJmHYnY76gDVHFKUTz4v2EPhAvS3qUBTzK/DurWBEjrHgbJSp3n7r MplwGfH3tVQ8D768P1//FwMcPgj4XwXuPRFG6H96hxaWK4KJkg8rqSubYok6BAU/VQL3 gyww== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3si5552193pgf.710.2018.02.01.00.44.20; Thu, 01 Feb 2018 00:44:37 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751801AbeBAIn7 (ORCPT + 99 others); Thu, 1 Feb 2018 03:43:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:42558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751399AbeBAIn4 (ORCPT ); Thu, 1 Feb 2018 03:43:56 -0500 Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CDE3C217A2; Thu, 1 Feb 2018 08:43:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CDE3C217A2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=krzk@kernel.org Received: by mail-wm0-f54.google.com with SMTP id r71so4194212wmd.1; Thu, 01 Feb 2018 00:43:55 -0800 (PST) X-Gm-Message-State: AKwxytclLGBqWONfF2AATG1U6bjgT/r0nDa5q09JxQOHWzKdgk7iHl8B 9tVwuGGFdtF2t0Pli8Q2SJM77EisvFgUPFGSzPQ= X-Received: by 10.28.238.217 with SMTP id j86mr25166047wmi.151.1517474634282; Thu, 01 Feb 2018 00:43:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.146.69 with HTTP; Thu, 1 Feb 2018 00:43:53 -0800 (PST) In-Reply-To: <6581962f-3552-2891-e6b3-b2f7c0018c93@samsung.com> References: <20180131155718.5237-1-a.hajda@samsung.com> <20180131155718.5237-3-a.hajda@samsung.com> <6581962f-3552-2891-e6b3-b2f7c0018c93@samsung.com> From: Krzysztof Kozlowski Date: Thu, 1 Feb 2018 09:43:53 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC To: Andrzej Hajda 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 1, 2018 at 9:19 AM, Andrzej Hajda wrote: > 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. Without splitting, this patch would have to wait till #1 gets into mainline (so probably till v4.17-rc1 because we are in merge window already). I am fine with this split-approach so only the cleanup patch would get postponed. Up to you. Best regards, Krzysztof