]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
i2c: stm32f7: add stm32mp15 compatible
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 6 Jul 2020 11:26:52 +0000 (13:26 +0200)
committerHeiko Schocher <hs@denx.de>
Thu, 9 Jul 2020 04:02:45 +0000 (06:02 +0200)
Add a new compatible "st,stm32mp15-i2c" introduced in Linux kernel v5.8

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/stm32f7_i2c.c

index ada8f4095eda891bd14fd64a276a5a22687604f9..593f713d6bb30a9f4fda7172086e6422d4975b6a 100644 (file)
@@ -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 },
        {}
 };