From patchwork Fri Jan 26 09:38:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 766465 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 194A824A05 for ; Fri, 26 Jan 2024 09:38:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706261927; cv=none; b=Jm7+yRF/vPORJ+33656dIkTKe1zKK9Qa6LomHWMV/+T4CNqmIrdXyqOc0A1YmWesQeMQpCqW64vYE6XbleVYpP5vHhz6x9f2xhV+mslkeD6l6jz1Ij6/b5pAisARNQG3TFpTeCMHHgyTgdQyd0E3pHzbaQRXnKz1JrzhTRo+skY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706261927; c=relaxed/simple; bh=eHhrQ9vAHc9Fb3/HL56l8DURgtGk8GaRo6G9M3z3KNM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IXzy/WUgPUtwdMPq65OmlnZiTaENjhcNIYQU0y795msmc/wkBMTCmch8uRMXVYc4NcgoRmZVsMGnSmgvsE176nWZBC7/3yIPBNcJlqhPua6grkgbx9OCWXD8wAPM1NEXN/qeWGVb5RkyHD+vx1IX3u2p9hCKRpcb1NzSQWWzeTo= 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=VNocVOoG; arc=none smtp.client-ip=209.85.218.45 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="VNocVOoG" Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a3122b70439so25848366b.3 for ; Fri, 26 Jan 2024 01:38:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706261924; x=1706866724; 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=MmwYH3BEWdqQXMuMFSLehSYvl/UOnjbyoVi5Cl3yg2Y=; b=VNocVOoG55C96lU1rYSfTJchPOCYxlg27lPMCi2lG9okHjcgwlOO/G4EbmTkfExD2m 5z59cw+nhrKwrR5PS/ikdpHJw93Tts/ai+Ay7MB3rfsIpCqcuVyKHhcM/gBdwZUr/VhE +u4/zMFetsADCyu1BOuXFGoYfklP4Vrrh+8KBkRZFYKPzlKq2PIt/8Awyg4zcvUIMhFN VbJN+m/ytzmQ+iCXsDyaE+SycfW/WBfv7wj7hbzFNiyq+87exxoP8/EPVKvb2Gw8ew20 XnnloAwxunAO+tBKSRw1W7Ts+8cpW8Nu2oZo8rMcj1bkJa7U2NxMBK0ytliLGFshHu2T XUoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706261924; x=1706866724; 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=MmwYH3BEWdqQXMuMFSLehSYvl/UOnjbyoVi5Cl3yg2Y=; b=R53jFoP0CRulSciuw1fypk4J0J1oxYZ2TCf9zJgq/hcY68Pnb5TdaIVrYSUea5AqdY 792KsJ7p9clJBZR/4EpHogf/1Rt2+PS0bIgNGWQo/zBOQGnleynBX2n4lbd0hC35RorP 4njLpvq5vljMqY0mWg4uRkBuYdEdrtBFdRg9RAhoQHsLE+IkIeMg4gqe2W5o1/Ut2T0d I7JXeuKhSVytVVCFL5t2DUQQUJBTjJFbNup2xo9UVLR0I+sUUPhu9pSKVErLH6PZeIik Gzi6lLO6DomGmhyUjeZI6RyeomE7NfqX1g7VjBeFXXm0rKH2K10Z8VP27AVkefaLA94q rvQg== X-Gm-Message-State: AOJu0YybtF5asDGXzOaOvTPptza7ix5jYjsSJfmlM2dEMtgfacei6Ll3 EJcaXQ3z4ThNEVFOq6GVlpIwfJLDDgVAZB7jPIXKnnqr+HSwJm+vQSrJvX3c+8M= X-Google-Smtp-Source: AGHT+IF8ShXdLMh6fAtHT0WCqMKtBB/ZXNtn11U7mAbU9NvlghqJFIPsbI6Fu4PtsD4DUOqqe6xe7w== X-Received: by 2002:a17:906:5a87:b0:a31:7af3:f46f with SMTP id l7-20020a1709065a8700b00a317af3f46fmr915566ejq.77.1706261924303; Fri, 26 Jan 2024 01:38:44 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 01:38:43 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 26 Jan 2024 10:38:30 +0100 Subject: [PATCH v2 1/7] arm64: dts: qcom: sm8150: 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-1-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=2543; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=eHhrQ9vAHc9Fb3/HL56l8DURgtGk8GaRo6G9M3z3KNM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBls32bPPQNv52o2L++LvpCXRQO5ezFWIYW1zS6+ uembBveSFqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZbN9mwAKCRDBN2bmhouD 18VwD/9q1Px44JNvmHdouCeqof+pimNNFqL6izuLVXDH3QwRKyPc0GZ4DFSFOm7ZzV8FPpxMf3H ht7qKjWIgxyO1CTL3kBb4x1GR1Zs9pch2rYh5xPLq2F/JwQp+ao8HsLqMiYhGmndOzV+ruCrr/j +iLEZ3f5IzkKTUpeXekE4jfs5wLk2o+7Iru76zHpu9bCJN5/iKp5Ua9uc6kqOo/bHyxRLJVjmQD JbsX8HG4Pn+rXsz8yenr8044S6kZw6KQ3PmMHRFMB1cEFcVpszuHQNops1qnkwP7aiwV9eLdtDY QSPFQaIIJtBzXORRG7yYfjh9yDYrtlnIoHJHpAGMZA5hGAioq+LuwyIw4vg9ovDl7MBg5NMyyaD 8VoJUeZHz2B9kTsic5n9jxPayu2emQum4UBMiTD6VVTZa6th4baii83p4AkJgpLrLn+7GrWqWfS 5LIb1Opm8jpzFlrI5hp1ZFeJa1cdxpoYygulVV3e/qyNdTnLLw6zMWNMnln8OBsAEp4GYO4d3X/ 6w3TPs2tC9RmcdmJIOe0wdHH5oNOEn4I6brISkk2j6OsOT8djdFTQMcTt+PFjSOeQgLyGVyCKxu Z5n5hJT/ImhjUQfqVA1AyRZrIHHI7t8tlWMmrojTTovyhlV1hFHd4P6anJOs3H3tnpWDtRh9NTn 9IISOiJyjRF9wwQ== 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/sm8150.dtsi | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 761a6757dc26..f7f26fa4a412 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1843,8 +1843,22 @@ pcie0: pcie@1c00000 { ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; - 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 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ @@ -1934,8 +1948,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 */