Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1935682lqb; Mon, 27 May 2024 02:22:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUcBcb0iDg3x7sXhrzxXkME52OzFajDjwLAOEGYrfIVk6+TZH2GR9jTZT048n+CiDddhN5aFmiv665q1pBRNw3/NYQjofEmLm/MBN6idA== X-Google-Smtp-Source: AGHT+IFPpgmFuaxx9DxtxhaprX8UkuznQLGHTFYUhlG2A+VA2wigQ3RD2KO6x596E8DhLgmIstKx X-Received: by 2002:a2e:9646:0:b0:2e7:bc7:b6f6 with SMTP id 38308e7fff4ca-2e95b2566d8mr68778571fa.38.1716801760084; Mon, 27 May 2024 02:22:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716801760; cv=pass; d=google.com; s=arc-20160816; b=CgFZfSyjOls2irJyV9GruDf/G64sLLtIcwSgu/L/Sm5nr2qXq/g+DFNuVThSHAiFvc uN9QfrxCiYNPN6WMTweLoq9f5f5TC0s4s798gScAk4bwO1x86xyJdey27ARU7okL1bN3 6Cer0XjvmrE5699mk0ecatcxkASQsmuH+LE+EjrmDSQIBf76BfvJIBCFbam3WN6yw3MF v9UmOVVu66i4U6EW0tAPCa9ZcxgBs6t5Z01yX+nyrlHCZ+6g0i2/STSzie4BXmWnUUfI g2CqMrmNLe1CrGyXBO1rCNdYylAsUb4vP3WI0xbkpRpk+0DUoXgfM2SqRxhQvkXnIhFu Y8sQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ym8N/apnsnms9AtlgZdpReV5NsUO3m79sBepxCN6Uq0=; fh=KfZ3ps0Ls/0mQY0TIdCo/Mp1UljdYxzkLZYLIp//xXs=; b=IAfqZaXZil4FgEH//THfuVVxbQhgYGn5KRveZaxP9JPBshdKlBUrj2RHIu+vf1Ci2b s2LEcJ213/seZxaXGQHeZAPDPAg9q9WGYM5niaGzleVJcm0HWEmFSOSh66VifL21Jt9x KdymKan9xxUg8KwsfT3r6LYsqzBKRwqNmT3VMtJf4XqfFdZQAPJqY7JgCr5SCVTjYarH 0arFOevJ+yCoV7uAju2DOvv+ifSnlbfOhkynkhYKnWX4EcXJ/7s43QIgSi3mc65W6B90 P08oQqV4fs5cEU6ywWK77gzkQR3cYwH3gr8MkXOiNlVAa5V/9S0z8eUvZSujwxfSqrMh 4TbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uc2fjePo; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190307-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626c8005f1si366020166b.28.2024.05.27.02.22.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 02:22:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190307-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uc2fjePo; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190307-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A4FA91F23143 for ; Mon, 27 May 2024 09:22:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B4E413A269; Mon, 27 May 2024 09:22:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uc2fjePo" Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFD358BF0 for ; Mon, 27 May 2024 09:22:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716801749; cv=none; b=ZnC1uIrtFWxe+hxefmDca8vntcIC3dZ/mSEdFzTrezJJYVKo9EgNN+NBUUQyqT/3MOnLPvP+EteGIsYfsVOWVAdK9QT0CwThPXLE1RkqpbpU/3q788aPKFbnXISt8stPqi2q428buJtwbHk+vEGVgu+4IUznyVLQEKUgLxffO30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716801749; c=relaxed/simple; bh=0SYu8q7ybUYE2G79eoZeMw4E0O4SMqXCRfB5V/UHjKg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KE2OQainNMoTcJnIE3Xi2fU1UCcKBy6yww5L2VF55H9o8CgRw5Teu2HWwMpIJlvCG4zGP6G0gieFie4PnkgTpnR+FFqilbs6EgycLgXSQ+fTjzPrSsA6tRY4UfoyHvrSwCI9YRDAMzMPmWFgZyo2O7KeYpTGEU8lHyXJr6Z545U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=uc2fjePo; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-523b017a5c6so15430274e87.1 for ; Mon, 27 May 2024 02:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716801746; x=1717406546; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ym8N/apnsnms9AtlgZdpReV5NsUO3m79sBepxCN6Uq0=; b=uc2fjePoPMq3GVl3iEinh9sTZJo39zgLKBecIo6uBlKNOWq+Kym2lxCT0L49YuzRzg LfbiZ1tAcTxKKlPi5sRhMLBzgFpTonwicSBaWaRyWVBVwznSmAaBYGMws9p/VrqOYV1P tzHJ84D3g0t3l2MMpjsRIxhUYOcpAZM5YHJyBue5V/IsyCs6NDs4n5/0q6wOFzQ6c3Lb A+0VohdPBVPzk6yEU0nAM6PfRcZVBqbqiqJqdz8K0/G8VVmZUXZVvaIXw7GtJZrJK3/F ffRUMJECXy8DYCS3M/sGozuhCvWk9xAhtu25t4kZ+5m/n/i2DWag5E/QJQK4jZ2j5zzG w8ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716801746; x=1717406546; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ym8N/apnsnms9AtlgZdpReV5NsUO3m79sBepxCN6Uq0=; b=ra5n7NCxPcb37rMn5LT9lYX6CegjH4TXlrahjSHisvvuQvVBQlqKcP0TuQnQ7nlNFa lxDr0gACRkLWrwkkGCSiGfQIaxH76TDEpHkwwni/IcV6zSw0VMs6vE78r9dr07u5gDV5 PU/OcWoD82DKRkIzA2vnI1TiDg+mNQDkrIGZEI83L8iZFzLC9Nh0jUGn2fo0XdpvpWZx HeZ5z3qkI1eF3ImJqdKlrH+WzTpmXIOhZdBxblxmYQ5PQdj7cH29EUuZBFcDvIE0xJcj f39am2hQODt11eyq6ny1YljjuXo88W+KFkbiKB9H4z7b1RFn1FjIBy+X2ZjV89LtERIL gVzw== X-Forwarded-Encrypted: i=1; AJvYcCURU60SUM5nGqToLddbXei22wzudHaVRMV6weQbkRtLmuE7i8aYyzZrQEtQZyeWsSNDlX8yX4PcPOnIQb8hPzyRgky6/3iTH5i0SdJ9 X-Gm-Message-State: AOJu0YyF+ZRDYHOERRJgMTio5XQixnquakUeXEpA1hXG1qs1hklJfoh/ BBcGXmpg/rkj9kHFQyrIHQmXqWI5quHjlvW1d3BHStJKB/ZA5aRXt7/7z0jI7qQ= X-Received: by 2002:a05:6512:1597:b0:523:9515:4b74 with SMTP id 2adb3069b0e04-52965290576mr8727679e87.14.1716801746001; Mon, 27 May 2024 02:22:26 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5297066af3fsm495960e87.153.2024.05.27.02.22.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 02:22:25 -0700 (PDT) Date: Mon, 27 May 2024 12:22:24 +0300 From: Dmitry Baryshkov To: Abel Vesa Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] arm64: dts: qcom: x1e80100: Add ports nodes to USB1 SS[0-2] PHYs and controllers Message-ID: References: <20240527-x1e80100-dts-pmic-glink-v1-0-7ea5c8eb4d2b@linaro.org> <20240527-x1e80100-dts-pmic-glink-v1-1-7ea5c8eb4d2b@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240527-x1e80100-dts-pmic-glink-v1-1-7ea5c8eb4d2b@linaro.org> On Mon, May 27, 2024 at 11:07:27AM +0300, Abel Vesa wrote: > All PHYs, being QMP combo type, implement both USB and DP. Add the port > nodes for high-speed, super-speed and DP to all 3 PHYs belonging to > USB1. Also add the counterpart nodes for the DWC3 controllers. > > Signed-off-by: Abel Vesa > --- > arch/arm64/boot/dts/qcom/x1e80100.dtsi | 123 +++++++++++++++++++++++++++++++-- > 1 file changed, 117 insertions(+), 6 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > index 5f90a0b3c016..63e85c5ea6c9 100644 > --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi > +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi > @@ -2543,6 +2543,29 @@ usb_1_ss0_qmpphy: phy@fd5000 { > #phy-cells = <1>; > > status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + usb_1_ss0_qmpphy_out: endpoint {}; > + }; > + > + port@1 { > + reg = <1>; > + > + usb_1_ss0_qmpphy_usb_ss_in: endpoint {}; > + }; > + > + port@2 { > + reg = <2>; > + > + usb_1_ss0_qmpphy_dp_in: endpoint {}; Unless the configuration is dynamic or platform-dependent, please link DWC3, QMP PHY and DP nodes in the SoC.dtsi. > + }; > + }; > }; > > usb_1_ss1_hsphy: phy@fd9000 { > @@ -2583,6 +2606,29 @@ usb_1_ss1_qmpphy: phy@fda000 { > #phy-cells = <1>; > > status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + usb_1_ss1_qmpphy_out: endpoint {}; > + }; > + > + port@1 { > + reg = <1>; > + > + usb_1_ss1_qmpphy_usb_ss_in: endpoint {}; > + }; > + > + port@2 { > + reg = <2>; > + > + usb_1_ss1_qmpphy_dp_in: endpoint {}; > + }; > + }; > }; > > usb_1_ss2_hsphy: phy@fde000 { > @@ -2623,6 +2669,29 @@ usb_1_ss2_qmpphy: phy@fdf000 { > #phy-cells = <1>; > > status = "disabled"; > + > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + usb_1_ss2_qmpphy_out: endpoint {}; > + }; > + > + port@1 { > + reg = <1>; > + > + usb_1_ss2_qmpphy_usb_ss_in: endpoint {}; > + }; > + > + port@2 { > + reg = <2>; > + > + usb_1_ss2_qmpphy_dp_in: endpoint {}; > + }; > + }; > }; > > cnoc_main: interconnect@1500000 { > @@ -3445,8 +3514,22 @@ usb_1_ss2_dwc3: usb@a000000 { > > dma-coherent; > > - port { > - usb_1_ss2_role_switch: endpoint { > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + usb_1_ss2_dwc3_hs: endpoint { > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + usb_1_ss2_dwc3_ss: endpoint { > + }; > }; > }; > }; > @@ -3590,8 +3673,22 @@ usb_1_ss0_dwc3: usb@a600000 { > > dma-coherent; > > - port { > - usb_1_ss0_role_switch: endpoint { > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + usb_1_ss0_dwc3_hs: endpoint { > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + usb_1_ss0_dwc3_ss: endpoint { > + }; > }; > }; > }; > @@ -3673,8 +3770,22 @@ usb_1_ss1_dwc3: usb@a800000 { > > dma-coherent; > > - port { > - usb_1_ss1_role_switch: endpoint { > + ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + > + usb_1_ss1_dwc3_hs: endpoint { > + }; > + }; > + > + port@1 { > + reg = <1>; > + > + usb_1_ss1_dwc3_ss: endpoint { > + }; > }; > }; > }; > > -- > 2.34.1 > -- With best wishes Dmitry