From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2EA0C43334 for ; Wed, 8 Jun 2022 10:30:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237208AbiFHKak (ORCPT ); Wed, 8 Jun 2022 06:30:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238239AbiFHK36 (ORCPT ); Wed, 8 Jun 2022 06:29:58 -0400 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E08C196A8F for ; Wed, 8 Jun 2022 03:22:18 -0700 (PDT) Received: by mail-lj1-x22b.google.com with SMTP id y15so16787273ljc.0 for ; Wed, 08 Jun 2022 03:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pC4EIqDh/2k4QfHSQk4lkvNH/kEKDI9RyvpXo+8JMnk=; b=ZqbsqBttLI2/QAztbM63zCCkXktXV/naNAJlpPVNfKiN5ydI4vsFpGkZgnDheLqYZX sofUMm8W8V4kRlMpIUqd4RPKWOV3xV4GYO2KZENq48qb364KK9I8DCGBMUy+Plu1P0Uv rFZB3d77i7j0XfPLXIvEZKpXQOVFbE8kmT2Lgz2OL500gYzKrv88+k1RwQaso59laQbF u/yzELmjJuNG3dHn7A/M26t0gOTa4GCXESWCAcUSftA1o7JcUUKpjlT5Gnz4F+ge350+ NiOtEP7jf7T+hTI3b6GtjJFkcvTT0LzMgp1ziffyVGLUhUy06/AsqeX5zLnmLlyPwTyj HbDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pC4EIqDh/2k4QfHSQk4lkvNH/kEKDI9RyvpXo+8JMnk=; b=Zrnk9LM4GqbGS0rK2buQkt7ArV62jtXMEn9X99jozHZk2u3Xnb1hGia1ODWa3Qg7iX G6dOL4GlT6SncpJ5n89tI91G61LkKkXsBDV2Q8j1QNcsKNroURfgSx5jSW4uf3lC0Ze+ y2v5RdcXiaH4/THyXyCO31FDuHOGwNTM0KgtMJuO2m/jGdzdzyccgE2rdJoKHgg93lA1 mQWNj6MNEcEmvK5nE8cAUhTSiRXvNNVXYcijVy004vUqNjBGdRby7jbEX4M2DHIkuJv0 DpiMw8ltkACQVX3Bi0bMrzvtSnde3n4i3unb9ur8jKj0aD2VHp0+qhqvx1BmPU/xA8i8 6y4A== X-Gm-Message-State: AOAM532pK/OwNK5rSn+86IrOhMAqPzjQG8wEuFBuDIixGoi+xGVCCSnZ k4ua+m5gbSXqkACX8rSEMc3+NA== X-Google-Smtp-Source: ABdhPJzKS7kV9XMeU1sky19hyCpIn5ezzTFhW+OQjIcVPz5LsHtQaqxUGS21lp3yojuJ0ZNfCyYQ1g== X-Received: by 2002:a2e:914d:0:b0:256:8a93:2ca8 with SMTP id q13-20020a2e914d000000b002568a932ca8mr508421ljg.502.1654683736997; Wed, 08 Jun 2022 03:22:16 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id v1-20020ac25601000000b00478fe3327aasm3642934lfd.217.2022.06.08.03.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 03:22:16 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Bjorn Helgaas , Stanimir Varbanov , Manivannan Sadhasivam Cc: Vinod Koul , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, Johan Hovold , Johan Hovold Subject: [PATCH v14 6/7] arm64: dts: qcom: sm8250: provide additional MSI interrupts Date: Wed, 8 Jun 2022 13:22:07 +0300 Message-Id: <20220608102208.2967438-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220608102208.2967438-1-dmitry.baryshkov@linaro.org> References: <20220608102208.2967438-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On SM8250 each group of MSI interrupts is mapped to the separate host interrupt. Describe each of interrupts in the device tree for PCIe0 host. Tested on Qualcomm RB5 platform with first group of MSI interrupts being used by the PME and attached ath11k WiFi chip using second group of MSI interrupts. Reviewed-by: Johan Hovold Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 0147fa9ee475..0fa17ccfb0ab 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1808,8 +1808,16 @@ pcie0: pci@1c00000 { ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, <0x02000000 0x0 0x60300000 0 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 */ -- 2.35.1