Skip to contentSkip to conversation

doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding

PATCH In review [email protected] 2 participants 4 messages Nov 15, 2019 – Dec 3, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 8/14 doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding

From: Haibo Chen <[email protected]>

Add fsl,strobe-dll-delay-target binding.

---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt +5 -0
index f707b8bee304..d50144f5f1d2 100644
@@ -38,6 +38,11 @@ Optional properties:
   This property allows user to change the tuning step to more than one delay
   cells which is useful for some special boards or cards when the default
   tuning step can't find the proper delay window within limited tuning retries.
+- fsl,strobe-dll-delay-target: Specify the strobe dll control slave delay target.
+  This delay target programming host controller loopback read clock, and this
+  property allows user to change the delay target for the strobe input read clock.
+  If not use this property, driver default set the delay target to value 7.
+  Only eMMC HS400 mode need to take care of this property.
 
 Examples:
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 12/14 doc: dt: fsl-imx-esdhc: add auto-cmd23-broken binding

From: Haibo Chen <[email protected]>

Add fsl,auto-cmd23-broken binding.

---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt +8 -0
index d50144f5f1d2..a776f418a028 100644
@@ -43,6 +43,14 @@ Optional properties:
   property allows user to change the delay target for the strobe input read clock.
   If not use this property, driver default set the delay target to value 7.
   Only eMMC HS400 mode need to take care of this property.
+- fsl,auto-cmd23-broken: disable the ACMD23 function of USDHC.
+  This is required for eMMC on imx6qpdl/imx6sx/imx7d when it use ADMA mode. Because
+  for these SoC, it do not support the ACMD23 completely, only take the 16 bit block
+  count from the 0x4 register (BLK_ATT) as argument for the ACMD23, the upper 16 bit
+  of the CMD23's argument is ignored. This will impact the reliable write operation
+  and the RPMB block write operation, because these operations need to set the bit 31
+  of the CMD23's argument. SDMA mode will default disable the ACMD23 mode. SD card do
+  not has this limitation on these SoCs.
 
 Examples:
 
Signature · 1 line
2.17.1
maintainer
#2 lore raw

Re: [PATCH 12/14] doc: dt: fsl-imx-esdhc: add auto-cmd23-broken binding

Quoted 15 lines · On Fri, Nov 15, 2019 at 07:16:46PM +0800, [email protected] wrote:

From: Haibo Chen <[email protected]>

Add fsl,auto-cmd23-broken binding.

---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt +0 -0
index d50144f5f1d2..a776f418a028 100644
@@ -43,6 +43,14 @@ Optional properties:
   property allows user to change the delay target for the strobe input read clock.

Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt Optional properties: · line 53

Quoted 10 lines
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt +8 -0
   If not use this property, driver default set the delay target to value 7.
   Only eMMC HS400 mode need to take care of this property.
+- fsl,auto-cmd23-broken: disable the ACMD23 function of USDHC.
+  This is required for eMMC on imx6qpdl/imx6sx/imx7d when it use ADMA mode. Because
+  for these SoC, it do not support the ACMD23 completely, only take the 16 bit block
+  count from the 0x4 register (BLK_ATT) as argument for the ACMD23, the upper 16 bit
+  of the CMD23's argument is ignored. This will impact the reliable write operation
+  and the RPMB block write operation, because these operations need to set the bit 31
+  of the CMD23's argument. SDMA mode will default disable the ACMD23 mode. SD card do
+  not has this limitation on these SoCs.

Use the compatible string or perhaps the version register like the sdhci-esdhc driver does.

Rob