Linux-i2c Archive mirror
 help / color / mirror / Atom feed
From: Alain Volmat <alain.volmat@foss.st.com>
To: Andi Shyti <andi.shyti@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Pierre-Yves MORDRET <pierre-yves.mordret@foss.st.com>,
	Alain Volmat <alain.volmat@foss.st.com>
Cc: Conor Dooley <conor@kernel.org>, <linux-i2c@vger.kernel.org>,
	<devicetree@vger.kernel.org>,
	<linux-stm32@st-md-mailman.stormreply.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>
Subject: [PATCH v3 9/9] arm64: dts: st: add i2c2 / i2c8 properties on stm32mp257f-ev1
Date: Fri, 15 Dec 2023 18:06:13 +0100	[thread overview]
Message-ID: <20231215170617.95868-10-alain.volmat@foss.st.com> (raw)
In-Reply-To: <20231215170617.95868-1-alain.volmat@foss.st.com>

Add properties for i2c2 and i2c8 available on the stm32mp257f-ev1.
i2c2 is enabled since several devices are attached to it while
i2c8 is kept disabled since only used via the gpio expansion connector.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index b2d3afb15758..0ea8e69bfb3d 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -55,6 +55,26 @@ &arm_wdt {
 	status = "okay";
 };
 
+&i2c2 {
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&i2c2_pins_a>;
+	pinctrl-1 = <&i2c2_sleep_pins_a>;
+	i2c-scl-rising-time-ns = <100>;
+	i2c-scl-falling-time-ns = <13>;
+	clock-frequency = <400000>;
+	status = "okay";
+};
+
+&i2c8 {
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&i2c8_pins_a>;
+	pinctrl-1 = <&i2c8_sleep_pins_a>;
+	i2c-scl-rising-time-ns = <57>;
+	i2c-scl-falling-time-ns = <7>;
+	clock-frequency = <400000>;
+	status = "disabled";
+};
+
 &sdmmc1 {
 	pinctrl-names = "default", "opendrain", "sleep";
 	pinctrl-0 = <&sdmmc1_b4_pins_a>;
-- 
2.25.1


  parent reply	other threads:[~2023-12-15 17:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-15 17:06 [PATCH v3 0/9] i2c: stm32f7: enhancements and support for stm32mp25 Alain Volmat
2023-12-15 17:06 ` [PATCH v3 1/9] i2c: stm32f7: use dev_err_probe upon calls of devm_request_irq Alain Volmat
2023-12-22 10:44   ` Wolfram Sang
2023-12-15 17:06 ` [PATCH v3 2/9] i2c: stm32f7: perform most of irq job in threaded handler Alain Volmat
2023-12-22 10:44   ` Wolfram Sang
2023-12-15 17:06 ` [PATCH v3 3/9] i2c: stm32f7: simplify status messages in case of errors Alain Volmat
2023-12-22 10:45   ` Wolfram Sang
2023-12-15 17:06 ` [PATCH v3 4/9] dt-bindings: i2c: document st,stm32mp25-i2c compatible Alain Volmat
2023-12-22 10:45   ` Wolfram Sang
2023-12-15 17:06 ` [PATCH v3 5/9] i2c: stm32f7: perform I2C_ISR read once at beginning of event isr Alain Volmat
2023-12-22 10:45   ` Wolfram Sang
2023-12-15 17:06 ` [PATCH v3 6/9] i2c: stm32f7: add support for stm32mp25 soc Alain Volmat
2023-12-22 10:45   ` Wolfram Sang
2023-12-15 17:06 ` [PATCH v3 7/9] arm64: dts: st: add all 8 i2c nodes on stm32mp251 Alain Volmat
2023-12-15 17:06 ` [PATCH v3 8/9] arm64: dts: st: add i2c2/i2c8 pins for stm32mp25 Alain Volmat
2023-12-15 17:06 ` Alain Volmat [this message]
2024-04-25  8:00 ` [PATCH v3 0/9] i2c: stm32f7: enhancements and support " Alexandre TORGUE

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=20231215170617.95868-10-alain.volmat@foss.st.com \
    --to=alain.volmat@foss.st.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andi.shyti@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=pierre-yves.mordret@foss.st.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 read-only IMAP folder(s) and NNTP newsgroup(s).