Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp687522imm; Fri, 22 Jun 2018 03:41:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIsEQMjsvT1asX4RNe7+pIVFbHpHGMQAPAgp/0vBi6v6zZgcFOGetlA9Tfq+cNlA/+zM0xy X-Received: by 2002:a62:c0cb:: with SMTP id g72-v6mr1152118pfk.226.1529664085107; Fri, 22 Jun 2018 03:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529664085; cv=none; d=google.com; s=arc-20160816; b=KsGuaQm10MimYlwV1pBWRVv+XNfAgTC0RdGVOsPx3Mgh0GlOfGHnYmGttA9KplRx8G lOu7y+ymiWsC5Xfhui0fdgwJ+HOnKB1p+eA0mriBXm/DDkfW+DE1aj7YDTmmKBA+C2tD VsHx07G6HhdA8OoYPRM3ix3XG2m+eTYOIA3nb5pLL6WdglOlTGs7HSd0os1RsUTdybfB GzgmLTSSvPcnvM2JLpMbDTFdrYOE7PIYv1IioWc/zLK3q3hzOp/m//2JTSLPrwDk7GQt 5nsYTVN7zWyqHHY76GQbnZMal3TpQccd8QHBDKk5CYXFslWQkH6YLzSvLkEdkLjK0XiC ge+w== 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:message-id :content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:from:cc:to:subject:dkim-signature:dkim-filter :arc-authentication-results; bh=0PFy5QxzosU1mFPQ2E5wI8/kLXaC1THIVpB7us+teVA=; b=NUWw4i0un4fHmDt9l9tiwnmGJrrXN48gHyJDj49lwzD+4VY3fTBBbU/bjr38+TdzbV CUmrEim8WLxwrF77ntLJG7sDRk6SUMnMRT6dFQVCqVx7OJkGuA2h934bzs9r+ymFsRo5 ajn3afQ3pRlnjVxxeQAd96eO/ZGFo9rYSkB5mRN5D8ubSWe+VQjU9RxwV/MZaKcU9OJ2 L7hIctGzGqXySuMwfh6+WEKXpt+K7ElfKt2t6JvyfuN8g4ZSmuf/+AIKVSx99qMIgpRv 7O1CAF6KKmzCbYl2+1WT2MGaHpfOJ0oggut9a3epGBWFP3DFUwQyiVMTqQlhnnRRTkuR jYbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=szYLWVnK; 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 d3-v6si4256721pla.28.2018.06.22.03.41.10; Fri, 22 Jun 2018 03:41:25 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=szYLWVnK; 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 S1754340AbeFVKjS (ORCPT + 99 others); Fri, 22 Jun 2018 06:39:18 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:35670 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754265AbeFVKjO (ORCPT ); Fri, 22 Jun 2018 06:39:14 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180622103912euoutp022003faa0329a66c86a8e5aaee6927db6~6dUKuH-2G1702117021euoutp02M for ; Fri, 22 Jun 2018 10:39:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180622103912euoutp022003faa0329a66c86a8e5aaee6927db6~6dUKuH-2G1702117021euoutp02M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1529663952; bh=0PFy5QxzosU1mFPQ2E5wI8/kLXaC1THIVpB7us+teVA=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=szYLWVnKC0t9VOQD/9gTUDbzP1JvyEH6HIXDW08PKIRmpZ5bH0UOtwf/qa9tVRpDN th3Pbakhad1lYUFbJ+KjE7RZd/KNu0fu/tOqwv6yEDj83aE/uUuXItGtls63ro1BTu vISXN0WCZ4RA3/HfGPBZpiyz23uVtPvQgHHTJorM= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180622103911eucas1p25c5afd7ac844ffb52451c7d623e11aab~6dUJb-zMb1883618836eucas1p2g; Fri, 22 Jun 2018 10:39:11 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 74.EE.05700.EC1DC2B5; Fri, 22 Jun 2018 11:39:10 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20180622103910eucas1p239a4f8545b3ef340fe5d0a8b954c48ac~6dUIg5f5F1882718827eucas1p2e; Fri, 22 Jun 2018 10:39:10 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20180622103910eusmtrp10116a89b1c3317ffa8600ea876426d57~6dUIOzBok0643806438eusmtrp1R; Fri, 22 Jun 2018 10:39:10 +0000 (GMT) X-AuditID: cbfec7f2-1c1ff70000011644-b5-5b2cd1ce1572 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 20.BA.04183.DC1DC2B5; Fri, 22 Jun 2018 11:39:09 +0100 (BST) Received: from [106.120.43.17] (unknown [106.120.43.17]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20180622103909eusmtip14669b9a4db8a144708c6e3ed06f2782e~6dUHqvNN91176111761eusmtip1a; Fri, 22 Jun 2018 10:39:09 +0000 (GMT) Subject: Re: [PATCH v2 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 Date: Fri, 22 Jun 2018 12:39:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180620182844.5nmlj5djbjgwy3wn@kozik-lap> Content-Transfer-Encoding: 7bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0hTYRjHeXeujjaO8/amUTmSskxTuhxURMVgCFJfIlEolx6c5KbtOM0w M1NxYqZTmE5N2bxhirl5y1BJRStxUyusqEy8hWDQVCJKze0Y+e33/J/r/+UlEdEM5k4mKdIY pUKaLMb5aM/YL/Np87RP7BnNznm6s7IDo8cKFgl6dmMFo+tGzRj9wNCB05q5UpS2WJ4StLqs gaDf9NfgdKVlkEfrm/IRun30M0E3zk7z6PyBUSJUKGl73AYk1YVVmMTYqsYlQ7VthKSkqxVI 1o2HL+Mx/OAEJjkpnVH6hcTxZSatmpdaL7q9ZJLkAK2wCDiQkDoLJ8sqiCLAJ0VUC4CD34r2 gg0Ay83LOBesA/j72SavCJD2lgGDnNObARwx9vO4YA3APxUrmG2uE3UVDs11IjZ2przh7NZP zFaEUN9R2N63YC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J/5l1i hrDlJba/nQNli0vcejKfaQKj0Cwk7bOQtMxC0jILScsCRpZVjCKppcW56bnFRnrFibnFpXnp esn5uZsYgVG87djPLTsYu94FH2IU4GBU4uGNWKEdLcSaWFZcmXuIUYKDWUmEN9dfJ1qINyWx siq1KD++qDQntfgQoynQcxOZpUST84EJJq8k3tDU0NzC0tDc2NzYzEJJnPe8QWWUkEB6Yklq dmpqQWoRTB8TB6dUAyPTDgMmDZ/EuZovl6Q+evb11ScfAa7FIRZlS9ZX56l1/Eti+69VGx8+ N3xmqtCmLL6TXP36BoklUlH8Egk7TJx+qf+xmDWDccbXZ6+yLFdMP2peIDZ9SXzJlMv1ix6o JUYcd72tf+zu5f/20w4ZHhT5NDO+756evmDe8fotjFXbVOZ/Dz33PFKJpTgj0VCLuag4EQCF PScJ+AIAAA== Message-Id: <20180622103910eucas1p239a4f8545b3ef340fe5d0a8b954c48ac~6dUIg5f5F1882718827eucas1p2e@eucas1p2.samsung.com> X-CMS-MailID: 20180622103910eucas1p239a4f8545b3ef340fe5d0a8b954c48ac X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20180515121251eucas1p160dd3dcff49f0dad845ed6be98f33bbe X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180515121251eucas1p160dd3dcff49f0dad845ed6be98f33bbe References: <20180515121239.18192-1-a.hajda@samsung.com> <20180515121239.18192-3-a.hajda@samsung.com> <20180620182844.5nmlj5djbjgwy3wn@kozik-lap> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.06.2018 20:28, Krzysztof Kozlowski wrote: > 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? There could be a link between UART and MUIC, it could be beneficial for the platform - there is no point to feed UART with data when UART output is muxed-out by MUIC. So I plan to investigate it but this is not on my short list :) Alternatively one can create graphs without using it atm. Regards Andrzej > > 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 >> > -- > To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > >