From patchwork Mon Jan 29 14:41:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13535802 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.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 CA1A166B27 for ; Mon, 29 Jan 2024 14:41:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706539298; cv=none; b=qUtCjWlkf1G6aod0hi3T0cA0bfcYrag9jLqYak5U3bbs/CNHqSHJndNllw0fDSMhdCgLNAPd6LPsmvdjrluvtwMzgoehMccAEdkCk8RwkPX4QSAjr4ptPXlbSry4chk5oNNQQp07xMYXXKUXLM7BcDCjBx+GK7n7zGf1S8ZZbAA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706539298; c=relaxed/simple; bh=sa4E+CoKAN/LlXCOMcKVwg7cxW2KNFDdu3uPIropwl8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Yq346zVP0xt/6JUuj+5ml9iAf4O1DyfCt89N2NCIoaFMAqWKC4S4x0D7g6U2vKcPwysGUlwSyOppxx2r7FDk1NBDi04DWubRjDpl7ERSlk9E+G3dzCAlG8iHU+h6uFLPD5b0yGYxyQ0IKY8MIuFjZdnLrKFwJ9cJzShyxiyDxAQ= 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=Re1GEOyx; arc=none smtp.client-ip=209.85.208.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Re1GEOyx" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-55a8fd60af0so2727121a12.1 for ; Mon, 29 Jan 2024 06:41:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706539295; x=1707144095; 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=J4SJ32iyQg/UWstplGgnSu+pyJqIEZM8JZ0B98PjYHE=; b=Re1GEOyxko+XS0VkzNXzgyf0HMlEdewBEwo3Ap82DII7TvprMWTud38q9RVUPEgJw2 BlM/C1UfM0OQ7ZuRG6GZyj5NbPsYwBZVfVCHTUa/Sl/jCQh673hOiMfzkq5JZuFyTy+R V0TsKr3AsPwaahrqyzqW4tkHoO1Duk/hxJ9M5zlehFeW64alBMDK8TEqiLIZS8KsiarP cEBKwTgRKFss8hxf7ghYgP4z+gT0Ar40R18D+AFctEJZSqX2Q+NR7plQiol4lYW1MEOU 9Mmist+h889fcUSr2s79H2TsT+ap3YIvKUmP+dij80vJPciRxp3moD9pr5PhLAq7CYXV fmlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706539295; x=1707144095; 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=J4SJ32iyQg/UWstplGgnSu+pyJqIEZM8JZ0B98PjYHE=; b=UjJXMOdaqHm9sdnSPPcfbvVBigkeEEdgMvgjCvVAxbUdfBSVIsraiLYi+yWWWFNY0D 6NWlvuRbBkKWSgT8cf7eyNbJPVkDmjDEp+uKCo6OvEwlSMaRKcGF1FT3abQzqGz1ljL0 hfeLsBtBE10u4Vnp0n6fvxTyN2Ie+/HGNxRDw0UyPR6bP7m788o+d7wpa0EEf4ki+tG+ x5q3CZjp2pAl9hiQoenTZ+x2Ytmz+509nfZJcCkQosDg2AfiPwr5AdaR7wlXlGdPHSYy GQzXlQO2FVVJAgwgy8GsLtqfr4rfvLWqYtBmS8bTRnkslbFFaZ63xy66SBYUgQp45Cpz DWDA== X-Gm-Message-State: AOJu0Yw8Wg0H7/Ma1xPMoTmieL/PM0OW5gAtNu64jubIB5e2eEaS19EG 10/Lzy4dd9ISgGLWPEdvjxSY+4Lgl072e4AnPBkbbnamHKUij8A9VDaQnkoEAKM= X-Google-Smtp-Source: AGHT+IEPmOiDA6y7lJkCU+lpEhuJ7/jiiO5Ptg3n3359VmRB4K4UI/OhLckGVzkocnLAWcVuyxT4NA== X-Received: by 2002:a05:6402:2709:b0:55a:58b7:ff99 with SMTP id y9-20020a056402270900b0055a58b7ff99mr4972688edd.28.1706539294938; Mon, 29 Jan 2024 06:41:34 -0800 (PST) Received: from [127.0.1.1] ([79.115.23.25]) by smtp.gmail.com with ESMTPSA id em2-20020a056402364200b0055ec051ab49sm2548415edb.6.2024.01.29.06.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 06:41:34 -0800 (PST) From: Abel Vesa Date: Mon, 29 Jan 2024 16:41:19 +0200 Subject: [PATCH RESEND v2 1/2] dt-bindings: PCI: qcom: Document the X1E80100 PCIe Controller Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240129-x1e80100-pci-v2-1-5751ab805483@linaro.org> References: <20240129-x1e80100-pci-v2-0-5751ab805483@linaro.org> In-Reply-To: <20240129-x1e80100-pci-v2-0-5751ab805483@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Manivannan Sadhasivam , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley Cc: linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=2268; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=sa4E+CoKAN/LlXCOMcKVwg7cxW2KNFDdu3uPIropwl8=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlt7ka48SqgS4xk7S2zDXO3oXieCPjvGn4bjT45 HDu25tYG9eJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZbe5GgAKCRAbX0TJAJUV VultEADD+48uozfRL2li4h3LKm7wDAMxW/hBhYZGu8MgWA1mz2dRVyR6p6NtHIPYgkIzHibfjeg zL4OB/9jPIZvp4qraLqJLpBd356jW4Gc2BCkjZViFLrZWAE+l0vTClb0nPg6toN/PfWm9i9huIx lIIoxemclkwiC5CBHv2dDlwrH4U5DOK6lrhTsS/9RWO6/7uTVfSQY3d8SyVjQfXx84Ik7qrxclq 6oPdbRTCQ/F0tV7IpWIXTgZwfCXqX+pcafWGv42Zb79TMmpioczzlIjPZsnSN3ClaVvoPHIc+tl xb7IugiJRpszWREfnXr6ImghMZMTtQ7QfqaFRkA8Mpmhxykut/Hk+WhIaw+Z8fxw25KR7eJJ/0w PW9aENi1zN82MXRjEavtHHKpzrO4qkeA6ddE4y7UO6ohTNsSVPl7S/mTwQityy+Z/VzJ6YriJdE 876DjWARvG60k3rt+0TX/z1XAC0eoWvK3R62QBiFfXrwLAL/yOEa8QbEtDzF/2KR3e5GrNr5QTe gAZQ2qhBJexc+xjLmuDWEh9m2uVn7ve7xNCP0vv3ZZAipD8Y45Cc1gF7TgrWahGJO7V28y5xX3W re73Au7FFHBkG7V5My6HvXLXkgTBj3feDMPfDNsrcGtifn/MM2FxpFYTaWs97Ee4ophO91czBzn 7th+iMjsbhXnSmg== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE Document the PCIe Controllers on the X1E80100 platform. They are similar to the ones found on SM8550, but they don't have SF QTB clock. Signed-off-by: Abel Vesa Acked-by: Manivannan Sadhasivam Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/pci/qcom,pcie.yaml | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index a93ab3b54066..7381e38b7398 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -41,6 +41,7 @@ properties: - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 - qcom,pcie-sm8550 + - qcom,pcie-x1e80100 - items: - enum: - qcom,pcie-sm8650 @@ -227,6 +228,7 @@ allOf: - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 - qcom,pcie-sm8550 + - qcom,pcie-x1e80100 then: properties: reg: @@ -826,6 +828,32 @@ allOf: items: - const: pci # PCIe core reset + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-x1e80100 + then: + properties: + clocks: + maxItems: 7 + clock-names: + items: + - const: aux # Auxiliary clock + - const: cfg # Configuration clock + - const: bus_master # Master AXI clock + - const: bus_slave # Slave AXI clock + - const: slave_q2a # Slave Q2A clock + - const: noc_aggr # Aggre NoC PCIe AXI clock + - const: cnoc_sf_axi # Config NoC PCIe1 AXI clock + resets: + maxItems: 2 + reset-names: + items: + - const: pci # PCIe core reset + - const: link_down # PCIe link down reset + - if: properties: compatible: @@ -884,6 +912,7 @@ allOf: - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 - qcom,pcie-sm8550 + - qcom,pcie-x1e80100 then: oneOf: - properties: