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 DB227CCA47F for ; Mon, 20 Jun 2022 11:20:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241670AbiFTLUg (ORCPT ); Mon, 20 Jun 2022 07:20:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241513AbiFTLU2 (ORCPT ); Mon, 20 Jun 2022 07:20:28 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB69663D9 for ; Mon, 20 Jun 2022 04:20:26 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id d19so11517232lji.10 for ; Mon, 20 Jun 2022 04:20:26 -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=qvgprPeYjc4T6Fuv5W88SGtbkrLVcRbKhLyicrX5AM++o1W/a9uRKu3zVq3HBp+NS8 kzdMc86E5BW3BHI4uXc2qzi9nnxoD5LDjKZu6OA0S/e77WDQzIhat8U5T92lqS6ziQEZ pg+QoMAUzSuQaM91rsZjzjgMNUpLTpWWm7xLuCk+LebB4hv/7VGV0gDcF/7+WBTXpBqa e4QC0/OHaJN/3P7i+fFoyxgg/SDgDLGZYHDeInXQW/I0n8j1ZsWdRYoWxFvcswL0OhdE hGY1fC5F1UJhJYzjbJcrkuUH4cQH5Wagipq4kV1Pi4/XsBFhV1iBOnMrNOHKE9QSkQgG JJYg== 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=Y5LtoYB3ztFNPt1IrCEtJSJehgUTNGlt7CjIQ5lpxdP9pQ71of2VRdoGEnnq6iNC83 CHUResssqegenqPjF+1INwyOceje9MDYtQQXOj54SsyPGB9CXhBSCTe57ixjn6Ry11cG Yml8beFyEzifEX+yQJ8ctBqmt6qUun/xf/9Lmw5vYCOmpSWXykTCVJ5bz57J7CB10Pl7 nWqak3xbTVqWeGsbBUIafe9jTf5yNxtrylyu25kHeTy/PNeZONhgoSapq10hl7ZeZ52l 3VxakEiLhIlEGn/3cCC7n4Xq6/6zDKyhLkyUBaamuibfgiXR7ve25fT+O1mI8qkVwKoP VKQA== X-Gm-Message-State: AJIora/poJ1MTn1nX3x3BA547ATXsx/D/5tjsgvNNBpyJnIsAVdFwWpG i1NHqtd7JromEbgqetWSbvAazg== X-Google-Smtp-Source: AGRyM1vN1vaAuE6DNZ02IPR9GXltrH5BY0uR8B48BlR9k8Ne4mkuKP4wulgWDR5tWYEefLRSt9VY7w== X-Received: by 2002:a2e:bc1a:0:b0:25a:45c0:1848 with SMTP id b26-20020a2ebc1a000000b0025a45c01848mr11970022ljf.255.1655724025215; Mon, 20 Jun 2022 04:20:25 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id o23-20020ac24e97000000b00478f5d3de95sm1727270lfr.120.2022.06.20.04.20.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 04:20:23 -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 v15 6/7] arm64: dts: qcom: sm8250: provide additional MSI interrupts Date: Mon, 20 Jun 2022 14:20:14 +0300 Message-Id: <20220620112015.1600380-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220620112015.1600380-1-dmitry.baryshkov@linaro.org> References: <20220620112015.1600380-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@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