Received: by 10.223.176.5 with SMTP id f5csp1020228wra; Tue, 30 Jan 2018 23:43:53 -0800 (PST) X-Google-Smtp-Source: AH8x225xi4CYF95z29P2MvEQ2HJQoY3JlWhtAfecOm6tznKJzP+89g8CMY5HttmqekhhUMAKZm47 X-Received: by 2002:a17:902:6908:: with SMTP id j8-v6mr27506639plk.211.1517384633200; Tue, 30 Jan 2018 23:43:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517384633; cv=none; d=google.com; s=arc-20160816; b=mg7U1LSnDUpkMMe3UKDIx099uT7z/HwGGP/k/GRnpuzldGno3JPAlD6bN8VzVJPcbQ z5+nuJfO65WaA3Go7grYzAtWTnLHc4IMeI3d5B8Vq2NtIfbWhNTCX6gtC16fPU2XsG0m euWj0fQW45C9AvwhBOspOvckac93TleVj8C2+I2khEkqd7yZdvsozKorGI1IhPrU0mkM 6kAWkkbwCBC5Va0Nr2k9we8Z11RykQQstWM/oRe0/1exeWnKFYZPPiWpjUfQewSGAx2a e2jEp9qbbhilEuQQZ2YkIJZ/KYpZnRb5pg1rIv0spzo9QMpepFOJqmG5Y9GcYRTfPwts vVMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=PHQXxlbu46XqfRP9hvC0Lkt4n29feGgYIdpvQUMTKNA=; b=0jjuWn6SE3kskw/kNgEH5gega6Mk+7JJI+2FDduVKBBClT/M87J0gbA5jJP9/OnEnM QBX4dPvlwzKEZ2K84BG/MNLqCLwLHs8BtCbcaP4hjCRS8Mgzn7r5JS5cmccBYtqwQ/4d RlkblGfK76kpsTQvblYrDa1O273AlMNL/u4UCj5P6HRAmiTug+V508NHUcl36W2XxzWC ps7Zn/atLda022NBaO6c31PQ3uLAcvNXsaQo7brNiHNYi1fg23dQEWeSyuBOgoIuNwkg 6jy7wq4+hjHOPFYhOnSKbfS9EwhgkadYWB0NhWf/CDsqWr51YK9yXQaGPB1ITqYWcln8 pWLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x7si1916679pgr.525.2018.01.30.23.43.38; Tue, 30 Jan 2018 23:43:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752907AbeAaHmE (ORCPT + 99 others); Wed, 31 Jan 2018 02:42:04 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:18693 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752616AbeAaHmB (ORCPT ); Wed, 31 Jan 2018 02:42:01 -0500 X-UUID: a0d32eb17ae54b5a908ed94a915d199b-20180131 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 10352850; Wed, 31 Jan 2018 15:41:55 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 31 Jan 2018 15:41:54 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 31 Jan 2018 15:41:54 +0800 From: Ryder Lee To: Arnd Bergmann , Rob Herring , Bjorn Helgaas CC: Frank Rowand , Benjamin Herrenschmidt , Lorenzo Pieralisi , , , , , , Ryder Lee Subject: [PATCH 2/2] dt-bindings: PCI: MediaTek: Correct the interrupt-map properties Date: Wed, 31 Jan 2018 15:41:50 +0800 Message-ID: <9d247a4fba54ba90d07df32fd89a8bb2c8bdb0f9.1516961656.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <31c765c53e85e41bfc001d110d69e46c9967f4e7.1516961656.git.ryder.lee@mediatek.com> References: <31c765c53e85e41bfc001d110d69e46c9967f4e7.1516961656.git.ryder.lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the interrupt-map properties from the child nodes to the root node and update each entry accordingly. Signed-off-by: Ryder Lee --- .../devicetree/bindings/pci/mediatek-pcie.txt | 28 ++++++++++++---------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie.txt b/Documentation/devicetree/bindings/pci/mediatek-pcie.txt index 3a6ce55..b15ea2d 100644 --- a/Documentation/devicetree/bindings/pci/mediatek-pcie.txt +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie.txt @@ -89,10 +89,21 @@ Examples for MT7623: #address-cells = <3>; #size-cells = <2>; #interrupt-cells = <1>; - interrupt-map-mask = <0xf800 0 0 0>; - interrupt-map = <0x0000 0 0 0 &sysirq GIC_SPI 193 IRQ_TYPE_LEVEL_LOW>, - <0x0800 0 0 0 &sysirq GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>, - <0x1000 0 0 0 &sysirq GIC_SPI 195 IRQ_TYPE_LEVEL_LOW>; + interrupt-map-mask = <0xf800 0 0 7>; + interrupt-map = <0x0000 0 0 1 &sysirq GIC_SPI 193 IRQ_TYPE_LEVEL_LOW + 0x0000 0 0 2 &sysirq GIC_SPI 193 IRQ_TYPE_LEVEL_LOW + 0x0000 0 0 3 &sysirq GIC_SPI 193 IRQ_TYPE_LEVEL_LOW + 0x0000 0 0 4 &sysirq GIC_SPI 193 IRQ_TYPE_LEVEL_LOW + + 0x0800 0 0 1 &sysirq GIC_SPI 194 IRQ_TYPE_LEVEL_LOW + 0x0800 0 0 2 &sysirq GIC_SPI 194 IRQ_TYPE_LEVEL_LOW + 0x0800 0 0 3 &sysirq GIC_SPI 194 IRQ_TYPE_LEVEL_LOW + 0x0800 0 0 4 &sysirq GIC_SPI 194 IRQ_TYPE_LEVEL_LOW + + 0x1000 0 0 1 &sysirq GIC_SPI 195 IRQ_TYPE_LEVEL_LOW + 0x1000 0 0 2 &sysirq GIC_SPI 195 IRQ_TYPE_LEVEL_LOW + 0x1000 0 0 3 &sysirq GIC_SPI 195 IRQ_TYPE_LEVEL_LOW + 0x1000 0 0 4 &sysirq GIC_SPI 195 IRQ_TYPE_LEVEL_LOW>; clocks = <&topckgen CLK_TOP_ETHIF_SEL>, <&hifsys CLK_HIFSYS_PCIE0>, <&hifsys CLK_HIFSYS_PCIE1>, @@ -115,9 +126,6 @@ Examples for MT7623: reg = <0x0000 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &sysirq GIC_SPI 193 IRQ_TYPE_LEVEL_LOW>; ranges; num-lanes = <1>; }; @@ -127,9 +135,6 @@ Examples for MT7623: reg = <0x0800 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &sysirq GIC_SPI 194 IRQ_TYPE_LEVEL_LOW>; ranges; num-lanes = <1>; }; @@ -139,9 +144,6 @@ Examples for MT7623: reg = <0x1000 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; - #interrupt-cells = <1>; - interrupt-map-mask = <0 0 0 0>; - interrupt-map = <0 0 0 0 &sysirq GIC_SPI 195 IRQ_TYPE_LEVEL_LOW>; ranges; num-lanes = <1>; }; -- 1.9.1