devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Amelie Delaunay <amelie.delaunay@st.com>
To: Lee Jones <lee.jones@linaro.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Russell King <linux@armlinux.org.uk>,
	Alexandre Torgue <alexandre.torgue@st.com>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: linux-gpio@vger.kernel.org,
	Amelie Delaunay <amelie.delaunay@st.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: [PATCH 4/6] ARM: dts: stm32: add MFX support on I2C1 on stm32746g-eval
Date: Thu, 8 Feb 2018 15:27:35 +0100	[thread overview]
Message-ID: <1518100057-23234-5-git-send-email-amelie.delaunay@st.com> (raw)
In-Reply-To: <1518100057-23234-1-git-send-email-amelie.delaunay@st.com>

MFX is used as gpio expander on stm32746g-eval.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
 arch/arm/boot/dts/stm32746g-eval.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index e74ae59..99739f7 100644
--- a/arch/arm/boot/dts/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/stm32746g-eval.dts
@@ -128,6 +128,23 @@
 	i2c-scl-rising-time-ns = <185>;
 	i2c-scl-falling-time-ns = <20>;
 	status = "okay";
+
+	mfx: mfx@42 {
+		compatible = "st,mfx";
+		reg = <0x42>;
+		interrupts = <8 1>;
+		interrupt-parent = <&gpioi>;
+		interrupt-controller;
+		#interrupt-cells = <1>;
+
+		mfxgpio: mfx_gpio {
+			compatible = "st,mfx-gpio";
+			interrupts = <0>;
+			interrupt-parent = <&mfx>;
+			gpio-controller;
+			#gpio-cells = <2>;
+		};
+	};
 };
 
 &mac {
-- 
2.7.4

  parent reply	other threads:[~2018-02-08 14:27 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08 14:27 [PATCH 0/6] Introduce STMicroelectronics MultiFunction eXpander Amelie Delaunay
2018-02-08 14:27 ` [PATCH 2/6] mfd: Add ST Multi-Function eXpander core driver Amelie Delaunay
2018-02-12 12:06   ` Lee Jones
2018-02-12 14:15     ` Philippe Ombredanne
2018-02-19 16:00       ` Amelie DELAUNAY
2018-02-19 16:57     ` Amelie DELAUNAY
2018-02-22 13:44   ` Linus Walleij
2018-02-22 15:32     ` Amelie DELAUNAY
2018-02-08 14:27 ` [PATCH 3/6] gpio: Add GPIO support for the ST Multi-Function eXpander Amelie Delaunay
2018-02-14 15:30   ` Andy Shevchenko
2018-02-19 17:13     ` Amelie DELAUNAY
2018-02-22 13:47   ` Linus Walleij
2018-02-22 15:33     ` Amelie DELAUNAY
2018-02-08 14:27 ` Amelie Delaunay [this message]
2018-02-22 13:54   ` [PATCH 4/6] ARM: dts: stm32: add MFX support on I2C1 on stm32746g-eval Linus Walleij
2018-02-22 15:34     ` Amelie DELAUNAY
2018-02-08 14:27 ` [PATCH 5/6] ARM: dts: stm32: add joystick support " Amelie Delaunay
2018-02-22 13:52   ` Linus Walleij
2018-02-22 15:35     ` Amelie DELAUNAY
     [not found] ` <1518100057-23234-1-git-send-email-amelie.delaunay-qxv4g6HH51o@public.gmane.org>
2018-02-08 14:27   ` [PATCH 1/6] dt-bindings: mfd: Add ST Multi-Function eXpander driver Amelie Delaunay
2018-02-18 23:19     ` Rob Herring
2018-02-19 15:59       ` Amelie DELAUNAY
2018-02-22  0:06         ` Rob Herring
2018-02-22 13:22         ` Linus Walleij
2018-02-22 15:15           ` Amelie DELAUNAY
2018-02-22 13:11     ` Linus Walleij
2018-02-22 15:19       ` Amelie DELAUNAY
2018-02-08 14:27   ` [PATCH 6/6] ARM: configs: stm32: enable ST MFX and its GPIO expander feature Amelie Delaunay
2018-02-22 13:06 ` [PATCH 0/6] Introduce STMicroelectronics MultiFunction eXpander Linus Walleij
2018-02-22 15:13   ` Amelie DELAUNAY
2018-03-01 22:28     ` Linus Walleij

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=1518100057-23234-5-git-send-email-amelie.delaunay@st.com \
    --to=amelie.delaunay@st.com \
    --cc=alexandre.torgue@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).