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 B58F53769E3 for ; Tue, 23 Jun 2026 22:47:51 +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=1782254873; cv=none; b=MrTDImSf1RWzXRhKhyX4si1XLlsXnRcvRm+P3djc++L0MgeSrOooF9gi3CQHlq0S7HElKSkhN7MKJXPc1nXfiTcZwl8Hise6pq+jSzPJrBo180A3jOOW+YTxlAqHnWM4At8tb1N1O1fxYtqvu1JaIvVksewFAA00QddnaIUEPVk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782254873; c=relaxed/simple; bh=K8DthgNvpP8H3W1v9rUrPVBz/IFhRniVZrCwsEvBQJ4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EQi8REorrACQlVhgrA/TqbDQrG5rvxTjEmn8ADxFm9MmbMYWLcxXVmY4RXgRFobLnP7ddQh2HrPHhR8CsycW9OHbCj1K+D0ua7jCrwbqz8t0gJqe5CjbGZj9Rtu4d7ueYm8Zj79GYNpdI3bGjrN4sp2yXprMlmS9/6bZUIGvxGM= 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=F525Msj2; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=WPqsOVFl; 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="F525Msj2"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="WPqsOVFl" 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 65NK0MpD973634 for ; Tue, 23 Jun 2026 22:47:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=asq7qdr/KrrmzhR4T24h1GJS Iepx/Nw0a3Z1XgC25/M=; b=F525Msj2pgDAEAbRB3jeiUrK4GOoji/yIEmbUf20 r4n0faO/Uw10FEsoDdztMyGSxNgHdbOU4Icv/kieCbgfIz4x2uvEBBIa+Eql9RkE ytlzR0IfWeT5Cuav8JC1L+eOOYqIsjCxDhRTTDTCh9BnfFwS3tVp4ErH90HKROZk aUw+ntmeG5w2flb1YayqjEkYLj5hD5cb256gmOQ4aG8GDmJrH/OTHzePl8+Rx/eW XxSBxUN987xUotAcWvpAel6NpgcHKyp+7BLwmEyOONIVOyEN+Iny78J0XXhjnWzS 9E+83/SPJGTq4G+T3qFPdy65xQrQWNkC+cyZvnSxzY5grg== Received: from mail-dy1-f200.google.com (mail-dy1-f200.google.com [74.125.82.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f004p0mat-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 23 Jun 2026 22:47:49 +0000 (GMT) Received: by mail-dy1-f200.google.com with SMTP id 5a478bee46e88-30ba395b047so1031705eec.0 for ; Tue, 23 Jun 2026 15:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782254869; x=1782859669; 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=asq7qdr/KrrmzhR4T24h1GJSIepx/Nw0a3Z1XgC25/M=; b=WPqsOVFlxdzS4keSGvO3oF9EwZpMoV8tYe7Gp/6x7vZ0rt6/u7hnn39MSownLtSlv1 rTnIXQUMtI2SyVl6AhzNSt7NOonRS2CF+8/BVu70encn6sB42IDn4EAiMadCvotnrSNy ++RRWusJmBeNapA7H3FAY2q+vdGvOQ7k4zaypWGDLRJ5Onj/e+XwmWoau3c/kuYuCm67 y013MudWrCdPbBTx0nmsgo12AsW4O0ZOr4+RK7mKYt/Ww7yDG0I6iXYKeUVMuALSCVXl UhVw/BzJebX9hkNvG+svSfe4u0Re6mguROY1tTDa8ogsOxkKoT1jx3XPX+v73NaMTkZ3 /g/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782254869; x=1782859669; h=in-reply-to: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=asq7qdr/KrrmzhR4T24h1GJSIepx/Nw0a3Z1XgC25/M=; b=YMDbHR1+TZJRUP5mBH4aKPYJGRBm8gp7WiadRyzDSbFrtH+29hh9ZjAnRk967o+oul RJpCHmpwGTOMxAnP9wHyQKsSaxMeYa5TJTc1yeosFlNAi4TQzRGXPbzo8ezATtYAnoHJ HIz2wmk70xtpsI0+6UebcMoQr6qZTxWHL/vHtTzu+Giht/3N1yZfeuorX89PIVS32BwQ U+DDjFDr2hOgn1vBRcrhrWNH445SdzQOSB74ugNgwQmcZ+yRaS5nt9fqAy5bM+NOEhHC XJiM4hTEX6QKgWb8xq3LCUTxKheq/GUBWbIvKerVq13YLpC07w4GXXGup08MAZVGGZlq Y3sg== X-Forwarded-Encrypted: i=1; AHgh+RpcySDOsxRztre8UYi+uFv8+flYt5J1dCLAtOLy+UwlLBcVhAEIz3j9QDx8s5VY+0Jbtyx5CLlCHOIXRVM=@vger.kernel.org X-Gm-Message-State: AOJu0Yw0to/RTDhHDL+28xEh5eqFVHyUxCZCkuFlh7z9rPU9/rs6EMJP YGSD5XfPjvqpePDFPV4EHnRi/2uH38NwxL7ibkJ36mdG9nsZOotFI1Rvp8rss/4MqMjFHWEHDQ3 tLWzh0aaU8UGbThMRpjrPrUK5PfcXpAfvo3guMI0HvSmHMSgDAEmzZ082yUp2vIIbPKk= X-Gm-Gg: AfdE7cn9MEhY4pq7TW0vw5dP1hxSnrbiqWVrU900u6hIcWy7DaGnwhqiB0shnJ4oXJS /JazjmTtbKfyNAxWEe8th0dc+hvxS9sS8ROrR4U682nIZRwEwCMTh1sM3wJRfkwFV5EICeXoZZW mNJ2TgfNQqZbYoNJUHjfZ7lUtTbotasqG+up8sSFPfpwnZqttXHRiubhzuD7EB5h849PGV37iuE F/LPpSC7+T+I080lFovJh3S9fpJt3O+Nwe9XCN8bAzG2o35Z4NjyiMGb1L1zpfi9VQ+agX4EhvF hoAbwNusw86IpVmTTJwp511D0BuFlC+6D4ttgYPy1gjKJr1PJQLfjWwZoJWk8unMqTAlQpSZ62k aYKtM3WPimBmeCtCiIHA9hzVP3US2h7qyQOiytDWyKNaWDEHli6CpTJKWNZUPBJHd4p4= X-Received: by 2002:a05:7300:5bac:b0:30c:25c4:70fb with SMTP id 5a478bee46e88-30c68e33484mr1215359eec.34.1782254868602; Tue, 23 Jun 2026 15:47:48 -0700 (PDT) X-Received: by 2002:a05:7300:5bac:b0:30c:25c4:70fb with SMTP id 5a478bee46e88-30c68e33484mr1215333eec.34.1782254867956; Tue, 23 Jun 2026 15:47:47 -0700 (PDT) Received: from hu-mattleun-lv.qualcomm.com (Global_NAT1.qualcomm.com. [129.46.96.20]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-30c1be4b24esm18691660eec.27.2026.06.23.15.47.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jun 2026 15:47:47 -0700 (PDT) Date: Tue, 23 Jun 2026 15:47:45 -0700 From: Matthew Leung To: Krzysztof Kozlowski Cc: Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] dt-bindings: PCI: qcom: Document the Hawi PCIe Controller Message-ID: References: <20260618-hawi-pcie-v3-0-f31880bfb3ec@oss.qualcomm.com> <20260618-hawi-pcie-v3-1-f31880bfb3ec@oss.qualcomm.com> <20260622-brainy-observant-crocodile-d57bef@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=us-ascii Content-Disposition: inline In-Reply-To: <20260622-brainy-observant-crocodile-d57bef@quoll> X-Proofpoint-Spam-Info: AW1haW4tMjYwNjIzMDE4NyBTYWx0ZWRfX1GrxKix7T/H5 gx9uuNvGf3XMQj6MCWHncOM5XG0JihPpmWWMMcp8jPB+01O5gteVcbT/7G+EULOHTYhDJ/UfoAQ nFqvvVRYxpJzmTPXAKHnVNFQpNQINYs= X-Proofpoint-ORIG-GUID: VfH42mCUwggF-6oaQbPoekyueiSOGakT X-Proofpoint-GUID: VfH42mCUwggF-6oaQbPoekyueiSOGakT X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIzMDE4NyBTYWx0ZWRfX4ByH7MtG5FJv ByeOA1+7cQjX3QHbPtCdhWBKUEkDtFkFJGtu1LXpT4NJPZ/H8Ftq49qbxQvZWC6OlLCD+YsBKT0 mI40VaFomF0Z0/bQ1yCDRFFGYko9cfAEDfAxnEdzLsEvkjRpRG423awdK5/bYyhdd7uuDQsXsIV kskAbBBgxLt8TGZ4CEkHj3E5i8xj8057iRgPhIfd6LZ8VXoZUM/XwIkWc1fv6K9nqjwPoCPNGs3 y5YdjuJWYBvflHIsEijkZEywG4sLgeNXbwvreqjCXVUGbnItTYhxhPPAc3+GgE0XO+GsDqw7Vjm QcG01EL15VurtanRF5F09IDrQJJmSNN/ZEGkQndweaKO68PcWOgJtFlUaFKtlp4ew1CJc3XQSCs fN0bgeWSthIRPcXmO2jd1rHxQCtIgQ== X-Authority-Analysis: v=2.4 cv=Q9TiJY2a c=1 sm=1 tr=0 ts=6a3b0d15 cx=c_pps a=PfFC4Oe2JQzmKTvty2cRDw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=kj9zAlcOel0A:10 a=FelO9ux0wxsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=BYOc-fOMsGyrnX6sEagA:9 a=CjuIK1q_8ugA:10 a=6Ab_bkdmUrQuMsNx7PHu:22 a=sptkURWiP4Gy88Gu7hUp:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-23_04,2026-06-23_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 adultscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606230187 On Mon, Jun 22, 2026 at 12:12:04PM +0200, Krzysztof Kozlowski wrote: > On Thu, Jun 18, 2026 at 10:00:32PM +0000, Matthew Leung wrote: > > Add a dedicated schema for the PCIe controllers found on the Hawi > > platform. > > > > Signed-off-by: Matthew Leung > > --- > > .../devicetree/bindings/pci/qcom,hawi-pcie.yaml | 202 +++++++++++++++++++++ > > 1 file changed, 202 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/pci/qcom,hawi-pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,hawi-pcie.yaml > > new file mode 100644 > > index 000000000000..fb3145f89f7f > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/pci/qcom,hawi-pcie.yaml > > @@ -0,0 +1,202 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/pci/qcom,hawi-pcie.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Qualcomm Hawi PCI Express Root Complex > > + > > +maintainers: > > + - Bjorn Andersson > > + - Manivannan Sadhasivam > > + > > +description: > > + Qualcomm Hawi SoC (and compatible) PCIe root complex controller is based on > > + the Synopsys DesignWare PCIe IP. > > + > > +properties: > > + compatible: > > + const: qcom,hawi-pcie > > + > > + reg: > > + minItems: 5 > > + items: > > + - description: Qualcomm specific registers > > + - description: DesignWare PCIe registers > > + - description: External local bus interface registers > > + - description: ATU address space > > + - description: PCIe configuration space > > + - description: MHI registers > > Why is MHI optional? The optional properties were carried over from the previous binding which this binding was derived from, but I see those need not be the case here. Each of the properties are used in both instances. I will update with making the optional properties required. > > > + > > + reg-names: > > + minItems: 5 > > + items: > > + - const: parf > > + - const: dbi > > + - const: elbi > > + - const: atu > > + - const: config > > + - const: mhi > > + > > + clocks: > > + minItems: 6 > > + items: > > + - description: PCIe Auxiliary clock > > + - description: PCIe Configuration clock > > + - description: PCIe Master AXI clock > > + - description: PCIe Slave AXI clock > > + - description: PCIe Slave Q2A AXI clock > > + - description: PCIe Aggre NoC AXI clock > > + - description: PCIe Config NoC AXI clock > > Same here - does that mean that once instance does not have this clock? > If so, mention this in commit msg. Same; will make required. > > > + > > + clock-names: > > + minItems: 6 > > + items: > > + - const: aux > > + - const: cfg > > + - const: bus_master > > + - const: bus_slave > > + - const: slave_q2a > > + - const: noc_aggr > > + - const: cnoc_sf_axi > > + > > + interrupts: > > + minItems: 8 > > + maxItems: 9 > > + > > + interrupt-names: > > + minItems: 8 > > + items: > > + - const: msi0 > > + - const: msi1 > > + - const: msi2 > > + - const: msi3 > > + - const: msi4 > > + - const: msi5 > > + - const: msi6 > > + - const: msi7 > > + - const: global > > Here as well - why is global optional? Same; will make required. > > > + > > + resets: > > + minItems: 1 > > Same here? Same; will make required. > > > + items: > > + - description: PCIe core reset > > + - description: PCIe link down reset > > + > > + reset-names: > > + minItems: 1 > > + items: > > + - const: pci > > + - const: link_down > > + > > +required: > > + - power-domains > > + - resets > > + - reset-names > > + > > +allOf: > > + - $ref: qcom,pcie-common.yaml# > > Best regards, > Krzysztof >