All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Delaunay <patrick.delaunay@foss.st.com>
To: <u-boot@lists.denx.de>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>,
	Heiko Schocher <hs@denx.de>,
	Patrice Chotard <patrice.chotard@foss.st.com>,
	U-Boot STM32 <uboot-stm32@st-md-mailman.stormreply.com>
Subject: [PATCH v2 01/10] i2c: stm32: add support for the st,stm32mp13 SOC
Date: Thu, 30 Jun 2022 10:20:14 +0200	[thread overview]
Message-ID: <20220630101930.v2.1.I32e861dc46886c23a866443be2bace22d86ae24e@changeid> (raw)

The stm32mp13 soc differs from the stm32mp15 in terms of
clear register offset for controlling the FMP (Fast Mode Plus).

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

(no changes since v1)

 drivers/i2c/stm32f7_i2c.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c
index c6ae65badb7..bf2a6c9b4bd 100644
--- a/drivers/i2c/stm32f7_i2c.c
+++ b/drivers/i2c/stm32f7_i2c.c
@@ -267,6 +267,10 @@ static const struct stm32_i2c_data stm32mp15_data = {
 	.fmp_clr_offset = 0x40,
 };
 
+static const struct stm32_i2c_data stm32mp13_data = {
+	.fmp_clr_offset = 0x4,
+};
+
 static int stm32_i2c_check_device_busy(struct stm32_i2c_priv *i2c_priv)
 {
 	struct stm32_i2c_regs *regs = i2c_priv->regs;
@@ -957,6 +961,7 @@ static const struct dm_i2c_ops stm32_i2c_ops = {
 static const struct udevice_id stm32_i2c_of_match[] = {
 	{ .compatible = "st,stm32f7-i2c", .data = (ulong)&stm32f7_data },
 	{ .compatible = "st,stm32mp15-i2c", .data = (ulong)&stm32mp15_data },
+	{ .compatible = "st,stm32mp13-i2c", .data = (ulong)&stm32mp13_data },
 	{}
 };
 
-- 
2.25.1


             reply	other threads:[~2022-06-30  8:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-30  8:20 Patrick Delaunay [this message]
2022-06-30  8:20 ` [PATCH v2 02/10] rng: stm32mp1_rng: add conditional reset feature for STM32MP13x Patrick Delaunay
2022-07-07  7:36   ` Patrice CHOTARD
2022-06-30  8:20 ` [PATCH v2 03/10] stm32mp: add support of STM32MP13x Rev.Y Patrick Delaunay
2022-07-07  7:38   ` Patrice CHOTARD
2022-06-30  8:20 ` [PATCH v2 04/10] ARM: dts: stm32mp13: alignment with v5.19 Patrick Delaunay
2022-07-07  7:38   ` Patrice CHOTARD
2022-06-30  8:20 ` [PATCH v2 05/10] ARM: dts: stm32mp13: activate led on STM32MP13F-DK Patrick Delaunay
2022-07-07  7:39   ` Patrice CHOTARD
2022-06-30  8:20 ` [PATCH v2 06/10] configs: stm32mp13: Add support for baudrates higher than 115200 Patrick Delaunay
2022-07-07  7:39   ` Patrice CHOTARD
2022-06-30  8:20 ` [PATCH v2 07/10] configs: stm32mp13: activate RNG support Patrick Delaunay
2022-07-07  7:40   ` Patrice CHOTARD
2022-06-30  8:20 ` [PATCH v2 08/10] configs: stm32mp13: activate RTC support Patrick Delaunay
2022-07-07  7:40   ` Patrice CHOTARD
2022-06-30  8:20 ` [PATCH v2 09/10] configs: stm32mp13: activate I2C support Patrick Delaunay
2022-07-07  7:40   ` Patrice CHOTARD
2022-06-30  8:20 ` [PATCH v2 10/10] configs: stm32mp13: activate some command Patrick Delaunay
2022-07-07  7:40   ` Patrice CHOTARD
2022-07-07  7:28 ` [PATCH v2 01/10] i2c: stm32: add support for the st, stm32mp13 SOC Patrice CHOTARD
2022-07-13 11:12 ` Patrick Delaunay

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=20220630101930.v2.1.I32e861dc46886c23a866443be2bace22d86ae24e@changeid \
    --to=patrick.delaunay@foss.st.com \
    --cc=hs@denx.de \
    --cc=patrice.chotard@foss.st.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    /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.