diff mbox series

[2/3] i2c: stm32f7: add stm32mp15 compatible

Message ID 20200706112653.18951-2-patrick.delaunay@st.com
State Accepted
Commit fb3388cd85c43e6b262d7ea3c897bed42ac3dff8
Headers show
Series [1/3] ARM: dts: rename stm32mp15xx-avenger96 ethernet0_rgmii_pins | expand

Commit Message

Patrick Delaunay July 6, 2020, 11:26 a.m. UTC
Add a new compatible "st,stm32mp15-i2c" introduced in Linux kernel v5.8

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

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

Comments

Heiko Schocher July 7, 2020, 5:17 a.m. UTC | #1
Hello Patrick,

Am 06.07.2020 um 13:26 schrieb Patrick Delaunay:
> Add a new compatible "st,stm32mp15-i2c" introduced in Linux kernel v5.8
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>   drivers/i2c/stm32f7_i2c.c | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
Heiko Schocher July 9, 2020, 8:33 a.m. UTC | #2
Hello Patrick,

Am 06.07.2020 um 13:26 schrieb Patrick Delaunay:
> Add a new compatible "st,stm32mp15-i2c" introduced in Linux kernel v5.8
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
> 
>   drivers/i2c/stm32f7_i2c.c | 1 +
>   1 file changed, 1 insertion(+)

Applied to u-boot-i2c.git master

Thanks!

bye,
Heiko
diff mbox series

Patch

diff --git a/drivers/i2c/stm32f7_i2c.c b/drivers/i2c/stm32f7_i2c.c
index ada8f4095e..593f713d6b 100644
--- a/drivers/i2c/stm32f7_i2c.c
+++ b/drivers/i2c/stm32f7_i2c.c
@@ -873,6 +873,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_setup },
+	{ .compatible = "st,stm32mp15-i2c", .data = (ulong)&stm32f7_setup },
 	{}
 };