[PATCH 1/6] dt-bindings: mmc: arm,pl18x: Relax the reg size when the periphid is set
Christophe Kerello
christophe.kerello at foss.st.com
Tue Dec 1 08:18:40 PST 2026
The 4KB size of the MMIO memory window is only required for the PrimeCell
ID registers to be read, so that the device can be discovered. When the
arm,primecell-periphid property is set, these registers are not read, and
the window can be smaller, as on STM32MP2 SoCs whose SDMMC window is 0x400
bytes long.
Signed-off-by: Christophe Kerello <christophe.kerello at foss.st.com>
---
Documentation/devicetree/bindings/mmc/arm,pl18x.yaml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml b/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
index 8d62be4355a0..8f2db8f0d3e4 100644
--- a/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
+++ b/Documentation/devicetree/bindings/mmc/arm,pl18x.yaml
@@ -89,10 +89,11 @@ properties:
maxItems: 1
reg:
- description: the MMIO memory window must be exactly 4KB (0x1000) and the
- layout should provide the PrimeCell ID registers so that the device can
- be discovered. On ST Micro variants, a second register window may be
- defined if a delay block is present and used for tuning.
+ description: the MMIO memory window. Unless arm,primecell-periphid is
+ set, it must be exactly 4KB (0x1000) and provide the PrimeCell ID
+ registers so that the device can be discovered. On ST Micro variants, a
+ second register window may be defined if a delay block is present and
+ used for tuning.
interrupts:
description: The first interrupt is the command interrupt and corresponds
--
2.43.0
More information about the linux-arm-kernel
mailing list