From patchwork Fri Jan 26 09:38:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 766464 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 A9B4C2554F for ; Fri, 26 Jan 2024 09:38:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706261931; cv=none; b=dE9YjDfu3gSvVZRrLfdua7sbEmah07TLP8jzxCDxMgw8D+W1un2Xmdca4TqO6jxhZagDQ5x3TEfvAyihqg89YPsoPDQUUhffCW9Heo1rCSkzke6/+KSed05uiN/0ITVRI+UrKy47btmrdUd3L5v9ooPSoCKA8hEnP1J7q5XNb0k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706261931; c=relaxed/simple; bh=VP5loI5P/wbfR1eg9u7ftracm3D0KZuQy1Rj2+r2FFs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BvMxXehnaDclTu8CJON3A3VorQMuvHqZhlozB+24XtkKM6Uo32Cpp0m6RRVjnECOWha0Od0oYxCrzef0WtCNB6MVDt6fLzDarLsmrd8edhWeBLgdyMpJAHzsX45E2AiTwAs7FeKcKBMXEUry/7C+s5p3GEE4lSNwMAUvjzMkA08= 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=V7NH2ZlG; arc=none smtp.client-ip=209.85.208.178 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="V7NH2ZlG" Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2cf3a04ea1cso2055001fa.2 for ; Fri, 26 Jan 2024 01:38:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706261928; x=1706866728; 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=wIrFn8/u0zqylTcig4aCZUvXOAI9F+lwhkrMkjO5RfQ=; b=V7NH2ZlGEmFyAwkNOeX9Hv0S7WUl0ohnm8oC8D4DRA1w1u6o65/gI5PJ+wu9/6Qem2 tXAPO0+V4+uQoeWwcZiM0e3bIP3StCQ4j3lf/g8of+V82ycHyjm0k4BsNfGBg+nFJRy5 xpZLH13UUbPciTgBhAhMhJk30Gcl/zyeAF6XSG72WDwdtwiGFcprT8uhuhpu7QL76EvE 9guLi97s51oKOwGqHlO1EJqWaLxj2yX0vNLXWGTOeQUhAVPkmHVtuYf3PUbZLYBktnjj fhg7NR1r/E2x4AhYz+j1iYXJaLTyuTdVpUA54zjy7BRRbqEjl3gZ3VZ1xzllJDFGW+KT ApiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706261928; x=1706866728; 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=wIrFn8/u0zqylTcig4aCZUvXOAI9F+lwhkrMkjO5RfQ=; b=W7U47V7yBHiAryMOfuLv4xhECCtVL+OFuDLY9PZRGj0vO63HCSEWBLCAu3lb2MjyDv wbO6KNK9NPlk/zMr0MyI8fg9ErckbZEOSvdxZVnBbHPDjr7OapB0TU/kPg0kFOiIKZbE FgDM0il9vBqrNDJA922g0GYfJQBkfAao1ElaiVA2e9OvR5XQQYf3kW5/qjoh7o0PifKx 4zPkMyI1YS4rCcF0u9t6vGRtnOfMELUMbDG9msK8/NQdRG+5Vhpkgfx2uevCg4pncwHC r56c8USDetW7FAB8XuSrCCGjHS8v2K8orT30Kjjbd+6DtxZQpMxQJtWbzeMy6v7fV4zw 9O4Q== X-Gm-Message-State: AOJu0YyGAa7UA93ovzNJ+1Jk4wRnPId/qzHqMsBp0IqPV3q2oACgnj+/ 5jqBQV66vlf7LnNW5PiSDj+v2jbDCYt2tXXXfAqd87RPecFgD9hspm7f17CsP50= X-Google-Smtp-Source: AGHT+IGL0fsOX8yuGI1czTOMRxOyC/fkPUyLHnOUaTCGdUV2rvQfq76UkjLlTiRQ0jNj/sidz8iRyA== X-Received: by 2002:a2e:9047:0:b0:2cf:2db4:cd82 with SMTP id n7-20020a2e9047000000b002cf2db4cd82mr501279ljg.105.1706261927623; Fri, 26 Jan 2024 01:38:47 -0800 (PST) Received: from [127.0.1.1] ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id se27-20020a170906ce5b00b00a349318ea10sm426768ejb.199.2024.01.26.01.38.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 01:38:47 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 26 Jan 2024 10:38:32 +0100 Subject: [PATCH v2 3/7] arm64: dts: qcom: sm8350: describe all PCI MSI interrupts Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240126-b4-dt-bindings-pci-qcom-split-dts-v2-3-0bb067f73adb@linaro.org> References: <20240126-b4-dt-bindings-pci-qcom-split-dts-v2-0-0bb067f73adb@linaro.org> In-Reply-To: <20240126-b4-dt-bindings-pci-qcom-split-dts-v2-0-0bb067f73adb@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, Dmitry Baryshkov , Neil Armstrong , Krzysztof Kozlowski X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1587; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=VP5loI5P/wbfR1eg9u7ftracm3D0KZuQy1Rj2+r2FFs=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBls32cKKhpKeiqSPntFfdPzaydG1aEO4i6pzvpf 7yA2ralHQ+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZbN9nAAKCRDBN2bmhouD 1yX4D/0c27SYTyz+rBPDhmgvFbfXVfBf/zUCIWkCKgl1XlDJLjIimcwF8Sc6Wbt7riDW5eJgSsV kUmsagcwCt9sWVNvD79aqhKc0wGqP3biQlStsDotMGVynAtuMJwOCWyGL37uKHNiFkj+N3r2cNc GoifKSpyLmtn2+nc+ugq3i3AWY1S3EqUI4m0t9W1qzFADgHZzHcee+RcILvfSyaoKH5eaFjH5ue 4o+IcbLIqu88kaX8SZZW7LWPCeywAQ3NZSbgLG5aq+XHMb4vrVrjkDpiiV7ryGeSvHlPn/WHG1f bmiYx+PLWy/hr0+m6CGfTqMatFxH2jFK1/kR4B+x/+tNh72orMh3fGahOpZdhjZ6dfkOvS3qn5n CIwhVxlDpKS0dLUi8g4z1Mlmi8HN4oFpvFzpLBtWIY1E8mYqdNqMzk5VWLTKJGO/0HvcTIyZ/e7 L4BFr1iNTKOrRGHEzTWmwcc2ogvTodZ6wOzGCp9fEFezyQJMr3YLT2ujP8IC4TjqGdSl5G0X6wD 0twf9CjXYqjhe4sa1GggzzyDqfCI8Pti5F/Nj9/lGC32Acm6aED7ZbGtM7hloq/cRImopz8JiY8 lnnoKQhbbdwBt95WtvmTlVPSVaogVd6vAwZ/p1PA8P6NKXhRDY2uPWEoI17bbqiWwA41J6mFoeU Vh0xZH+b+Fl0PkA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Each group of MSI interrupts is mapped to the separate host interrupt. Describe each of interrupts in the device tree for PCIe hosts. Not tested on hardware. Reviewed-by: Dmitry Baryshkov Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index e78c83a897c2..ad65f6b48e25 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1611,8 +1611,22 @@ pcie1: pcie@1c08000 { ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; - interrupts = ; - interrupt-names = "msi"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", + "msi1", + "msi2", + "msi3", + "msi4", + "msi5", + "msi6", + "msi7"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */