From: gregory.clement@bootlin.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] arm64: dts: marvell: armada-37xx: mark the gpio controllers as irq controller
Date: Fri, 23 Mar 2018 17:34:38 +0100 [thread overview]
Message-ID: <87zi2yvjhd.fsf@bootlin.com> (raw)
In-Reply-To: <20180321105005.18426-1-u.kleine-koenig@pengutronix.de> ("Uwe Kleine-König"'s message of "Wed, 21 Mar 2018 11:50:03 +0100")
Hi Uwe,
On mer., mars 21 2018, Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de> wrote:
> This allows to reference these gpio controller as interrupt parent. Also
> add a comment which cpu line names are managed by the controllers
> because "nb" and "sb" usually doesn't appear in schematics, but MPPX_Y
> do.
>
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
Applied on mvebu/dt-for-4.18 (I wonders why I didn't updated the dtsi
earlier...)
Thanks,
Gregory
> ---
> arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> index 375026867342..6a96404e7c88 100644
> --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
> @@ -184,10 +184,13 @@
> compatible = "marvell,armada3710-nb-pinctrl",
> "syscon", "simple-mfd";
> reg = <0x13800 0x100>, <0x13C00 0x20>;
> + /* MPP1[19:0] */
> gpionb: gpio {
> #gpio-cells = <2>;
> gpio-ranges = <&pinctrl_nb 0 0 36>;
> gpio-controller;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> interrupts =
> <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>,
> <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
> @@ -245,10 +248,13 @@
> compatible = "marvell,armada3710-sb-pinctrl",
> "syscon", "simple-mfd";
> reg = <0x18800 0x100>, <0x18C00 0x20>;
> + /* MPP2[23:0] */
> gpiosb: gpio {
> #gpio-cells = <2>;
> gpio-ranges = <&pinctrl_sb 0 0 30>;
> gpio-controller;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> interrupts =
> <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
> <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
> --
> 2.16.2
>
--
Gregory Clement, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
prev parent reply other threads:[~2018-03-23 16:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-21 10:50 [PATCH 1/3] arm64: dts: marvell: armada-37xx: mark the gpio controllers as irq controller Uwe Kleine-König
2018-03-21 10:50 ` [PATCH 2/3] arm64: dts: armada-3720-espressobin: make use of switch irq line Uwe Kleine-König
2018-03-21 13:15 ` Andrew Lunn
2018-03-21 13:23 ` Uwe Kleine-König
2018-03-21 13:29 ` Andrew Lunn
2018-03-21 10:50 ` [PATCH 3/3] arm64: dts: armada-3720-espressobin: wire up LED2 Uwe Kleine-König
2018-03-21 13:19 ` Andrew Lunn
2018-03-21 14:06 ` Uwe Kleine-König
2020-08-28 18:39 ` Pali Rohár
2018-03-24 21:08 ` Gregory CLEMENT
2018-03-21 13:23 ` [PATCH 1/3] arm64: dts: marvell: armada-37xx: mark the gpio controllers as irq controller Andrew Lunn
2018-03-23 16:34 ` Gregory CLEMENT [this message]
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=87zi2yvjhd.fsf@bootlin.com \
--to=gregory.clement@bootlin.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.