From 9d2cbf6217ed8605c960184db6dd803505cc597f Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Tue, 16 Apr 2024 01:32:38 +0200 Subject: [PATCH] samples: subsys: fs: stm:32 fix misuse of zephyr,sdmmc-disk compatible "zephyr,sdmmc-disk" compatible stands for binding with sdmmc subsys which is not compatible and not used with current STM32 sdmmc driver. Declaring this compatible is a no op on STM32, so remove it. Signed-off-by: Erwan Gouriou --- boards/weact/mini_stm32h743/mini_stm32h743.dts | 5 ----- .../boards/stm32h747i_disco_stm32h747xx_m7.overlay | 11 ----------- .../fs/littlefs/boards/stm32f746g_disco.overlay | 6 ------ .../boards/stm32h747i_disco_stm32h747xx_m7.overlay | 6 ------ 4 files changed, 28 deletions(-) delete mode 100644 samples/subsys/fs/fs_sample/boards/stm32h747i_disco_stm32h747xx_m7.overlay diff --git a/boards/weact/mini_stm32h743/mini_stm32h743.dts b/boards/weact/mini_stm32h743/mini_stm32h743.dts index 0f604ea398..9aa6dcffc1 100644 --- a/boards/weact/mini_stm32h743/mini_stm32h743.dts +++ b/boards/weact/mini_stm32h743/mini_stm32h743.dts @@ -88,11 +88,6 @@ pinctrl-names = "default"; cd-gpios = <&gpiod 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; status = "okay"; - - sdmmc { - compatible = "zephyr,sdmmc-disk"; - status = "okay"; - }; }; zephyr_udc0: &usbotg_fs { diff --git a/samples/subsys/fs/fs_sample/boards/stm32h747i_disco_stm32h747xx_m7.overlay b/samples/subsys/fs/fs_sample/boards/stm32h747i_disco_stm32h747xx_m7.overlay deleted file mode 100644 index d80aa5114f..0000000000 --- a/samples/subsys/fs/fs_sample/boards/stm32h747i_disco_stm32h747xx_m7.overlay +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright (c) 2023 S&C Electric Company - * - * SPDX-License-Identifier: Apache-2.0 - */ - -&sdmmc1 { - sdmmc { - compatible = "zephyr,sdmmc-disk"; - }; -}; diff --git a/samples/subsys/fs/littlefs/boards/stm32f746g_disco.overlay b/samples/subsys/fs/littlefs/boards/stm32f746g_disco.overlay index 66f9ebb367..7626b92985 100644 --- a/samples/subsys/fs/littlefs/boards/stm32f746g_disco.overlay +++ b/samples/subsys/fs/littlefs/boards/stm32f746g_disco.overlay @@ -4,12 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -&sdmmc1 { - sdmmc { - compatible = "zephyr,sdmmc-disk"; - }; -}; - / { fstab { compatible = "zephyr,fstab"; diff --git a/samples/subsys/fs/littlefs/boards/stm32h747i_disco_stm32h747xx_m7.overlay b/samples/subsys/fs/littlefs/boards/stm32h747i_disco_stm32h747xx_m7.overlay index 7479fac125..b3f1639b39 100644 --- a/samples/subsys/fs/littlefs/boards/stm32h747i_disco_stm32h747xx_m7.overlay +++ b/samples/subsys/fs/littlefs/boards/stm32h747i_disco_stm32h747xx_m7.overlay @@ -5,12 +5,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -&sdmmc1 { - sdmmc { - compatible = "zephyr,sdmmc-disk"; - }; -}; - / { fstab { compatible = "zephyr,fstab";