[PATCH v4 1/3] dt-bindings: mmc: synopsys-dw-mshc: relax clocks constraint
From: ping.gao
Date: Sat Feb 28 2026 - 01:21:03 EST
From: Ping Gao <ping.gao@xxxxxxxxxxx>
In some SoC designs (e.g., certain Samsung Exynos platforms), the Bus
Interface Unit (BIU) and Card Interface Unit (CIU) clocks are tied
together or driven by a single clock source. In such hardware
configurations, only one clock entry needs to be described in the
device tree.
Relax the clocks and clock-names constraints to allow a single clock
while maintaining backward compatibility for existing dual-clock
designs.
Signed-off-by: Ping Gao <ping.gao@xxxxxxxxxxx>
---
.../devicetree/bindings/mmc/synopsys-dw-mshc.yaml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
index a6292777e376..47dff8d4be27 100644
--- a/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
+++ b/Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.yaml
@@ -24,16 +24,21 @@ properties:
maxItems: 1
clocks:
- minItems: 2
+ minItems: 1
maxItems: 2
description:
Handle to "biu" and "ciu" clocks for the
bus interface unit clock and the card interface unit clock.
clock-names:
- items:
- - const: biu
- - const: ciu
+ minItems: 1
+ maxItems: 2
+ oneOf:
+ - items:
+ - const: biu
+ - const: ciu
+ - items:
+ - const: ciu
iommus:
maxItems: 1
--
2.50.1