From patchwork Wed Nov 3 18:49:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Quinlan X-Patchwork-Id: 12601471 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 AB9ABC433EF for ; Wed, 3 Nov 2021 18:51:42 +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 773C760E78 for ; Wed, 3 Nov 2021 18:51:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 773C760E78 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=CzSbxx66TOAuJt WQT2iaG2wxfm03q9Zlh7JfcfZw42dQV4dvtBgLU/RBmCjgSk4tZv1la+zD8SiDmuoeu6bTPa5jR9H S9KF15RHoxL6dBiv3Zdy1/isycouRwG7w8vZfo3uJDJdCaixzGbRvlY4I6Rwyefw5UpjFuzu+cOiA /g3l0wDbLlve6qpBryC/5v5FBqP9Nw7sEanpZLcfhzYVRwae1mqM1rPlPZT6loqZcp+TXqBfPB6/i 9beMuKn7gq0tU18qyYI2Tr5sNug3rXXpFHpallkPJADnAYs47dvlMSU1iurr0nQVrByIB7atfYscT VjojLRiJUXJABbbgcFWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1miLKm-006HJd-L2; Wed, 03 Nov 2021 18:50:04 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1miLKb-006HE7-3Z; Wed, 03 Nov 2021 18:49:54 +0000 Received: by mail-pl1-x634.google.com with SMTP id t11so3064304plq.11; Wed, 03 Nov 2021 11:49:48 -0700 (PDT) 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=QPcXBNaGfBEelci/AS0Wcr0RcxzQXFao6D7dU4xdP8ITMYC6PES+VET4jqDflNtCYB hCKgbQnPc0929uMMXzwdO2+7lJV1Kq9bp0kjmQDNxhQ+0BYsEPjdEydMRAivLO5BD+Ag DlraZc6+N664tQKk502lx/7cNWjrhz75imYhNdgtDwr2nFlGxdflXUtOedOaUsczWGoq vKdR5HP0Ho6N2OZy1sIHBRwvyma9apE+u1D6H2r1Wj2mTDY4lvFh+RitaXqZZ8Q8lKXN 4ZMp7q0u7tI7CfD1U0bS8OkwlR9aSyeGxXBfjszTUNxaWyAwiK4eQp4lI1XvdxV5UZbd p3yw== 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=UEXQE4lpTGgIyQxCfqbj9F1+UzGSSMpitmXACgcqzN+OYbifxLL54d/yoAy3pisBDX 4hfaUiuJYbIFxmgHZb/Pw8mHkDnDH0NE2EqfNb/msFcEKc5xP3VLTvnLftys/ossKNsT FRygxScu6pZvSXWveDTcttZ98yWVdDqMGCNKkOYgW0LijliQFHAY2hS5YON6NAA9jv0o EYQbqnebujJ32Ehjn0zmHdyjVom0RX3I2I4wdlecc6RbqUkLg23C6NfvDZ7aGvE6kgLE XMgBWvtnfjIiMA7Fs71oyVjgSNUJSupggvzPx/6l6EarrNb9A/h3XybAaf0ruBPtaB7r B7Aw== X-Gm-Message-State: AOAM530r2adt2DQ8DENqxBTBG8kZDXjYS1VHgdoU9I+fQQc9/VdG84nH azTMyqR0Fk2k3iYj3eyMzhw= X-Google-Smtp-Source: ABdhPJxcijKpuPZtOgucEvRV6NRFccIYE07lEYWuGVuVxbWcFnVaelAhB7GpMip/bz0eb+SsA1xcXw== X-Received: by 2002:a17:902:e849:b0:142:c85:4d3d with SMTP id t9-20020a170902e84900b001420c854d3dmr11979537plg.75.1635965388447; Wed, 03 Nov 2021 11:49:48 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.11.250]) by smtp.gmail.com with ESMTPSA id j6sm2379065pgq.0.2021.11.03.11.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 11:49:47 -0700 (PDT) From: Jim Quinlan To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Rob Herring , Mark Brown , bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: Florian Fainelli , Bjorn Helgaas , 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 v7 1/7] dt-bindings: PCI: Correct brcmstb interrupts, interrupt-map. Date: Wed, 3 Nov 2021 14:49:31 -0400 Message-Id: <20211103184939.45263-2-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211103184939.45263-1-jim2101024@gmail.com> References: <20211103184939.45263-1-jim2101024@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211103_114953_171387_9F0CBEDD X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. 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>;