Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1907300lqb; Mon, 27 May 2024 01:08:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2hica+4XBX3iYVcnEGnu3NMi/e8zYjTkLMMiQwBSw4QXRAb9oHQXsD/gXjXuZUU9I/zAQxIyzPqztdH0+MRSqZYVpMe4H8LFpoxETMQ== X-Google-Smtp-Source: AGHT+IGSxue4Oh4ZUVmeUu+9yAD6/pOtaksMn2p83Dl86ILLvIZkzyHQhhjW7TBEtfoVm9+RFKeV X-Received: by 2002:a05:6214:2b9a:b0:6aa:8343:12b5 with SMTP id 6a1803df08f44-6abcd133d93mr95106776d6.47.1716797285127; Mon, 27 May 2024 01:08:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716797285; cv=pass; d=google.com; s=arc-20160816; b=qU81DApiHzE4DTVw8XsttVIvGbk7Af7yuHAT+M2pmN2yUD263/MLrLmdAo/27U8Arc IzySSw31NtWyLOCPzwGZJFU5U38eC1QSOliX+YVNkWHIm5Azx0l0zuKa9mhknTkli4xH NFJ/1lFTgg2lQ7hRFyEql0RzL55W7CliSXhkApiPTtDEc2UkS04pe2D5z6cKLaupjI73 BUtPBfgT4NqBNlOXxaefHdszdGHEumc/7T6dWMFn/BEcvBFNYYWxjch1eoHvQX6KPTmE JA2/z3ZFUkd/S4+VomRUKonSvVDCOTwtgKu/duT6voNmWqudckBOSlUzEtAh3rjqQ0O6 7eeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=cqFv5XGhdHzEfchviLI5Q/0AVcjvrpH4YcyB2EY4mWs=; fh=Y/WlTRo3jhojLVtvpRp5mhXv40yRvhltd8wa0PhttkM=; b=aFJE/VgbfO8Nz7yslmDU5cPaQyhDZtBS4VL6dMNuoZHiaySFalDk+CR0mljXLBwjTF xB3ZA+PlXWzEUUWLTI38xM7mz0LHyaaLRwe7rAryhPyoXKsfj6RGkG5TPNt7uwlUmiT1 eyz4JqDoV4AZPI6+6jSHNW0JiXkYukq6VxxOah/KQzHZbjy3d4nP5yXMT2yXBSgqZiOJ w1YR4N8djK4yujd0y5C1UXAFfrGCj93mChal0YfhGj1eyVKKvOe6V+FK5UgrQ/MP5M2Y At8Qx8PWMDn4hLNjf4Qtbcd+EAjxeXjrOpK6KFnRy+SRFw8C9FkqRtjBTFIswc+PXG8+ 23iQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IAZpFFFF; 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-190193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190193-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ac070f119bsi73048386d6.255.2024.05.27.01.08.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:08:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IAZpFFFF; 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-190193-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190193-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B006C1C20B50 for ; Mon, 27 May 2024 08:08:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DE80481C4; Mon, 27 May 2024 08:07:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IAZpFFFF" Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 8BD054AECE for ; Mon, 27 May 2024 08:07:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797264; cv=none; b=k6Le2pZzub+NGI+iolzW18r4C7KkByfFfUElXIDESaBIU4ihESxSrZxuol2vhrtBXxukGfSq5FhZTKHew1fMg4qit3uMd5Di+nDwrmqMxG17Ys+uY005YbQUEb8icPw+WYYg3XzAlNBfudWExuVn68wrzamo0ZxmUWGYHwXC36Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797264; c=relaxed/simple; bh=KMVLOx3REGaGaXyqmAcSoaLTboQAh4cj94OU/0DAty4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JTJ5j02IXFIAnQ659lzdF17T22H0+6LqVLFyF4JclcpAqB+ls0C/9gMjfs06YXEOOpMLwtss6zG+OVtJYiLpah7YJNfxSIUb2IS3LZoAQxPj0/lMJd1hm9IBrG97BUHJCnG0scI/KHYX8BtDccoF6qiZymhyebDUZenqHLGBz40= 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=IAZpFFFF; arc=none smtp.client-ip=209.85.208.54 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-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-57857e0f466so2770459a12.1 for ; Mon, 27 May 2024 01:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716797261; x=1717402061; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=cqFv5XGhdHzEfchviLI5Q/0AVcjvrpH4YcyB2EY4mWs=; b=IAZpFFFFqPPDwdoQ7i4uzb4XGtAwPXsJ2ppWD+YUOeYa9+Jj8MFt5ppNGEZ8gOIt2/ zLpUAfyLXWd6c03ncmpDGbjRCMUkHoNZ3oACuWfgWMfso8Jv0zG1VmXvBQejDa6iFtsx s0V6RMAx87IGHyVBGCOa7GPRaEgNYZlV6htCqt6gijmocNUfLHXFE7gcG/dYTmqETwnC apLJ39q/GeWTFk39sm4ggQZU+9lSPwTCEN4TbP8PYrCRAoJ2X6Tc0sjdBbUfkN4CYehD 7LhkWN3SHQWXj1DwoLx3UV9ELdQrLYMLCBDPtEVgjc6L8f9/FiXu4KesXBlkADmNWPyR Y6Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716797261; x=1717402061; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cqFv5XGhdHzEfchviLI5Q/0AVcjvrpH4YcyB2EY4mWs=; b=do/2bsOQlcAyGJYBQLRCjO1BAsNwILLppK5VToPQ8iQuHvFA9j5DuUXMEe+jTIt99A OM95SEsJaK1vZS1v8rQGaimNxw92iy8ZTpnkJDF45odEzI2TkPTQHsbKxv+FlVZIcsec e8Dea6aiYhG+wanXb3koRUUCaJh0VKtIZcQ/ziRcKN7sfwxbWIG1H8jDVguRMw0f7LQu mGQ8WMRLSMGSXe3ozVayOxfKdnCQPVurFdKwBuKXSfgL7urU/9z0hUagki03+uC07jI/ PgOHIWLF2KrDZEarP/ocVMe+EAhA7VaR8rUj2yp6QCVWPhojAqBaeiVNSpbERzD0ft9Q aB3g== X-Forwarded-Encrypted: i=1; AJvYcCVkMHke/s5qmwYIB+ZtzewCNgjVg0lUfLmCJycgREzq6tjUgMbj+zdq6YMnmvbSNxUw35UN7iR4/FOSWmKIWN/6BQI1UnE6iBNE96Np X-Gm-Message-State: AOJu0Yz5dDQZlQeuth/OEmEZQOmDLxGTv+GEfZsvFi+KWz5OJ2g0+/4a s4ZcyU3shQ0vr0RC13gjiejAAuUUcqFJkefEANUFOevpUsKwlAzEX0bic6c0KCc= X-Received: by 2002:a50:9f62:0:b0:578:68a1:8f74 with SMTP id 4fb4d7f45d1cf-57868a19101mr2791276a12.19.1716797260635; Mon, 27 May 2024 01:07:40 -0700 (PDT) Received: from [127.0.1.1] ([188.27.161.69]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-579d30b82a8sm1240893a12.79.2024.05.27.01.07.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:07:40 -0700 (PDT) From: Abel Vesa Date: Mon, 27 May 2024 11:07:27 +0300 Subject: [PATCH 1/3] arm64: dts: qcom: x1e80100: Add ports nodes to USB1 SS[0-2] PHYs and controllers 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240527-x1e80100-dts-pmic-glink-v1-1-7ea5c8eb4d2b@linaro.org> References: <20240527-x1e80100-dts-pmic-glink-v1-0-7ea5c8eb4d2b@linaro.org> In-Reply-To: <20240527-x1e80100-dts-pmic-glink-v1-0-7ea5c8eb4d2b@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3421; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=KMVLOx3REGaGaXyqmAcSoaLTboQAh4cj94OU/0DAty4=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmVD9G2C+pgqI2VXJ2shzVTl+SGXKR+N+6Cpv0f /SoPmKeYlqJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZlQ/RgAKCRAbX0TJAJUV ViBAD/9CDA4Ijquw+E4JIO56StAs9efxUOd9f9LZ5waYv+OI+oU/3P31QFkZ+dLOik5utlV8pRn VWwTyRn3sS0lq2wq8+KfSpbQhltLL0nzTfH+rcpV2TAoVfsw8FNj/A3sE4radPwc/8R9rvHviT0 FeUgkmyYs3AZ8VfGZdJB5xzD27RAFMZV7wMJn7gu+3L2B1/sqrtGvsDk1cZUzKHk7yFMv0+YTxq s9fZ1hREBDVnvRXrvvwXBwUayiY67jdUUGu3MeMZ2v90xc1vXZEILzUhcEYpr+dWSjrt1L/EQJ/ TG/ZhxnmBvdNXhFw2lwh4UcFVD3xC00lbcV+MDNqByq3HrVvt7btOm7iPuRRdxQu+IZWddgSlDr 2prDvSxFvErAE2+oyxRzvGSvFBBtGPlSC3/n4nyKrpwjEpY/ENMjIlB2uVbKrRFYlROLJ+25t8k mdjJDL4vK751DWwP9tiYWZdd8gMGEDI7mYtIrT+6baRp656QfAS5gt9u51lKNhycwK85t1agYNg cMeOcxwVTWR5STsXRoxK5TXkM9/fg+nFJspd0ID+Dirr7NGsW2o7axZvnaS8kr/xmKpsEk70w6Q HiSodSrMRfuFv7c6qbwEr0UhjrHmt+pOttLbphuAOp/XoHISWjJzbnMh7c45v/ewrIrripdCSJY VtUXW+hxJ7TggRA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE 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 {}; + }; + }; }; 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