From patchwork Tue Jul 25 15:55:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 9862465 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CE857601A1 for ; Tue, 25 Jul 2017 15:57:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDCDF286F4 for ; Tue, 25 Jul 2017 15:57:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B2A29286F7; Tue, 25 Jul 2017 15:57:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4A234286F4 for ; Tue, 25 Jul 2017 15:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=vBYyOSp9BiZoA1w+6xiEiOEW1rzN4483Y0iUyzd0oXM=; b=Ay4823BBV4wrDejHR2d3VvI4MV cWBvq7m44XewK9sy9sXruSvPyaMJf2dQ8Eo9uB2SWuZ9CuTMRjTr+2avT6kw0db+6ucNdeaCOAszZ gERn6WnEANIrM2aIm1PyLKS/tsFEk2DhSeZ045jEJtR4oUUAef5rnNvMjJwg26cgDNiC0VYYkq9OZ MsMTdQ4akqaw1JIJ7hp2U/juIF2ew9Syf44YQ/VIoEOqQ0dwkdjQCyUf6xix1HfdphiWT+FkEpAh6 oYu1eV1yagYtHD3R/2bk2S58ax5dVGd2Q0vsu0DAKvsYfzRSi60S+gr2uHH4UILk2rsHtBlGWVu1e 2HwzcM9A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1da2Ci-0003pX-5d; Tue, 25 Jul 2017 15:57:00 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1da2C0-00035N-7z for linux-arm-kernel@bombadil.infradead.org; Tue, 25 Jul 2017 15:56:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/tWtXeIcq41dpBHgSw3L3qBVTtPuf3wQJEpG4qlo71Y=; b=b9Ut7EUriqvQh6kF90fTNLkpm gQsNDcdOOOoHypBMrcpJhQPiu3pbNGEBn536dD9+eUULJCstlQ7m3XeqG8dnpaFm35r3e/sw6LqaL WTi5gBqqFD0LUYolUjKnwsvL8QIhNHltG/J3SBviC9P5KANEVy/7hqLFyETFnufCH2ceQB+CRarrs Ytokb/jWFLGWkLdmXJQGZ0yT4Fal8EQ1MKLp6dDkPhfhcCjrMPYCbGufzmC56e1ovuHlsA34M+/eZ DfeNweg1O6cq/7hKJdesHeriYtWY+p8WdRJH/Gqv0zAqD03+M5M0a4jkuIk8VItEMH80/x3fE09VW 1UoOT9ejQ==; Received: from mail.free-electrons.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1da2Bx-00014H-K5 for linux-arm-kernel@lists.infradead.org; Tue, 25 Jul 2017 15:56:14 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id 833EF208FD; Tue, 25 Jul 2017 17:55:38 +0200 (CEST) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 52BEA21DFE; Tue, 25 Jul 2017 17:55:20 +0200 (CEST) From: Thomas Petazzoni To: netdev@vger.kernel.org, "David S. Miller" Subject: [PATCH 7/8] dt-bindings: net: marvell-pp2: update interrupt-names with TX interrupts Date: Tue, 25 Jul 2017 17:55:08 +0200 Message-Id: <20170725155509.10574-8-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170725155509.10574-1-thomas.petazzoni@free-electrons.com> References: <20170725155509.10574-1-thomas.petazzoni@free-electrons.com> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Andrew Lunn , Yehuda Yitschak , Russell King , Jason Cooper , Antoine Tenart , Nadav Haklai , =?UTF-8?q?Miqu=C3=A8l=20Raynal?= , Gregory Clement , Stefan Chulski , Marcin Wojtas , Hanna Hawa , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The PPv2.2 unit has several interrupts used for TX completion notification. This commit updates the Device Tree binding describing this HW block to mention such interrupts. While at it, we update the example to use a recent Device Tree example, that uses interrupts going through the ICU, and not to the GIC directly. Signed-off-by: Thomas Petazzoni --- .../devicetree/bindings/net/marvell-pp2.txt | 33 +++++++++++++++++----- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/net/marvell-pp2.txt b/Documentation/devicetree/bindings/net/marvell-pp2.txt index 553aadc..80c4d14 100644 --- a/Documentation/devicetree/bindings/net/marvell-pp2.txt +++ b/Documentation/devicetree/bindings/net/marvell-pp2.txt @@ -44,7 +44,8 @@ Optional properties (port): - marvell,system-controller: a phandle to the system controller. - interrupt-names: if more than a single interrupt for rx is given, must be the name associated to the interrupts listed. Valid - names are: "rx-shared", "link". + names are: "tx-cpu0", "tx-cpu1", "tx-cpu2", "tx-cpu3", + "rx-shared", "link". Example for marvell,armada-375-pp2: @@ -84,22 +85,40 @@ cpm_ethernet: ethernet@0 { clock-names = "pp_clk", "gop_clk", "gp_clk"; eth0: eth0 { - interrupts = ; - interrupt-names = "rx-shared"; + interrupts = , + , + , + , + , + ; + interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2", + "tx-cpu3", "rx-shared", "link"; port-id = <0>; gop-port-id = <0>; }; eth1: eth1 { - interrupts = ; - interrupt-names = "rx-shared"; + interrupts = , + , + , + , + , + ; + interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2", + "tx-cpu3", "rx-shared", "link"; port-id = <1>; gop-port-id = <2>; }; eth2: eth2 { - interrupts = ; - interrupt-names = "rx-shared"; + interrupts = , + , + , + , + , + ; + interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2", + "tx-cpu3", "rx-shared", "link"; port-id = <2>; gop-port-id = <3>; };