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: 766505 Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 66B0E55C00 for ; Thu, 25 Jan 2024 13:06:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706188003; cv=none; b=klHfj/6cqLZxH7UY4tZmdux45PSriT6Y5A+o7ebVR1rd/gsi7BxPEndsnfaTqhLBDejNDBITFR05/YuhoHzGHqgGid3aBbe6FL4eGkhxt86RDuuby0Y6imWsQpzUlliblZUYXZ1ug1KLjKxHNKae9Zq8++BAgw0ypYpROSNYcIc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706188003; c=relaxed/simple; bh=evYnu3QuudYg3vSYFXFPI9JOdAXgqDFA+MTb5aqHvxk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gbnV2djsoL+JIEUjNX/ASqtlcYxePTL2UPj74mQepRPA+/MI1BYJwk7dMJrh02JKvcHMGIvFovEG6R0PoP5Psj907hXUW0fKI4zHPtiusDXzRKTJU1fPMLI5zmNAMDkK20I5/JaYMS0yno6QI94v2y8CKHuPdCpQI8sSgNRNwN8= 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.51 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-f51.google.com with SMTP id 4fb4d7f45d1cf-55a6833c21eso5179148a12.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=raoFnX34YxhKbr9pib7aMa61DMJYK3n4hGBLjYHHdgATJEjM9FldZn84Ei7iOX3HQU uYLt5ZBxYw8OtvTMJshq4DFcahDrQqMcsq/lWs/6cbgm5LNthqvhZtuiZ5d17yhbjAkg YZvdEUl96wF01Z1ihVCbGmFuu9mhTx7AkHIx/D6EN+TOcT4LU6rznxDRwLw2EOyyd/0M 0wpi3XVG75b7wJBuqe3IVSEOHIkj5W3AsOb0pgvcm3x/u+MvXMFm3euDMnZxSqBz4FQg ACYKErdRx4p83XCTp1reDiy40c2F1pznTgiyrXd+kMk3URkbZr4I8CxgHYDUXUrvLZRb yryA== X-Gm-Message-State: AOJu0YyNvpmBo+x698DO5Gx1lvOZOyjvcM+u09rw640HyQU5+cE4R1+c ISlijUP59y33JilW5w08k9OTBEaYyN7SqVBmNOg40jgBfzK2yJLlVeQcSHHnMjs= 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: linux-arm-msm@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>;