Skip to contentSkip to conversation

dt-bindings: mmc: mellanox,bluefield-dw-mshc: Convert DT schema

PATCH Superseded Manish Baing 3 participants 4 messages May 24 – May 30

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: mmc: mellanox,bluefield-dw-mshc: Convert DT schema

Convert the Mellanox BlueField SoC extensions for the Synopsys Designware Mobile Storage Host Controller from text format to YAML schema.

---
 .../bindings/mmc/bluefield-dw-mshc.txt        | 29 -----------
 .../mmc/mellanox,bluefield-dw-mshc.yaml       | 49 +++++++++++++++++++
 2 files changed, 49 insertions(+), 29 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/mmc/bluefield-dw-mshc.txt
 create mode 100644 Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml
Documentation/devicetree/bindings/mmc/bluefield-dw-mshc.txt deleted +0 -29
deleted file mode 100644
index b0f0999ea1a9..000000000000
@@ -1,29 +0,0 @@
-* Mellanox Bluefield SoC specific extensions to the Synopsys Designware
-  Mobile Storage Host Controller
-
-Read synopsys-dw-mshc.txt for more details
-
-The Synopsys designware mobile storage host controller is used to interface
-a SoC with storage medium such as eMMC or SD/MMC cards. This file documents
-differences between the core Synopsys dw mshc controller properties described
-by synopsys-dw-mshc.txt and the properties used by the Mellanox Bluefield SoC
-specific extensions to the Synopsys Designware Mobile Storage Host Controller.
-
-Required Properties:
-
-* compatible: should be one of the following.
-  - "mellanox,bluefield-dw-mshc": for controllers with Mellanox Bluefield SoC
-    specific extensions.
-
-Example:
-
-	/* Mellanox Bluefield SoC MMC */
-	mmc@6008000 {
-		compatible = "mellanox,bluefield-dw-mshc";
-		reg = <0x6008000 0x400>;
-		interrupts = <32>;
-		fifo-depth = <0x100>;
-		clock-frequency = <24000000>;
-		bus-width = <8>;
-		cap-mmc-highspeed;
-	};
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
2.43.0
#1 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] Mismatch between node unit-address and `reg` property base address in the YAML example. --

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Mismatch between node unit-address and reg property base address in the YAML example. --

commit cdc4e472d6093984a0a6b661575b015b013ec9d6
Author: Manish Baing <[email protected]>

dt-bindings: mmc: mellanox,bluefield-dw-mshc: Convert DT schema

This commit converts the Mellanox BlueField SoC extensions for the Synopsys Designware Mobile Storage Host Controller from text format to YAML schema.

Quoted 5 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +0 -0
new file mode 100644
index 0000000000000..32d50e45ddb86

[ ... ]

Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml line 43

Quoted 6 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +6 -0
+examples:
+  - |
+    /* Mellanox BlueField SoC MMC */
+    mmc@2804000 {
+        compatible = "mellanox,bluefield-dw-mshc";
+        reg = <0x6008000 0x400>;

[Severity: Low]
Should the node unit-address match the first address in the reg property here?

The converted YAML example uses mmc@2804000 as the node name, but retains reg = <0x6008000 0x400>. This mismatch typically causes a unit_address_vs_reg warning during dt_binding_check validation.

Quoted 6 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +6 -0
+        interrupts = <32>;
+        fifo-depth = <0x100>;
+        clock-frequency = <24000000>;
+        bus-width = <8>;
+        cap-mmc-highspeed;
+    };
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#2 lore raw
Quoted 27 lines · On Sun, May 24, 2026 at 10:15:13AM +0000, [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Mismatch between node unit-address and reg property base address in the YAML example. --

commit cdc4e472d6093984a0a6b661575b015b013ec9d6
Author: Manish Baing <[email protected]>

dt-bindings: mmc: mellanox,bluefield-dw-mshc: Convert DT schema

This commit converts the Mellanox BlueField SoC extensions for the Synopsys Designware Mobile Storage Host Controller from text format to YAML schema.

Quoted 5 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +0 -0
new file mode 100644
index 0000000000000..32d50e45ddb86

[ ... ]

Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml line 43

Quoted 6 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +6 -0
+examples:
+  - |
+    /* Mellanox BlueField SoC MMC */
+    mmc@2804000 {
+        compatible = "mellanox,bluefield-dw-mshc";
+        reg = <0x6008000 0x400>;
Quoted 3 lines

[Severity: Low]
Should the node unit-address match the first address in the reg property here?

Of course it should.
pw-bot: changes-requested

Quoted 14 lines

The converted YAML example uses mmc@2804000 as the node name, but retains reg = <0x6008000 0x400>. This mismatch typically causes a unit_address_vs_reg warning during dt_binding_check validation.

Quoted 6 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +6 -0
+        interrupts = <32>;
+        fifo-depth = <0x100>;
+        clock-frequency = <24000000>;
+        bus-width = <8>;
+        cap-mmc-highspeed;
+    };
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#3 lore raw

Hi Conor,
Thanks for your review. I’ve already submitted a v2 that address the unit-address mismatch based on the Shahiko bot’s feedback. You can find the updated submission here:
https://lore.kernel.org/all/[email protected]/

Thanks and Regards,
Manish

Quoted 50 lines · Conor Dooley
Quoted 27 lines · On Sun, May 24, 2026 at 10:15:13AM +0000, [email protected] wrote:

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Mismatch between node unit-address and reg property base address in the YAML example. --

commit cdc4e472d6093984a0a6b661575b015b013ec9d6
Author: Manish Baing <[email protected]>

dt-bindings: mmc: mellanox,bluefield-dw-mshc: Convert DT schema

This commit converts the Mellanox BlueField SoC extensions for the Synopsys Designware Mobile Storage Host Controller from text format to YAML schema.

Quoted 5 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +0 -0
new file mode 100644
index 0000000000000..32d50e45ddb86

[ ... ]

Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml line 43

Quoted 6 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +6 -0
+examples:
+  - |
+    /* Mellanox BlueField SoC MMC */
+    mmc@2804000 {
+        compatible = "mellanox,bluefield-dw-mshc";
+        reg = <0x6008000 0x400>;
Quoted 3 lines

[Severity: Low]
Should the node unit-address match the first address in the reg property here?

Of course it should.
pw-bot: changes-requested

Quoted 14 lines

The converted YAML example uses mmc@2804000 as the node name, but retains reg = <0x6008000 0x400>. This mismatch typically causes a unit_address_vs_reg warning during dt_binding_check validation.

Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml line 49

Quoted 6 lines
Documentation/devicetree/bindings/mmc/mellanox,bluefield-dw-mshc.yaml new file +6 -0
+        interrupts = <32>;
+        fifo-depth = <0x100>;
+        clock-frequency = <24000000>;
+        bus-width = <8>;
+        cap-mmc-highspeed;
+    };

--
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1