[PATCH 1/2] dt-bindings: mmc: sdhci-of-aspeed : Add ast2700 support
Ryan Chen
ryan_chen at aspeedtech.com
Fri Mar 13 16:27:56 AEDT 2026
Add the "aspeed,ast2700-sd-controller" compatible. The ast2700 sdhci
controller requires an reset, so make the "resets" property mandatory
for this compatible to reflect the hardware requirement.
Signed-off-by: Ryan Chen <ryan_chen at aspeedtech.com>
---
Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml b/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml
index d24950ccea95..a2ff9a94db13 100644
--- a/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml
+++ b/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml
@@ -26,6 +26,7 @@ properties:
- aspeed,ast2400-sd-controller
- aspeed,ast2500-sd-controller
- aspeed,ast2600-sd-controller
+ - aspeed,ast2700-sd-controller
reg:
maxItems: 1
description: Common configuration registers
@@ -37,6 +38,20 @@ properties:
clocks:
maxItems: 1
description: The SD/SDIO controller clock gate
+ resets:
+ maxItems: 1
+if:
+ properties:
+ compatible:
+ contains:
+ const: aspeed,ast2700-sd-controller
+then:
+ required:
+ - resets
+
+else:
+ properties:
+ resets: false
patternProperties:
"^sdhci@[0-9a-f]+$":
@@ -50,6 +65,7 @@ patternProperties:
- aspeed,ast2400-sdhci
- aspeed,ast2500-sdhci
- aspeed,ast2600-sdhci
+ - aspeed,ast2700-sdhci
reg:
maxItems: 1
description: The SDHCI registers
--
2.34.1
More information about the openbmc
mailing list