From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6782428641E for ; Mon, 20 Apr 2026 07:30:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776670254; cv=none; b=eHJ4cXI7gcHnFeQ8EtO+YHqCKtIDH94mOj5G2dw1yKAc4NbK5afW/TayUJCiGSgEVBxIZkR5FtScVtJ8ocWTfDvWr6LnwEZllkQH9arru53if0ggt4xOsqDwL1pN35jH+tOD5Eidsu9eYaBGSJjVSRIfU9Fa2ZHSqYgvC/dA0+E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776670254; c=relaxed/simple; bh=ibn6J2gHPPBIlT843St6ggbOQWgBWE0BPSrTNLipScY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HxhKdpEanhGUQCI5D7EpvyKb9nGQrYpU+1vQNkViodndEl/0VyeGT+DIA1GCPJuO9dKKVdQ2uVBSFDKkncIag9Qg3a5lcAyJ3BthGH1xYjRifQw9WoMUr/kndqyDt1j2cg2vewiq63ykOD/IhIjiMbBKnqlJOFymUvCWCElHc5U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=cfd63UCR; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=hbmdfmgi; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="cfd63UCR"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="hbmdfmgi" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 63K33WVT3407957 for ; Mon, 20 Apr 2026 07:30:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= txlDDEse3giCKyy04z9LcYm6Q2PzX7M+fmm0xi3qWeY=; b=cfd63UCRPygWpDv8 3FVgWALB+3sQpA5fpXRhsvdlpRGWSYUNrmHCyf8fIadOBmo6gPmIk+LVCZZdOKUj Ky5ABa8ig8Vss5JKLhvoozztBdBufUkGzb96nPfVwqZ2pOFeTiXdbN20tsps2HSB V29ng2LCi/K/i3B3Y4WjMl6SzlnG5I8zfUzEFlw7vB0Wutg4LMsNNky1DTqA/8Xr 6AJw76sNgB2xsydU44qOlzNIvZQ/88D13b7kQb6WbJ1VoVh0Irodbf6hN6auhqjY 87nPEEBbIzKzMZJAK1/ZIMae+8L9hR/JpXWaMSMXSDuIBdhnWOQcKuRsZe6p/z/w /S3TWg== Received: from mail-dy1-f198.google.com (mail-dy1-f198.google.com [74.125.82.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dm2b74kpu-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 20 Apr 2026 07:30:52 +0000 (GMT) Received: by mail-dy1-f198.google.com with SMTP id 5a478bee46e88-2c0f6593ef5so2848828eec.1 for ; Mon, 20 Apr 2026 00:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1776670251; x=1777275051; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=txlDDEse3giCKyy04z9LcYm6Q2PzX7M+fmm0xi3qWeY=; b=hbmdfmgiIjyneOTPp5TNlE3ng4LfYQZL7zuwHehPeK22Y1TuGAjuTLTjpC6Ty0y1qR U6ldHmLlpIxjyuoAMvAElYg9AhmI51IxxDiogR3pb6Ugf7iAPGh6NyBjhI20488tNS/u XsV0WBeBe+C7bx6Vkt2slnj5CTm20Hg5hK0V5KIoZncrmexjkCn5n5aoisgBq97pZkx/ ltInwmXfuFS15bgdGfZMWOd9O3yfqHSG+2w2STdi2nYLLytYnZeZ1a/jHuVS09RVRuGr fViG7od8sDeTxme6hw8WhZkFoOm5XeijBgrZcqLLvS3fsToTNe7135BdsQb1j+9M61I9 zmDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776670251; x=1777275051; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=txlDDEse3giCKyy04z9LcYm6Q2PzX7M+fmm0xi3qWeY=; b=JfZvyTrsyIKHuZR5GuJpfkYLpx2PiS7Pi5ChpBD+RD2GLBVy3cLuCFS4wYpWXMHwke iblTHiStxul5987orHxHTTu5t4Q6RztlDa6RsTilUFystYh0c4e8gRmDa9bDd/kSCS0Q u+Y8KWCIz+9EXVeOme4Ml2Iu4UVRGN16CpokKIdDkBwoygs6Hl2yhfQriitsTVyhtyBT GSKaocfZi6SaxJtyMVSKrBpsmbQZRvPMg5xRXR4iectSES+JIjMlcs+aAsd5OmT9bT/B wlf7Z7i1NSq6t+9yORF/CaaxlQ0GtxwpSBq/miIIWx5Jbs2M1aklS1wcmT3RpsUDNcm9 BLYw== X-Forwarded-Encrypted: i=1; AFNElJ/Rw3UEr6dBtGGaNDmlVkHXXbaN1E779jFmhq6D2v4uco/a3H9CQ/Ee48Gb2ef/oUfxgSvi3LFISiV8rtQ=@vger.kernel.org X-Gm-Message-State: AOJu0YzABZfFtOU+K6M7v5jDSMFuipazsCz+UgSN/fpEZQLwfvaiUUCp oI3wTaJVMS6yhWPGvNg78A38xiOYp1ytHEuih3QR+krww436lS6a/0zTVI0mCzskF8bUxb5g2r9 TIfdsdO0TTulgbT9HILuPpDnDfZIAB0/oRXUxtmmxGuwJlpLpjKBji8QbpM4If/ysjhI= X-Gm-Gg: AeBDievygyMfM0rMHAY6C62Ly9+AyFwewLHua7w0byPv2wyO37Pr1Q8HHoxVIQHi/BW 5Imm6A1h8DzfIUEoLpXUPcJPurPP07o9ZoMrBfYhA/JVWQ6zADG5Q65UFkF6I62BaB/Xz91Ix3f tR2Tv4suMxmkvFJtbRQVeqwxDXqvp+FpzL+op6iWvtjpgm7vdVzYJkLlFBlI63Ab1UScswAAm9e 8rBTh0sFaRbAFIV7gamdmik19jHjwop8i4B34Ezx9N+bWb3+71l+/fmZedETKCfCW2JuEPtjs0P V1zUpU2ORr+z7MqEqBFQNUNyld75ivx2/aovslmM0e7LYdSk8mkGv0A4X/PVL76Q5JjYfiJO4X4 c+zD9I0bSm/n80gNQY5R8sndgeeuWlR1QTLKYpdNM+ZY0MTi1n5eqTYBaf5CCSBHvSWyojqs3pp DDCNo= X-Received: by 2002:a05:7300:2d15:b0:2df:3eb7:531d with SMTP id 5a478bee46e88-2e47a102bc4mr6036467eec.19.1776670251293; Mon, 20 Apr 2026 00:30:51 -0700 (PDT) X-Received: by 2002:a05:7300:2d15:b0:2df:3eb7:531d with SMTP id 5a478bee46e88-2e47a102bc4mr6036454eec.19.1776670250682; Mon, 20 Apr 2026 00:30:50 -0700 (PDT) Received: from hu-qianyu-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2e53ccd2564sm13657396eec.18.2026.04.20.00.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2026 00:30:50 -0700 (PDT) Date: Mon, 20 Apr 2026 00:30:48 -0700 From: Qiang Yu To: Krzysztof Kozlowski Cc: Vinod Koul , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 5/5] arch: arm64: dts: qcom: Add support for PCIe3a Message-ID: References: <20260412-glymur_gen5x8_phy_0413-v3-0-affcebc16b8b@oss.qualcomm.com> <20260412-glymur_gen5x8_phy_0413-v3-5-affcebc16b8b@oss.qualcomm.com> <20260415-pragmatic-termite-of-attraction-3dbab5@quoll> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Authority-Analysis: v=2.4 cv=KZridwYD c=1 sm=1 tr=0 ts=69e5d62c cx=c_pps a=wEP8DlPgTf/vqF+yE6f9lg==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=6JBNvcu5I-RyS6dicrsA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=bBxd6f-gb0O0v-kibOvt:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNDIwMDA3MiBTYWx0ZWRfX05PsC0H9fITS +hT+1Z65chY6rAB1rBIKH4tCxwMJpwEOGf0E393y9w7FkShAGbnL4ocGbdUfgFO2CnB4LRc+Udl PVspEWdTU+mqLWCS2fRREhB48K7v+IbYu9sSpa0TbY7JbS3cr9tpifuPgrR8cvga2oPlDJnsRA/ TrVbjL2FgQsG4bXxn3CvZCTeNAzWr93/1VoVsir0W+v2Yi3fUSrKFk75VkqZj+CESl+mACyuXo+ 44BfcSCHghKhL/sx06Z11oq9nfEp5XRKA2QAp/f6SPqj9O33mzUmhkpoaJ6Xr8zlTwDnJfEQMVd 4ppwEMlfprSeEPI3rC4MVNPHPzT5zZQF9IZ85oo8ANmlJAKJy+Zm/9R9UKInMrjeDEFC1pKFs9w hNtAS6MCDsprhp5ajtSE0FWQK6M0JChwVmxzCFtJBxzfz3k+eIAZOff7JVjDlZdGsMQ/IGDZM2N orzXFyy1TztJn15MqeA== X-Proofpoint-GUID: pQC9PMlG9fxGVV2e874hisAKvWPOjPGY X-Proofpoint-ORIG-GUID: pQC9PMlG9fxGVV2e874hisAKvWPOjPGY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-04-20_01,2026-04-17_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 impostorscore=0 spamscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 phishscore=0 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604070000 definitions=main-2604200072 On Thu, Apr 16, 2026 at 08:19:09AM +0200, Krzysztof Kozlowski wrote: > On 16/04/2026 05:24, Qiang Yu wrote: > > On Wed, Apr 15, 2026 at 09:44:15AM +0200, Krzysztof Kozlowski wrote: > >> On Sun, Apr 12, 2026 at 11:26:00PM -0700, Qiang Yu wrote: > >>> Describe PCIe3a controller and PHY. Also add required system resources > >>> like regulators, clocks, interrupts and registers configuration for PCIe3a. > >>> > >>> Signed-off-by: Qiang Yu > >> > >> subject: drop arch. > >> > >> Please use subject prefixes matching the subsystem. You can get them for > >> example with 'git log --oneline -- DIRECTORY_OR_FILE' on the directory > >> your patch is touching. For bindings, the preferred subjects are > >> explained here: > >> https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters > >> > > > > Thanks for pointing me the link. I’ll drop arch: in next version. > > > >>> --- > >>> arch/arm64/boot/dts/qcom/glymur.dtsi | 316 ++++++++++++++++++++++++++++++++++- > >>> 1 file changed, 315 insertions(+), 1 deletion(-) > >>> > >>> diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi > >>> index f23cf81ddb77a4138deeb4e00dd8b316930a2feb..c15f87c37ecbad72076a6c731f4959a1a8bd8425 100644 > >>> --- a/arch/arm64/boot/dts/qcom/glymur.dtsi > >>> +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi > >>> @@ -736,7 +736,7 @@ gcc: clock-controller@100000 { > >>> <0>, /* USB 2 Phy PCIE PIPEGMUX */ > >>> <0>, /* USB 2 Phy PIPEGMUX */ > >>> <0>, /* USB 2 Phy SYS PCIE PIPEGMUX */ > >>> - <0>, /* PCIe 3a */ > >>> + <&pcie3a_phy>, /* PCIe 3a */ > >>> <&pcie3b_phy>, /* PCIe 3b */ > >>> <&pcie4_phy>, /* PCIe 4 */ > >>> <&pcie5_phy>, /* PCIe 5 */ > >>> @@ -3640,6 +3640,320 @@ pcie3b_port0: pcie@0 { > >>> }; > >> > >> ... > >> > >>>> + pcie3a_phy: phy@f00000 { > >> > >> Same comment as before. > >> > > > > The existing PCIe/PHY nodes are not strictly ordered by address. Current > > order is: > > Obviously we cannot even keep order of nodes when creating a new DTSI > file from scratch. > > But adding @f00000 after @1c10000 makes even less sense, regardless how > bad existing code is. Don't make it worse! > > This goes before phy@fa0000 Okay, will move phy@f00000 before phy@fa0000 - Qiang Yu > > > > > - pcie4: pci@1bf0000 > > - pcie4_phy: phy@1bf6000 > > - pcie5: pci@1b40000 > > - pcie5_phy: phy@1b50000 > > - pcie6: pci@1c00000 > > - pcie6_phy: phy@1c06000 > > - pcie3b: pci@1b80000 > > - pcie3a: pci@1c10000 (added in this patch) > > - pcie3a_phy: phy@f00000 (added in this patch) > > - pcie3b_phy: phy@f10000 > > > > Do you want me to reorder these nodes to follow strict address order? > > No, but don't add nodes randomly or following the previous broken order. > > Best regards, > Krzysztof