From patchwork Thu Jan 25 13:06:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 766138 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 5152A4F88D for ; Thu, 25 Jan 2024 13:06:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706187996; cv=none; b=KinCcTdSu4+lw8s40MgPKB4gEVf5ahiDm4EsIHz0XA3M5Wlgr2CpJEDJie92ITVqOwpETA/wtnsk8wUKwCopgGCv61xlQECS8wBT0hgPCk0Esj9eGA7V94p/k9rPbN19UcLCYgY2360Ib6GjgW6qJ1yt/pvLS3a/XxqglhOTh3E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706187996; c=relaxed/simple; bh=Kwqnw1X1+HMJqw8BThmuprk54/oIHYCFkejiiBpEPMM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=tPabOptFuzUrrc6CbdOCjYe+qUbX+xuWD7eZGddnSRvExWZB5uEuAPZOwJwLZuh1U6KKFpglOVB88oildGfOClMlMwEuNvfXd6RJ7F7608SWFYQguI8RyJv4RWgGko0yMFzXixhTho6GclRO6qdFMOyRTnR6A4TGAp8Q1k2CjjM= 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=ZpovvP6z; arc=none smtp.client-ip=209.85.208.54 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="ZpovvP6z" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-55d1860ced8so106150a12.3 for ; Thu, 25 Jan 2024 05:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706187992; x=1706792792; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EzhDowVZvLvlwXwFMgRZX8rQ6/KYq8Pb1dHzwRryNFI=; b=ZpovvP6zer4RRziLhPQFYvjqjqcvHfrnSvv1aXtAHbT/G/yLKFkG92uQjMOZzndekm CvZWgh3LeyVse0bv0PIUZz2bz/TxkoNDopeiL+Etj6r1HDcHC0yM27SHuIU2l2j4xvdo +eqVo22K7nfdUVY2wqI0zFSaebQ+Z/ZDobmcabCtpWfoZ75Pj9sFugBJsZOJonm7udSA n8pllYKPpYHJ69dItKhL1sNrepdePZYAU0n6rUhV5z/qxWqm+AF6q6YmQzaisNVQGGkS Puyc4qwRpHt9smi3lnvPwE+Joxq3FtW59PzzW/Vo3SlaFGafzY0NdP0pBsID9LDqQ3Bb xUAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706187992; x=1706792792; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EzhDowVZvLvlwXwFMgRZX8rQ6/KYq8Pb1dHzwRryNFI=; b=oBMgWyRcgwydhKQ46ld7JBO7io+Drm4Jsc4VFr6SlH1csx7XOXOQ+yksNaBHttusqG cRtWAVW0CUITXsPKkAJLiRzaMj1Fc1ivWXKBz1hgUZdtfQ/+mzy4FuRUeGguuTlQcWkE L4JczXVH87nGS//kDB5BiuuihOL252ACJEIVUHYS/tx5eM00fz1zgULJpZFkdvZZI0E2 AmdihTe5uALDAZXyheFJaG4Ybgrj7s38YmiTkBIYb166m0bH21ORfdt4YcV2HbYcXllQ BMLiZApuKB9+a/Dcv7hha1GB6w5x19kxsRhTu0TUmIlKiOAtHj65QoRw7nYEFi+ZoZ04 Mofg== X-Gm-Message-State: AOJu0Ywn0H1dNkgOocpFPKAuKNsW86BQCoADO39bSypKF2ys0cG63ntn nwgavwZyicBMKVDHvz3TKjecXnPRhvGpvymYBDiE/uKkGE86mWDAXUDSMJcK9i0= X-Google-Smtp-Source: AGHT+IFMCfTQtOehB97wWuBqnVdrymBjjeKW6Jg22SrfcSydT50nvasa9c+xe+Vm7CRqAPFt5Vnq8w== X-Received: by 2002:a05:6402:17c9:b0:55c:8855:952f with SMTP id s9-20020a05640217c900b0055c8855952fmr516864edy.14.1706187992568; Thu, 25 Jan 2024 05:06:32 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id ig1-20020a056402458100b0055ca5ce62ddsm1873315edb.12.2024.01.25.05.06.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:06:31 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/6] arm64: dts: qcom: sm8150: describe all PCI MSI interrupts Date: Thu, 25 Jan 2024 14:06:21 +0100 Message-Id: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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. Signed-off-by: Krzysztof Kozlowski --- Bindings now expect 8 interrupts: https://lore.kernel.org/linux-devicetree/20240125-dt-bindings-pci-qcom-split-v2-0-6b58efd91a7a@linaro.org/T/#t --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 761a6757dc26..26cf8459f74f 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1843,8 +1843,16 @@ 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 +1942,16 @@ 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 */ From patchwork Thu Jan 25 13:06:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 766137 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.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 E623E51037 for ; Thu, 25 Jan 2024 13:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706187999; cv=none; b=G9+neOV11F0aI9KKIVJs62sTe8U3xnqk497v5kb9cvzu4jitLjV5B1zajGeeua325cnPsbCKqk8M4J5fI+oISgwV2pqF2PAKOIvovu2+VjaAYY94OCSGFNq6rhYSfAcjoRqTrd9Nlqwj1OFRge9QnNuR3caa9ueeEVF2XidrtDs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706187999; c=relaxed/simple; bh=ldYdbs5oPh4Hq2Daxb2G1AuoZ8dqv10O4RAJbEtaa5E=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=aH/hn3dzaBtJ0s8Z6HEuAo6Rss9mcyUWxEono25RyPCTNLNywnBVbh9AQyHIhJqoDTYQsFLQrE8SMG2k4fxhmYPtDuH/Kjm3dd9xAKt/u4LiSOscgzRc3YnX22hRvGNrBhBko5cv5Sj8190lctDK4PXJ9JUBr6UIxWGjxqg7vGg= 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=bvj/naTf; arc=none smtp.client-ip=209.85.208.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="bvj/naTf" Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-55817a12ad8so7585122a12.2 for ; Thu, 25 Jan 2024 05:06:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706187996; x=1706792796; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zIkqlh6CaDU8JayB7s5wW8TvwFUIh7h5CDgwF5CSs2o=; b=bvj/naTff+Inuyp4yIEjMWI8P80qmsqeOhfx2dr7F5Ygj1Wk1XXaKXPlqWvZs8p5RD zvq/OvGnvyk1bfQ/YBGsLk3WuGRh0Yt30qhS8kKEHN/CQpt5TSFYmBGD3acuQJxe0LKn bdwfTMlajJn8BS0L9yYXSWR4hboWvzjQcCyUWtMDUs4OFqxuEL9CI5Pj+ASdJnz03mzu vGtk4HymG/NHHQ1aDCxUET9vE0Qqlft768FiJMynBefXcR4POCctPien1ty2hlR2/CXh BAjCt1EI3Fe7FS6bGWDz3Vq1MgONRXMM+etglux+xiCzo6VuGngnZVp79rOEVK5FqYnF 9+Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706187996; x=1706792796; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zIkqlh6CaDU8JayB7s5wW8TvwFUIh7h5CDgwF5CSs2o=; b=eJoQORN5fanr7+rB3wqJgCfD7r2JxQXhikSYz+Z9quS54acCUM8KMNiefz7HYflwTW yOWNBBQCVEEhoTMaWaVTFPFNFOgP2ZzgoqtNmItENTAnmWiAiiSyPmX8R+NuY2gxBWsu ckZIDCdLA14T4qpMqE/ULpJJ2tvzkGK2SwbuCukP3Cs4+mRRO6tUPyG2CSa7YvBJztGH 9RDuZEQp5ic9gMTaaXNPdfNnvZLqgsn53S/BZxCtXE6OErCzOEaYrCoge3bVYdAG7Eeh OyP5J/qG9jRR7ANvFZXz2chEr42DrCiDOTpE77AP0eou5LFMxSy5gC3Vzucbu2vw7G+4 q+AA== X-Gm-Message-State: AOJu0YyAzj9OInhNqyn9oBEdLOCDgEbiSzIlF96ho1b6xEGra/tKZJy7 aSEGtO2+t8heP53GdTkcO+eGjXoO78/oaIYn236miAw9gph989gAVyQAXqthDV5XpTrxHB1J4kR J X-Google-Smtp-Source: AGHT+IGAnOfanuHCjqF65xc8+b+OuqS/2WVdJ42og9UCSzWeaHtelLO01aRON1hOUAtgJUJ9jR2eoQ== X-Received: by 2002:aa7:c158:0:b0:55b:fda0:4f1c with SMTP id r24-20020aa7c158000000b0055bfda04f1cmr654411edp.45.1706187996200; Thu, 25 Jan 2024 05:06:36 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id ig1-20020a056402458100b0055ca5ce62ddsm1873315edb.12.2024.01.25.05.06.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:06:35 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/6] arm64: dts: qcom: sm8350: describe all PCI MSI interrupts Date: Thu, 25 Jan 2024 14:06:23 +0100 Message-Id: <20240125130626.390850-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> References: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index e78c83a897c2..70ac80a6dc8b 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1611,8 +1611,16 @@ 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 */ From patchwork Thu Jan 25 13:06:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 766136 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 4225A55795 for ; Thu, 25 Jan 2024 13:06:41 +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=1706188002; cv=none; b=NbAn0th2zl9Ep37tARX/3bEpku1MKD5IzZ/xHur/E8l0k2vFuWrL/GVx+9ARoFrr5jlElIGsN4f5JdA5eNinPErBfNxzICXkiLWjTA7f/+llo2WXsi50taKhD/hD3jpy+noJ14A8PLEQKYgqVmrJGT+vEe2cMtZCGWTZfXw3xN4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706188002; c=relaxed/simple; bh=evYnu3QuudYg3vSYFXFPI9JOdAXgqDFA+MTb5aqHvxk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=f7+nbRmdrW83sBeWM8Am9kaD9l46PPICb4lKgqbcsd5/c+Ri+Afg7GaXpNLMpRknfnUvcz772axPhbPLOYwTj3zQEtVaKU22jf75mYIRnVksPuJgtPGWShH8sZSFeOwIQ3kEadtyba6UgZMY8/rQuPL+sv/A7J3hB1Mmt37gSXA= 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=hB6+OKT7; 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="hB6+OKT7" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-55a6833c21eso5179146a12.2 for ; Thu, 25 Jan 2024 05:06:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706187999; x=1706792799; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fg8gFt45fS4TDeXPLD804quwOBK0D43uZtoHVR0hKM4=; b=hB6+OKT7OHKHJm1LETvtn21l4taq9/meJxSsVlDoqaNrngN3fBcknCh4SxEXiexHVo tJ81cP59BJaXZeKdI6Fet84TtnXpXCt+HVEUkJIJEt/LJdPfaew5RdXBTvAe7MJM32Xq rTHNCOHvckp0+ubMn4bkKH96Z/1SwZerrjXYWmZ/uVU3TxKSWqSeCgAGrxALiYXn0inj jSgUCxHkXcazRTLDSQsvXLqVVf3mVI5q/37/q9uPYsnjzQ+dQBfzfTHQsU7TqeqGM6EO iBrp2zsJDBiEYkwUSuYbnmcIHPuCCZjPfOIAxe9q6NdI+C8L985/C6MS5nK52Sp7QZUF o4MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706187999; x=1706792799; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fg8gFt45fS4TDeXPLD804quwOBK0D43uZtoHVR0hKM4=; b=GljytQXMXMrAtXn6OYJgJxwVQ8IpU5uldZtj09M8sEFyzYw6vC+FwBajFRrL/Hjw6n 4XK74jrRfSTTq0MAg3R+5FDX9I/H6UivUimg4oMBYy5T1VEQwtJYcKin6xzOHHdhmSt+ fW2Y9b71kZEKUhujdvWLJPsz/KVeISTZmxBYDn11DcmxTJLHpMOfOBQKtiiC8tcTSJky zpDUHzBjdlza5FDaEfa31lNjW/wqNB5cl2naBD9pNBRTQymVQtbK9RKfENfYUzPm3MjB Ufm94hv/WiemyIYK6T/RMwWvSPdSRxzi4b0/lTubmCxyrhm6yezgsfUOZ5d6u3RsHvTc 0lQA== X-Gm-Message-State: AOJu0Yw+2oF+pc4MhEguGXKZWRkbzsZvEHOhdzJDxDZ/ChJmmHRRHpt9 73mnfELQSzaB6fDvz/Ki/VCy8UDdnUrrNsgFGaDWza7D86anIrhH8FSVlTdaDeQZnmMhOut+4eZ 0 X-Google-Smtp-Source: AGHT+IFjTdaK93LlmCb3mMx6m5IycjkfiwGdZ1VpLJHzNIcZ9oqtk8bbpaI7KpCqDNTzZ6umS13i2Q== X-Received: by 2002:a05:6402:310a:b0:55c:7aff:b456 with SMTP id dc10-20020a056402310a00b0055c7affb456mr614343edb.17.1706187999636; Thu, 25 Jan 2024 05:06:39 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id ig1-20020a056402458100b0055ca5ce62ddsm1873315edb.12.2024.01.25.05.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:06:38 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/6] arm64: dts: qcom: sm8550: describe all PCI MSI interrupts Date: Thu, 25 Jan 2024 14:06:25 +0100 Message-Id: <20240125130626.390850-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> References: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Each group of MSI interrupts is mapped to the separate host interrupt. Describe each of interrupts in the device tree for PCIe hosts. Only boot tested on hardware. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index ee1ba5a8c8fc..80e31fb21055 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1713,8 +1713,16 @@ pcie0: pcie@1c00000 { linux,pci-domain = <0>; num-lanes = <2>; - 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>; @@ -1804,8 +1812,16 @@ pcie1: pcie@1c08000 { linux,pci-domain = <1>; num-lanes = <2>; - 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>;