Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1095930imm; Wed, 20 Jun 2018 11:29:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKCOEvRCz8luzPYzRWGDTqDvSiOJh2IowJOyHNzuvVeAGAaDQJdJLFkHMlXhdKpxRnBWDza X-Received: by 2002:a17:902:c6b:: with SMTP id 98-v6mr24940973pls.37.1529519384270; Wed, 20 Jun 2018 11:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529519384; cv=none; d=google.com; s=arc-20160816; b=MMrndixBOixRmUywGPSKCDuvzS06/fsUjKLcs5y96g4IFDLlwZC03ohEXrcKd1Cla7 1YRR5TC1zlu097OFeV++u6fPxKtHXo64Zoubse3FswCM7WDyFF0DhyFwxbPbN3XAgQU6 69GSfFUtg87314bvPhWAXjmNKs/vM62VAhyZxySxwQzDAgP4lyqLZSezoBvo/cU/TzCE JTeYGP4K/X5oYPYWVNbmWBgPwtUu+wBbqMc0NeKko30aIJDLXHr6sIH8em/G5hRx8qiC cMSU7KVCRgQ83WCoODmPt53YuCtSRIj5ACe0wGIK3vEBirWCP+NbBT7UB7q5uW0hSb0J YmQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=wvpzYC9zpVeHZ0zO7pN3zZKy6foGSmi6UryrzQI98yk=; b=tL1IKXNuuCP7BtP3499n6d52RL0XLkxWmMwO6LkLaytEPhoqNhN01EYGqqS1dSeI0K 1JGSc7lW8yLi/swvLTyFXYzGr3/53K45WJ+o8dutL2AAuS/gb2sWdKSv5JKrscZ+6ukl aVm/jqLUhHmGBMxPfg0CQQ/Y2kVFebINZe/RDRNHMArCUepz5ywEZ3A0l1WyAumvdiZn H+gnqGAvdVmSj7cFNszgOdTms1KgjJ5DKT5erxPPpytGZa4FhZx9qxEiy4KM5DQBYBk+ cxrNyap+O2qpyM9OwWH20B5/OxibLLDED53cfvlhesARf4qSkkQPQyHOekt1HAu6glYY AcUA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x125-v6si2978541pfb.237.2018.06.20.11.29.30; Wed, 20 Jun 2018 11:29:44 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754715AbeFTS2w (ORCPT + 99 others); Wed, 20 Jun 2018 14:28:52 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:52842 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754633AbeFTS2s (ORCPT ); Wed, 20 Jun 2018 14:28:48 -0400 Received: by mail-wm0-f66.google.com with SMTP id p126-v6so1067218wmb.2; Wed, 20 Jun 2018 11:28:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wvpzYC9zpVeHZ0zO7pN3zZKy6foGSmi6UryrzQI98yk=; b=CsoNVmB1HVX9KZ2wdu2kEc/3Ko+TejiG1EBdZwD/6S8MKgxrymb0ASSJE45INnxjBL NFjc0v5fvKbhSkc2LeD61AmWrIPX6P0wy0ykVDtFe8x/z8EivzmD+ZWSFpxueq1Np3bd iqv9vT/UhZmjSZowhxa3fzF3IdQSWfMzPQ3qiOyXH/x5Py2YxEHhrasXwgfC/OtK0a9y m0BeNezKBj4cOJ1IebsmsSJ67vOWMRD3lvjZrTCt725sCOVsHJIcNkyKas7uLmlAR7HL 6SiKhQLC8a5S5ibReU4zzTcIPV2TVjSL39onF+CaNjA2k9sKgXYLSZoaCB7WQctELPUI +8aw== X-Gm-Message-State: APt69E1Mv0G9J+TvIcm4/Xf5ocZDXw0IAWsFBUPumASIqvrBDMFd2hrH qYV0lUSbev+YPopxN8Ez4Ps= X-Received: by 2002:a50:f310:: with SMTP id p16-v6mr19132204edm.183.1529519326832; Wed, 20 Jun 2018 11:28:46 -0700 (PDT) Received: from kozik-lap (adsl-84-227-236-43.adslplus.ch. [84.227.236.43]) by smtp.googlemail.com with ESMTPSA id d13-v6sm2032869edb.18.2018.06.20.11.28.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Jun 2018 11:28:45 -0700 (PDT) Date: Wed, 20 Jun 2018 20:28:44 +0200 From: Krzysztof Kozlowski 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 Subject: Re: [PATCH v2 2/2] arm64: dts: exynos: add OF graph between USB-PHY and MUIC Message-ID: <20180620182844.5nmlj5djbjgwy3wn@kozik-lap> References: <20180515121239.18192-1-a.hajda@samsung.com> <20180515121239.18192-3-a.hajda@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180515121239.18192-3-a.hajda@samsung.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 15, 2018 at 02:12:39PM +0200, 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 > --- > .../dts/exynos/exynos5433-tm2-common.dtsi | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) dtc W=1 now complains with: === Warning (graph_child_address): /soc/hsi2c@14d90000/max77843@66/max77843-muic/ports: graph node has single child node 'port@0', #address-cells/#size-cells are not necessary === Do you plan to add more ports soon? Best regards, Krzysztof > 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 { > -- > 2.17.0 >