All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/10] i2c: stm32: add support for the st,stm32mp13 SOC
@ 2022-06-30  8:16 Patrick Delaunay
  2022-06-30  8:16 ` [PATCH 02/10] rng: stm32mp1_rng: add conditional reset feature for STM32MP13x Patrick Delaunay
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Patrick Delaunay @ 2022-06-30  8:16 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] 12+ messages in thread
* [PATCH 01/10] i2c: stm32: add support for the st,stm32mp13 SOC
@ 2022-06-20  9:17 Patrick Delaunay
  2022-06-20  9:17 ` [PATCH 02/10] rng: stm32mp1_rng: add conditional reset feature for STM32MP13x Patrick Delaunay
  0 siblings, 1 reply; 12+ messages in thread
From: Patrick Delaunay @ 2022-06-20  9:17 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>
---

 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] 12+ messages in thread

end of thread, other threads:[~2022-06-30  8:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30  8:16 [PATCH 01/10] i2c: stm32: add support for the st,stm32mp13 SOC Patrick Delaunay
2022-06-30  8:16 ` [PATCH 02/10] rng: stm32mp1_rng: add conditional reset feature for STM32MP13x Patrick Delaunay
2022-06-30  8:16 ` [PATCH 03/10] stm32mp: add support of STM32MP13x Rev.Y Patrick Delaunay
2022-06-30  8:26   ` Patrick DELAUNAY
2022-06-30  8:16 ` [PATCH 04/10] ARM: dts: stm32mp13: alignment with v5.19 Patrick Delaunay
2022-06-30  8:16 ` [PATCH 05/10] ARM: dts: stm32mp13: activate led on STM32MP13F-DK Patrick Delaunay
2022-06-30  8:16 ` [PATCH 06/10] configs: stm32mp13: Add support for baudrates higher than 115200 Patrick Delaunay
2022-06-30  8:16 ` [PATCH 07/10] configs: stm32mp13: activate RNG support Patrick Delaunay
2022-06-30  8:16 ` [PATCH 08/10] configs: stm32mp13: activate RTC support Patrick Delaunay
2022-06-30  8:16 ` [PATCH 09/10] configs: stm32mp13: activate I2C support Patrick Delaunay
2022-06-30  8:16 ` [PATCH 10/10] configs: stm32mp13: activate some command Patrick Delaunay
  -- strict thread matches above, loose matches on Subject: below --
2022-06-20  9:17 [PATCH 01/10] i2c: stm32: add support for the st,stm32mp13 SOC Patrick Delaunay
2022-06-20  9:17 ` [PATCH 02/10] rng: stm32mp1_rng: add conditional reset feature for STM32MP13x 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.