From nobody Fri Feb 13 13:28:06 2026 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IAZpFFFF" 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-Google-Smtp-Source: AGHT+IGnh6OiptW7p4aCvbETK/yx27q1C+KuVsn8Z68az6B0kqBZEXT2Fw4WAkmkaEly6+KhoVHTIw== 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: quoted-printable 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/q= com/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 =3D <1>; =20 status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss0_qmpphy_out: endpoint {}; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss0_qmpphy_usb_ss_in: endpoint {}; + }; + + port@2 { + reg =3D <2>; + + usb_1_ss0_qmpphy_dp_in: endpoint {}; + }; + }; }; =20 usb_1_ss1_hsphy: phy@fd9000 { @@ -2583,6 +2606,29 @@ usb_1_ss1_qmpphy: phy@fda000 { #phy-cells =3D <1>; =20 status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss1_qmpphy_out: endpoint {}; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss1_qmpphy_usb_ss_in: endpoint {}; + }; + + port@2 { + reg =3D <2>; + + usb_1_ss1_qmpphy_dp_in: endpoint {}; + }; + }; }; =20 usb_1_ss2_hsphy: phy@fde000 { @@ -2623,6 +2669,29 @@ usb_1_ss2_qmpphy: phy@fdf000 { #phy-cells =3D <1>; =20 status =3D "disabled"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss2_qmpphy_out: endpoint {}; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss2_qmpphy_usb_ss_in: endpoint {}; + }; + + port@2 { + reg =3D <2>; + + usb_1_ss2_qmpphy_dp_in: endpoint {}; + }; + }; }; =20 cnoc_main: interconnect@1500000 { @@ -3445,8 +3514,22 @@ usb_1_ss2_dwc3: usb@a000000 { =20 dma-coherent; =20 - port { - usb_1_ss2_role_switch: endpoint { + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss2_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss2_dwc3_ss: endpoint { + }; }; }; }; @@ -3590,8 +3673,22 @@ usb_1_ss0_dwc3: usb@a600000 { =20 dma-coherent; =20 - port { - usb_1_ss0_role_switch: endpoint { + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss0_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss0_dwc3_ss: endpoint { + }; }; }; }; @@ -3673,8 +3770,22 @@ usb_1_ss1_dwc3: usb@a800000 { =20 dma-coherent; =20 - port { - usb_1_ss1_role_switch: endpoint { + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb_1_ss1_dwc3_hs: endpoint { + }; + }; + + port@1 { + reg =3D <1>; + + usb_1_ss1_dwc3_ss: endpoint { + }; }; }; }; --=20 2.34.1 From nobody Fri Feb 13 13:28:06 2026 Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) (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 CB4EA3C6BA for ; Mon, 27 May 2024 08:07:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797265; cv=none; b=qoGaLpwplvXpqcQ+gzEGLrnn65km9HcmUWnFCh6meoPWD+o9wBg4Yfd9cpdiuYxMMxf446rflCTgkrJzSRcRGcEYQArTrJo2saokLRO0/oBFpq8JC1EQgvPzMQYdmyDoFMpzKjEsaJ3LLbO1EeTdjv0yftkrOCzUY2yq1G54Bqc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797265; c=relaxed/simple; bh=0K4VHzS7JijMYhdg/yqlESpYmlpt5lze8eOI2eCFnBI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GRfoOLqYIu6eTyXNs74xnja80GmrgrjdmDTpBspOFQUJivyIzdZHk/V5fez2otTUR7b/16SYlOdUBylCuTGfLfL/F51+WZkEngMR92eypvTQTVJ9eLJ/erursTYobJuWtH9VCgqU8PaXI6B75T5znc0tGocqT5Kgt+55dCZKKS0= 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=mkIKu3FS; arc=none smtp.client-ip=209.85.218.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mkIKu3FS" Received: by mail-ej1-f42.google.com with SMTP id a640c23a62f3a-a628f24a881so98100166b.0 for ; Mon, 27 May 2024 01:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716797262; x=1717402062; 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=OAkpiG2WcQO5F5//mbNfjMkbNsZQ18DtYIGSneDgeec=; b=mkIKu3FS4YgDIHnBoDa/czCctR42w05FSxLeTnxfaMwzuqhofv5QLEtkUIeHeXWAWk i2CNbBY+bVvcmLqzsMKtFhrFMS/m1nBQ6R9/dHzoxADu/QawJV9cz4nIKXvPXAKZwUW3 t5aHNfQihirjYW7HFI8qRDaUxqELmYtEKuMdaE+fcdvUzEXPKL4qaPzOgXY1T5sIpuJm d8u2uv3y9cemc5qv/Bry3nwNurEKFN7txe5lDk06gORO1fALOJmllmpxHQx6pHThwPjJ 2UNCCX+GuFibICzKKAqPN2V6k4xHNv4F5aP3aJrmWmf9EQ6HA4MQ+8GQB+p4o/6i8vvq B6rQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716797262; x=1717402062; 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=OAkpiG2WcQO5F5//mbNfjMkbNsZQ18DtYIGSneDgeec=; b=IoLnoGEdyg9YhltLzH8mfwkfKL6L9cUu5N+oChoAiFlJpO/n40cdj10R1tZDbV5TAb +s3M46negITvg4Ml24VWQwEbkv4ODzMlRQrVopTUMHHCCQFoUEKtEISZEWvAzzWBVFTd oZXvGAOiwwx3aIhNp6o5kENm0VI8WSAMpVsjtZtsxmy4bJGlqdJafai8+/E/kyQlNSE0 67XU+KplU/hC28vi3tOXs3zPBUGebsRA75kGpTl8eO1UDt1Q89d1ABTruXv9pU/jSSAB En+CJ03sf2a0YFKE0yCMPOJFvY3nYcUo8VefapOjyjWy6rEobRC9+R9i5TPscTLn2Ciq EHaA== X-Forwarded-Encrypted: i=1; AJvYcCUmEnYn1klDa1G+FfrZzNPOd3iw5rWZmbbuCyaRFJ7z0//EdhPCHalh4nPt1TFZ4RQgZCNmKERXabsjChCjuxK77FU7QKgRNawWSdXE X-Gm-Message-State: AOJu0YxnFmIFwMMcjDSIbJUIqemn2hJLQAEbQJoL8U9O2c15sv+B3hh2 ojk33TOt73qBvDQogniKfJH4mvf3+guVeSEDU9CLgxOqLuLVBPHFSHoHLYNWt518B2p4zy+04Rm J X-Google-Smtp-Source: AGHT+IFB9ryjqGl/QrGf5X5oVtJ9MtfYw3bPT+7NOdbkzMdVcAAqG4l+F8nPfMId+xB8gQU7k9IfHA== X-Received: by 2002:a50:8ad1:0:b0:578:5b30:8bfd with SMTP id 4fb4d7f45d1cf-5785b3098cemr6499750a12.21.1716797262034; Mon, 27 May 2024 01:07:42 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:07:41 -0700 (PDT) From: Abel Vesa Date: Mon, 27 May 2024 11:07:28 +0300 Subject: [PATCH 2/3] arm64: dts: qcom: x1e80100-crd: Add pmic-glink node with all 3 connectors 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: quoted-printable Message-Id: <20240527-x1e80100-dts-pmic-glink-v1-2-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=3953; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=0K4VHzS7JijMYhdg/yqlESpYmlpt5lze8eOI2eCFnBI=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmVD9HYydzKT2P+zMLzZyfUebAmSH0ruuw6qjC+ lTHveMOGq2JAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZlQ/RwAKCRAbX0TJAJUV Vn1rD/9z9A6LAXjJDXou4iVIMkjaboYZV76C7ty6PcQ+8MHXqlIpw2CCLf9HfYjjjdHePsEwlth vLEvROQcWCDVGOOnQv9wZ2Gwz2qvzu/1TNYLi3vqVJ0IvXGnXdL7NL6IGeswQCEH6ID6/p9FICf 0TLq0ujp2tpaRooxXkn7xA7IV8BMGYH5CrRorZjxyqlbk79LbnScqtSnv2cCOItm+2nVvJuJMq9 X2RcEUq28RZZKgZoNUFncWX0xN8a3wcBN5BM7qLV7nCqdQF7nN5yhZ73T8+fwWAaoVH3tfdiCyd xOfb+7wbuFdK5zXY15IMDeqpQn8a6pdZht6/pC1CT+F9ElvGaOFdNz+KTuSxGChXN3VadCZd7n3 nvoYkd2kfXi6XIO8LqSSuA/eOCzJFf/RpkmzJ//OmP3Aur98ioVKDf786GndqMscJLP8lmhhTLf E5kieOHF1usBMgQyDoC06fnSagf7MWVyfLkXapIaXYAAbCIR6tCUJjnGfPrRVVOLwkiA/IMEama fEXWDZwXj7o+ip5MGh5+2CeobWxUyYEsiFzAbOw7LE3cO56G8JTq6OvGb1gWJYY5a2bS93FaGqV WLOsJCOjmhGUZi6fe1R19GToaM0Rqfl6kGh4MoDWqQsF1ezQJ4Ba4954wH//BvBZChyrpMYWkM4 rmLDPZKptaPfbwA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Add the pmic-glink node and describe all 3 USB Type-C connectors. Do this for USB only, for now. The DP port will come at a later stage since it uses a retimer. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 143 ++++++++++++++++++++++++++= ++++ 1 file changed, 143 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dt= s/qcom/x1e80100-crd.dts index c5c2895b37c7..2fcc994cbb89 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -49,6 +49,101 @@ chosen { stdout-path =3D "serial0:115200n8"; }; =20 + pmic-glink { + compatible =3D "qcom,x1e80100-pmic-glink", + "qcom,sm8550-pmic-glink", + "qcom,pmic-glink"; + #address-cells =3D <1>; + #size-cells =3D <0>; + orientation-gpios =3D <&tlmm 121 GPIO_ACTIVE_HIGH>, + <&tlmm 123 GPIO_ACTIVE_HIGH>, + <&tlmm 125 GPIO_ACTIVE_HIGH>; + + connector@0 { + compatible =3D "usb-c-connector"; + reg =3D <0>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_ss0_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss0_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; + }; + }; + }; + }; + + connector@1 { + compatible =3D "usb-c-connector"; + reg =3D <1>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_ss1_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss1_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss1_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss1_qmpphy_out>; + }; + }; + }; + }; + + connector@2 { + compatible =3D "usb-c-connector"; + reg =3D <2>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_ss2_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss2_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss2_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss2_qmpphy_out>; + }; + }; + }; + }; + }; + sound { compatible =3D "qcom,x1e80100-sndcard"; model =3D "X1E80100-CRD"; @@ -852,6 +947,22 @@ &usb_1_ss0_dwc3 { usb-role-switch; }; =20 +&usb_1_ss0_dwc3_hs { + remote-endpoint =3D <&pmic_glink_ss0_hs_in>; +}; + +&usb_1_ss0_dwc3_ss { + remote-endpoint =3D <&usb_1_ss0_qmpphy_usb_ss_in>; +}; + +&usb_1_ss0_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss0_ss_in>; +}; + +&usb_1_ss0_qmpphy_usb_ss_in { + remote-endpoint =3D <&usb_1_ss0_dwc3_ss>; +}; + &usb_1_ss1_hsphy { vdd-supply =3D <&vreg_l2e_0p8>; vdda12-supply =3D <&vreg_l3e_1p2>; @@ -874,6 +985,22 @@ &usb_1_ss1_dwc3 { usb-role-switch; }; =20 +&usb_1_ss1_dwc3_hs { + remote-endpoint =3D <&pmic_glink_ss1_hs_in>; +}; + +&usb_1_ss1_dwc3_ss { + remote-endpoint =3D <&usb_1_ss1_qmpphy_usb_ss_in>; +}; + +&usb_1_ss1_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss1_ss_in>; +}; + +&usb_1_ss1_qmpphy_usb_ss_in { + remote-endpoint =3D <&usb_1_ss1_dwc3_ss>; +}; + &usb_1_ss2_hsphy { vdd-supply =3D <&vreg_l2e_0p8>; vdda12-supply =3D <&vreg_l3e_1p2>; @@ -895,3 +1022,19 @@ &usb_1_ss2_dwc3 { dr_mode =3D "host"; usb-role-switch; }; + +&usb_1_ss2_dwc3_hs { + remote-endpoint =3D <&pmic_glink_ss2_hs_in>; +}; + +&usb_1_ss2_dwc3_ss { + remote-endpoint =3D <&usb_1_ss2_qmpphy_usb_ss_in>; +}; + +&usb_1_ss2_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss2_ss_in>; +}; + +&usb_1_ss2_qmpphy_usb_ss_in { + remote-endpoint =3D <&usb_1_ss2_dwc3_ss>; +}; --=20 2.34.1 From nobody Fri Feb 13 13:28:06 2026 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 D7C5E3A260 for ; Mon, 27 May 2024 08:07:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797266; cv=none; b=Wj/5Y/FXR4UgBi+sC6YGUS/XQvMX29oc/HZtgSnbxA/fT7or27wFtG5CMVj8E9KQg4KfZbV8Bbjdyskr5hvE6RtANJpdQ+MT2lsUxx88PyCTplLLiYbP5ch522edkNfnrHsGo83m+6utYEZQ1Y5I9xNvHYk7/niYaaqIjEMHxXs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716797266; c=relaxed/simple; bh=XI2FDb/7NtFHwP6ncH4VK34anbbKyDSEs2qwvfVMI3g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=srXVFLpmM3GfT4Ea2h9LtegJAKjNFzcSlLyWlWgk7thpmdlx4mjhhkEItN/dL51g6EA/EWtWZFcgbFMmtPjwPL50KvPYP7U3OfaWJZVtPsGt1ukZhJj1MNFH2bBaVv9isAYBYm0ALliNEipFfadXqPxwiUqPJHUU97wknZlnUoc= 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=Lh2gEfGI; arc=none smtp.client-ip=209.85.208.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Lh2gEfGI" Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-579d02657abso1038245a12.3 for ; Mon, 27 May 2024 01:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716797263; x=1717402063; 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=w794Jc9ulQoga5+/dsXAFbxB9u1U937YIUKTLLXw2s4=; b=Lh2gEfGIng01ToyPe7ZDFfM5aYQoF2H/SId04ePgDSpiuj9SHxe9MnvXaQEDJAGbFo +xoQ5SQY10oRHkge0yVkYYxjjwni7pFlJrgguivcKs/y8sV16/HN8/6ZbsEvs3bOOqhs xPVigwxooGvKCKicBFiD0LI9sbr0/uvAbQVFGIr7hAhUpnsiRWvU7Fdh/ZF+9+ocoXO/ cR5coEcjmzNLLWZkJGbuHnXYlz0k3CQ8mUu6Mgl95YsSJ7R7oBHtKZzzwQwUCDYmTKvM heiB2DEa1jjUNgIT2Jlw/AGhxcCMWxHZsaOp2xPa5NrnspSb2HnHvIAE1eqWj6exfocs H5kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716797263; x=1717402063; 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=w794Jc9ulQoga5+/dsXAFbxB9u1U937YIUKTLLXw2s4=; b=JszPyUZvvOLpi5SiSNw7FQBOaTSvc0uZM6fLDuEx8+ALrd6gZlRKe0dA+qffBbNhB/ F0+UN7y9biXwIFLt/fiTG00gx70394h5GF9hrLSiTEM1l5GB5kYKQSKfi2ysRHIS05Hq Oag6BJ6xzqboPbHcWMkj/HFTQf/yRfjY9AwqV+fxCL3u2PP3y+kgn7ELtLlQOhurpAmc VxaifGlY6ykDQ8OMyzys1ckgNzJV6fDsTIdNFeONfoeKcf0vuUAPoE7pzZaKXlZPq5IH btTD6pxMrA89Q4puRLXCIn5g+sD90vgdwZah7ecAFVpAuJh9zVRLF8gpJUmlW6r9nw95 dHyA== X-Forwarded-Encrypted: i=1; AJvYcCVCtHgd4hInpSrfHH2xEGailZh1aqYiulUd0eHimKjnJZcqBUqP4U1ZpCvZPEV6Vqr9etoKqZE10gYsRbuizXaGMiQKQ0ni8qFUuev8 X-Gm-Message-State: AOJu0Yx1QhwM9WoZO+bVa4RVjnlE0QByTWXwRdRck3FqS3zAhzgw6SJW YPLGt0Pv3z9yJ29GqGMDuMS6Y0HCUjBmMYtdcqs8VE3RumGj81/H+02mrKQR5dA= X-Google-Smtp-Source: AGHT+IHO6xpHvKtn4O43UeuIe2iUm+SXjZCQWp8L1B2yzeSGdV4oZrBT948cCyAZlkVeAr4aTiA9Ww== X-Received: by 2002:a50:c2d2:0:b0:578:42fb:a4d with SMTP id 4fb4d7f45d1cf-578519aa3ffmr8537851a12.30.1716797263231; Mon, 27 May 2024 01:07:43 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 01:07:42 -0700 (PDT) From: Abel Vesa Date: Mon, 27 May 2024 11:07:29 +0300 Subject: [PATCH 3/3] arm64: dts: qcom: x1e80100-qcp: Add pmic-glink node with all 3 connectors 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: quoted-printable Message-Id: <20240527-x1e80100-dts-pmic-glink-v1-3-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=3938; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=XI2FDb/7NtFHwP6ncH4VK34anbbKyDSEs2qwvfVMI3g=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmVD9JIuGpagS3kazFLBrzcKj2DLF0EHbtHf0rU SV4Qc3h1I+JAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZlQ/SQAKCRAbX0TJAJUV VgzAD/kBAvCtqp7dxEI+ETdOOMzYGNvCFspkEHntdq7NDIgZDl+JP89mL8Fj63BrC9cLZSz3brE ZTlfUYCtZalbXVtev2aq3qDyhceGRn22umNclV8Dc20psnpukQach25zkGcpj4wiathGYOVgPP8 raI2yigxzh8u8T1BcU0lern4fqemL8T+EpykIgfRGbvK53PgMrmg/ANlHPijRIUBUvXgA7birrm j+D+s13ObQa8rBtBE9QlbYKU5OefC5s0/hrbJakVGlwnIP+R88Mo+PvV20p6f6411Ubh5HoNcE9 EOo612QAdAMLveGyyG4UOySRfELY745oTwj3Vho+++zu1hg8rbWyEXEIgkgIkFE34cB6eOE+S1t TsTY3sjmSPYR1nGC4uNV/i/ZLWEdJqv0S45yQ54hwte7TdQBTay+PppVbNc8wz+tPOoC9HG7sCY ZVPrJ/1woFV1AwtZ4WxJ74qTPhvMdFj6abcZXi+Uu3NnsXxZ1c/6kD0HAcMqmlEWKaS7TsAwKuk ekF8Qqj+ZI9b15tjqsftoVZcrwVjf1hHOwAyy55nxptPC4NGAaZ4vgbeaEPG4NThvHdP3kmMRTX 55HRrv3jE/cmVHeHg+sXQ8U1e8YIBK8Wlf70CdFguo4YZ5Cg4ybo/b17TzO15YBdAaNaLKi5IKH D7UfhJMStBLsj3w== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Add the pmic-glink node and describe all 3 USB Type-C connectors. Do this for USB only, for now. The DP port will come at a later stage since it uses a mux. Signed-off-by: Abel Vesa --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 143 ++++++++++++++++++++++++++= ++++ 1 file changed, 143 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dt= s/qcom/x1e80100-qcp.dts index 2061fbe7b75a..a7eecf84b6d6 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -23,6 +23,101 @@ chosen { stdout-path =3D "serial0:115200n8"; }; =20 + pmic-glink { + compatible =3D "qcom,x1e80100-pmic-glink", + "qcom,sm8550-pmic-glink", + "qcom,pmic-glink"; + #address-cells =3D <1>; + #size-cells =3D <0>; + orientation-gpios =3D <&tlmm 121 GPIO_ACTIVE_HIGH>, + <&tlmm 123 GPIO_ACTIVE_HIGH>, + <&tlmm 125 GPIO_ACTIVE_HIGH>; + + connector@0 { + compatible =3D "usb-c-connector"; + reg =3D <0>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_ss0_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss0_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; + }; + }; + }; + }; + + connector@1 { + compatible =3D "usb-c-connector"; + reg =3D <1>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_ss1_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss1_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss1_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss1_qmpphy_out>; + }; + }; + }; + }; + + connector@2 { + compatible =3D "usb-c-connector"; + reg =3D <2>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_ss2_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss2_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_ss2_ss_in: endpoint { + remote-endpoint =3D <&usb_1_ss2_qmpphy_out>; + }; + }; + }; + }; + }; + vph_pwr: vph-pwr-regulator { compatible =3D "regulator-fixed"; =20 @@ -548,6 +643,22 @@ &usb_1_ss0_dwc3 { usb-role-switch; }; =20 +&usb_1_ss0_dwc3_hs { + remote-endpoint =3D <&pmic_glink_ss0_hs_in>; +}; + +&usb_1_ss0_dwc3_ss { + remote-endpoint =3D <&usb_1_ss0_qmpphy_usb_ss_in>; +}; + +&usb_1_ss0_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss0_ss_in>; +}; + +&usb_1_ss0_qmpphy_usb_ss_in { + remote-endpoint =3D <&usb_1_ss0_dwc3_ss>; +}; + &usb_1_ss1_hsphy { vdd-supply =3D <&vreg_l2e_0p8>; vdda12-supply =3D <&vreg_l3e_1p2>; @@ -570,6 +681,22 @@ &usb_1_ss1_dwc3 { usb-role-switch; }; =20 +&usb_1_ss1_dwc3_hs { + remote-endpoint =3D <&pmic_glink_ss1_hs_in>; +}; + +&usb_1_ss1_dwc3_ss { + remote-endpoint =3D <&usb_1_ss1_qmpphy_usb_ss_in>; +}; + +&usb_1_ss1_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss1_ss_in>; +}; + +&usb_1_ss1_qmpphy_usb_ss_in { + remote-endpoint =3D <&usb_1_ss1_dwc3_ss>; +}; + &usb_1_ss2_hsphy { vdd-supply =3D <&vreg_l2e_0p8>; vdda12-supply =3D <&vreg_l3e_1p2>; @@ -591,3 +718,19 @@ &usb_1_ss2_dwc3 { dr_mode =3D "host"; usb-role-switch; }; + +&usb_1_ss2_dwc3_hs { + remote-endpoint =3D <&pmic_glink_ss2_hs_in>; +}; + +&usb_1_ss2_dwc3_ss { + remote-endpoint =3D <&usb_1_ss2_qmpphy_usb_ss_in>; +}; + +&usb_1_ss2_qmpphy_out { + remote-endpoint =3D <&pmic_glink_ss2_ss_in>; +}; + +&usb_1_ss2_qmpphy_usb_ss_in { + remote-endpoint =3D <&usb_1_ss2_dwc3_ss>; +}; --=20 2.34.1