From: gregory.clement@free-electrons•com (Gregory CLEMENT)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 7/9] arm64: dts: marvell: cp110: add PPv2 port interrupts
Date: Wed, 20 Sep 2017 14:47:57 +0200 [thread overview]
Message-ID: <87lgl9pmde.fsf@free-electrons.com> (raw)
In-Reply-To: <20170918075814.27405-8-antoine.tenart@free-electrons.com> (Antoine Tenart's message of "Mon, 18 Sep 2017 09:58:12 +0200")
Hi Antoine,
On lun., sept. 18 2017, Antoine Tenart <antoine.tenart@free-electrons•com> wrote:
> Ports interrupts are used by the PPv2 driver when no PHY is connected to
> a port. This patch adds a description of these interrupts.
>
> Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons•com>
> Tested-by: Marcin Wojtas <mw@semihalf•com>
Applied on mvebu/dt64
Thanks,
Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 15 +++++++++------
> arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 15 +++++++++------
> 2 files changed, 18 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> index a26948ff72b4..b1119c541f16 100644
> --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
> @@ -74,9 +74,10 @@
> <ICU_GRP_NSR 43 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 47 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 51 IRQ_TYPE_LEVEL_HIGH>,
> - <ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH>;
> + <ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH>,
> + <ICU_GRP_NSR 129 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
> - "tx-cpu3", "rx-shared";
> + "tx-cpu3", "rx-shared", "link";
> port-id = <0>;
> gop-port-id = <0>;
> status = "disabled";
> @@ -87,9 +88,10 @@
> <ICU_GRP_NSR 44 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 48 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 52 IRQ_TYPE_LEVEL_HIGH>,
> - <ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH>;
> + <ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH>,
> + <ICU_GRP_NSR 128 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
> - "tx-cpu3", "rx-shared";
> + "tx-cpu3", "rx-shared", "link";
> port-id = <1>;
> gop-port-id = <2>;
> status = "disabled";
> @@ -100,9 +102,10 @@
> <ICU_GRP_NSR 45 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 49 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 53 IRQ_TYPE_LEVEL_HIGH>,
> - <ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH>;
> + <ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH>,
> + <ICU_GRP_NSR 127 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
> - "tx-cpu3", "rx-shared";
> + "tx-cpu3", "rx-shared", "link";
> port-id = <2>;
> gop-port-id = <3>;
> status = "disabled";
> diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> index fe326074edb6..497d233d6c47 100644
> --- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
> @@ -74,9 +74,10 @@
> <ICU_GRP_NSR 43 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 47 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 51 IRQ_TYPE_LEVEL_HIGH>,
> - <ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH>;
> + <ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH>,
> + <ICU_GRP_NSR 129 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
> - "tx-cpu3", "rx-shared";
> + "tx-cpu3", "rx-shared", "link";
> port-id = <0>;
> gop-port-id = <0>;
> status = "disabled";
> @@ -87,9 +88,10 @@
> <ICU_GRP_NSR 44 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 48 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 52 IRQ_TYPE_LEVEL_HIGH>,
> - <ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH>;
> + <ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH>,
> + <ICU_GRP_NSR 128 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
> - "tx-cpu3", "rx-shared";
> + "tx-cpu3", "rx-shared", "link";
> port-id = <1>;
> gop-port-id = <2>;
> status = "disabled";
> @@ -100,9 +102,10 @@
> <ICU_GRP_NSR 45 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 49 IRQ_TYPE_LEVEL_HIGH>,
> <ICU_GRP_NSR 53 IRQ_TYPE_LEVEL_HIGH>,
> - <ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH>;
> + <ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH>,
> + <ICU_GRP_NSR 127 IRQ_TYPE_LEVEL_HIGH>;
> interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2",
> - "tx-cpu3", "rx-shared";
> + "tx-cpu3", "rx-shared", "link";
> port-id = <2>;
> gop-port-id = <3>;
> status = "disabled";
> --
> 2.13.5
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2017-09-20 12:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 7:58 [PATCH 0/9] arm64: marvell: 7k/8k: improve network support Antoine Tenart
2017-09-18 7:58 ` [PATCH 1/9] arm64: defconfig: enable the Marvell 10G PHY as a module Antoine Tenart
2017-09-20 12:30 ` Gregory CLEMENT
2017-09-18 7:58 ` [PATCH 2/9] arm64: defconfig: enable Marvell CP110 comphy Antoine Tenart
2017-09-20 12:31 ` Gregory CLEMENT
2017-09-18 7:58 ` [PATCH 3/9] arm64: dts: marvell: extend the cp110 syscon register area length Antoine Tenart
2017-09-20 12:46 ` Gregory CLEMENT
2017-09-18 7:58 ` [PATCH 4/9] arm64: dts: marvell: add comphy nodes on cp110 master and slave Antoine Tenart
2017-09-20 12:47 ` Gregory CLEMENT
2017-09-18 7:58 ` [PATCH 5/9] arm64: dts: marvell: mcbin: add comphy references to Ethernet ports Antoine Tenart
2017-09-18 8:50 ` Baruch Siach
2017-09-18 9:44 ` Antoine Tenart
2017-09-18 13:04 ` Andrew Lunn
2017-09-18 13:52 ` Antoine Tenart
2017-09-18 16:32 ` Andrew Lunn
2017-09-18 7:58 ` [PATCH 6/9] arm64: dts: marvell: 7040-db: add comphy reference to Ethernet port Antoine Tenart
2017-09-18 7:58 ` [PATCH 7/9] arm64: dts: marvell: cp110: add PPv2 port interrupts Antoine Tenart
2017-09-20 12:47 ` Gregory CLEMENT [this message]
2017-09-18 7:58 ` [PATCH 8/9] arm64: dts: marvell: 7040-db: enable the SFP port Antoine Tenart
2017-09-18 7:58 ` [PATCH 9/9] arm64: dts: marvell: 8040-db: enable the SFP ports Antoine Tenart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lgl9pmde.fsf@free-electrons.com \
--to=gregory.clement@free-electrons$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox