Skip to content

Commit a1dc0b8

Browse files
danieldegrassemmahadevan108
authored andcommitted
drivers: disk: sdmmc_subsys: remove CONFIG_SDMMC_VOLUME_NAME
Remove CONFIG_SDMMC_VOLUME_NAME, and set the disk name based on the ``disk-name`` property. This aligns with other disk drivers, and allows for multiple instances of the sdmmc_subsys disk driver to be registered. Add disk-name properties for all in tree definitions for the sdmmc-subsys disk driver, and change all in tree usage of the disk name Fixes #75004 Signed-off-by: Daniel DeGrasse <[email protected]>
1 parent 87bb0b9 commit a1dc0b8

File tree

58 files changed

+77
-40
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+77
-40
lines changed

boards/adafruit/grand_central_m4_express/adafruit_grand_central_m4_express.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
mmc {
7373
status = "okay";
7474
compatible = "zephyr,sdmmc-disk";
75+
disk-name = "SD";
7576
};
7677
};
7778
};

boards/arduino/mkrzero/arduino_mkrzero.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
spi-max-frequency = <1000000>;
9090
mmc {
9191
compatible = "zephyr,sdmmc-disk";
92+
disk-name = "SD";
9293
status = "okay";
9394
};
9495
};

boards/atmel/sam/sam4e_xpro/sam4e_xpro.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@
219219
pinctrl-names = "default";
220220
mmc {
221221
compatible = "zephyr,sdmmc-disk";
222+
disk-name = "SD";
222223
status = "okay";
223224
};
224225
};

boards/espressif/esp_wrover_kit/esp_wrover_kit_procpu.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@
209209

210210
mmc {
211211
compatible = "zephyr,sdmmc-disk";
212+
disk-name = "SD";
212213
status = "okay";
213214
};
214215
};

boards/ezurio/bl5340_dvk/bl5340_dvk_nrf5340_cpuapp_common.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@
252252
spi-max-frequency = <8000000>;
253253
mmc {
254254
compatible = "zephyr,sdmmc-disk";
255+
disk-name = "SD";
255256
status = "okay";
256257
};
257258
};

boards/ezurio/mg100/mg100.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
spi-max-frequency = <8000000>;
155155
mmc {
156156
compatible = "zephyr,sdmmc-disk";
157+
disk-name = "SD";
157158
status = "okay";
158159
};
159160
};

boards/hardkernel/odroid_go/odroid_go_procpu.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
status = "okay";
145145
mmc {
146146
compatible = "zephyr,sdmmc-disk";
147+
disk-name = "SD";
147148
status = "okay";
148149
};
149150
spi-max-frequency = <20000000>;

boards/intel/socfpga/agilex5_socdk/intel_socfpga_agilex5_socdk.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
mmc {
2727
/*SD Disk Access */
2828
compatible = "zephyr,sdmmc-disk";
29+
disk-name = "SD";
2930
status = "okay";
3031
};
3132
};

boards/m5stack/m5stack_core2/m5stack_core2_procpu.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217
spi-max-frequency = <20000000>;
218218
mmc {
219219
compatible = "zephyr,sdmmc-disk";
220+
disk-name = "SD";
220221
status = "okay";
221222
};
222223

boards/madmachine/mm_swiftio/mm_swiftio.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
pinctrl-names = "default", "slow", "med", "fast";
187187
mmc {
188188
compatible = "zephyr,sdmmc-disk";
189+
disk-name = "SD";
189190
status = "okay";
190191
};
191192
};

0 commit comments

Comments
 (0)