From patchwork Wed Nov 10 22:14:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 12692204 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EA89C433EF for ; Wed, 10 Nov 2021 22:17:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4EE6C6112F for ; Wed, 10 Nov 2021 22:17:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4EE6C6112F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DqG4Ts71dwKXeKsnBK+o7XQn5EA6iRtYjSiTx6RSCw8=; b=lf6XwTgnszlINy 2DP2glherhhVoE7nMC45gjZ405jlhk9MEMf2egGAOyZnrHuiJw1vnZMW+JM8JlfrSsgknflMfTCre CqKpXSYQOZvY8nDlTVM+UfJCcNrwEVXNnXEtl1xFPAmm2R9yrJ2ODwzkAfoyxACnVGsWb9tTs5R+8 Vg9w9i3VM0nXLzmfYJ8YW0hH4smhUS3rZqMe0+h9Yv8l2ZJRfUm1igsg6doOPcVoAsN5aqIriKTQf bH4w+hH2zlFYVAo6adFFM/tmPAgdv1cQhhcop3S3L3QE9I6nsd9JqyqyjSIAaeYz+6pBt/kR31Tqn 8bjth3TtzeHQGuzUZyng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkvsZ-006TOY-4R; Wed, 10 Nov 2021 22:15:39 +0000 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkvs4-006TF1-AN; Wed, 10 Nov 2021 22:15:09 +0000 Received: by mail-pl1-x62f.google.com with SMTP id u11so4208746plf.3; Wed, 10 Nov 2021 14:15:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fkZ8oSbM149H4kVEdywu4YO/VDBT9raRSHF6PBOWSzY=; b=MX8Wb8jHc8CNttwYxXJDGsm6mgUi5AQdnGJACRhVrpkcDwkMc4QDp6ZbdanwMk2qfG lU6Z/wWeA474bpBesh1JR3Qktd70hhrhregM08IErKc/xSvqBYuYUJiPW37SSp9iGfFM 29pBHFgg5Y4/jxVAxD/hM6Ut0h117R7Z35JLcxyNK7e3ko/NTw5nz5qmhYbHEDq5P64F BxyS23qDAc3khi/qcs2HSlXLSvzczixbJzl3ywhw1XmYnlhhANFkWQEyJbvG00e7kCRq 3dUb84z/ECZE6j4g50rCQEj2oyUgyFtnyt5yuCLTgqew7GlYtNwD4j2s8zHfFR4eEWvW +qdg== 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; bh=fkZ8oSbM149H4kVEdywu4YO/VDBT9raRSHF6PBOWSzY=; b=g3e+piawjwbRgWOe8C4hhTbT0nCTes7XhTM2JFnPbzAvZ17hNsO4XliLhh8PccKG75 CZd8IXH822DElwSqc23pt+7u+tn1i6UegDnsOMmL7jWqfhvy14276vrExP40Tcs44nMV vB/TFi4oD+aQGDTWN7W0MTjqh16ZW7rmX8Nc2mia4RjycUTivBWoezKmAQ90eBR4Ma76 lfcJ+300YjyK4Oh61UcyanzShOSnZoKdz6bhKndHmNBcJ+3Hue3HgJoLvuduKo7iaRbk l0zNTcga+EeRbEyTddXuvkiFXvImW6TkrqOsqvg/hFs9Rw9j00TBp92lrA83Tn8D75Da v3Ew== X-Gm-Message-State: AOAM533On9RuMBFvpw16XueJmPZ04q4D8dgURLhtE6A7SV6+BqYxtmNO OVLV0j3MF72FkBuT9gPYGLg= X-Google-Smtp-Source: ABdhPJy9hiMvnGtT6AbFDLiDYRtbR/3Df4gjY8OhUycTTE12MmhzG80OFpZCq+MU8r59kRpaStmwMw== X-Received: by 2002:a17:903:32c2:b0:141:eed4:ec1c with SMTP id i2-20020a17090332c200b00141eed4ec1cmr2604938plr.33.1636582507575; Wed, 10 Nov 2021 14:15:07 -0800 (PST) Received: from stbsrv-and-01.and.broadcom.net ([192.19.11.250]) by smtp.gmail.com with ESMTPSA id q11sm611774pfk.192.2021.11.10.14.15.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 14:15:07 -0800 (PST) From: Jim Quinlan To: linux-pci@vger.kernel.org, Bjorn Helgaas , Nicolas Saenz Julienne , Rob Herring , Mark Brown , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: Florian Fainelli , Rob Herring , Saenz Julienne , linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE), linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v8 2/8] dt-bindings: PCI: Correct brcmstb interrupts, interrupt-map. Date: Wed, 10 Nov 2021 17:14:42 -0500 Message-Id: <20211110221456.11977-3-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211110221456.11977-1-jim2101024@gmail.com> References: <20211110221456.11977-1-jim2101024@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211110_141508_410027_94732397 X-CRM114-Status: GOOD ( 10.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The "pcie" and "msi" interrupts were given the same interrupt when they are actually different. Interrupt-map only had the INTA entry; the INTB, INTC, and INTD entries are added. Signed-off-by: Jim Quinlan Acked-by: Florian Fainelli Acked-by: Rob Herring --- Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml index b9589a0daa5c..508e5dce1282 100644 --- a/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/brcm,stb-pcie.yaml @@ -142,11 +142,15 @@ examples: #address-cells = <3>; #size-cells = <2>; #interrupt-cells = <1>; - interrupts = , + interrupts = , ; interrupt-names = "pcie", "msi"; interrupt-map-mask = <0x0 0x0 0x0 0x7>; - interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; + interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH + 0 0 0 2 &gicv2 GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH + 0 0 0 3 &gicv2 GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH + 0 0 0 4 &gicv2 GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; + msi-parent = <&pcie0>; msi-controller; ranges = <0x02000000 0x0 0xf8000000 0x6 0x00000000 0x0 0x04000000>;