All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 01/10] i2c: stm32: add support for the st,stm32mp13 SOC
@ 2022-06-30  8:20 Patrick Delaunay
  2022-06-30  8:20 ` [PATCH v2 02/10] rng: stm32mp1_rng: add conditional reset feature for STM32MP13x Patrick Delaunay
                   ` (10 more replies)
  0 siblings, 11 replies; 21+ messages in thread
From: Patrick Delaunay @ 2022-06-30  8:20 UTC (permalink / raw)
  To: u-boot; +Cc: Patrick Delaunay, Heiko Schocher, Patrice Chotard, U-Boot STM32

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


^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-07-13 11:13 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30  8:20 [PATCH v2 01/10] i2c: stm32: add support for the st,stm32mp13 SOC Patrick Delaunay
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

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.