Linux-Devicetree Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 08/14] doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding
@ 2019-11-15 11:16 haibo.chen
  2019-11-15 11:16 ` [PATCH 12/14] doc: dt: fsl-imx-esdhc: add auto-cmd23-broken binding haibo.chen
  2019-12-03 19:21 ` [PATCH 08/14] doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding Rob Herring
  0 siblings, 2 replies; 4+ messages in thread
From: haibo.chen @ 2019-11-15 11:16 UTC (permalink / raw)
  To: adrian.hunter, ulf.hansson, shawnguo, s.hauer, robh+dt,
	mark.rutland, kernel
  Cc: devicetree, festevam, linux-mmc, linux-imx, haibo.chen

From: Haibo Chen <haibo.chen@nxp.com>

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

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
index f707b8bee304..d50144f5f1d2 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
@@ -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:
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 12/14] doc: dt: fsl-imx-esdhc: add auto-cmd23-broken binding
  2019-11-15 11:16 [PATCH 08/14] doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding haibo.chen
@ 2019-11-15 11:16 ` haibo.chen
  2019-12-03 19:27   ` Rob Herring
  2019-12-03 19:21 ` [PATCH 08/14] doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding Rob Herring
  1 sibling, 1 reply; 4+ messages in thread
From: haibo.chen @ 2019-11-15 11:16 UTC (permalink / raw)
  To: adrian.hunter, ulf.hansson, shawnguo, s.hauer, robh+dt,
	mark.rutland, kernel
  Cc: devicetree, festevam, linux-mmc, linux-imx, haibo.chen

From: Haibo Chen <haibo.chen@nxp.com>

Add fsl,auto-cmd23-broken binding.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
---
 Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
index d50144f5f1d2..a776f418a028 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
+++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
@@ -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:
 
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 08/14] doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding
  2019-11-15 11:16 [PATCH 08/14] doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding haibo.chen
  2019-11-15 11:16 ` [PATCH 12/14] doc: dt: fsl-imx-esdhc: add auto-cmd23-broken binding haibo.chen
@ 2019-12-03 19:21 ` Rob Herring
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2019-12-03 19:21 UTC (permalink / raw)
  To: haibo.chen
  Cc: adrian.hunter, ulf.hansson, shawnguo, s.hauer, robh+dt,
	mark.rutland, kernel, devicetree, festevam, linux-mmc, linux-imx,
	haibo.chen

On Fri, 15 Nov 2019 19:16:45 +0800, haibo.chen@nxp.com wrote:
> From: Haibo Chen <haibo.chen@nxp.com>
> 
> Add fsl,strobe-dll-delay-target binding.
> 
> Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
> ---
>  Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 5 +++++
>  1 file changed, 5 insertions(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 12/14] doc: dt: fsl-imx-esdhc: add auto-cmd23-broken binding
  2019-11-15 11:16 ` [PATCH 12/14] doc: dt: fsl-imx-esdhc: add auto-cmd23-broken binding haibo.chen
@ 2019-12-03 19:27   ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2019-12-03 19:27 UTC (permalink / raw)
  To: haibo.chen
  Cc: adrian.hunter, ulf.hansson, shawnguo, s.hauer, mark.rutland,
	kernel, devicetree, festevam, linux-mmc, linux-imx

On Fri, Nov 15, 2019 at 07:16:46PM +0800, haibo.chen@nxp.com wrote:
> From: Haibo Chen <haibo.chen@nxp.com>
> 
> Add fsl,auto-cmd23-broken binding.
> 
> Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
> ---
>  Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
> index d50144f5f1d2..a776f418a028 100644
> --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
> +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
> @@ -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.

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

Rob

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15 11:16 [PATCH 08/14] doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding haibo.chen
2019-11-15 11:16 ` [PATCH 12/14] doc: dt: fsl-imx-esdhc: add auto-cmd23-broken binding haibo.chen
2019-12-03 19:27   ` Rob Herring
2019-12-03 19:21 ` [PATCH 08/14] doc: dt: fsl-imx-esdhc: add strobe-dll-delay-target binding Rob Herring

Linux-Devicetree Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-devicetree/0 linux-devicetree/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-devicetree linux-devicetree/ https://lore.kernel.org/linux-devicetree \
		devicetree@vger.kernel.org
	public-inbox-index linux-devicetree

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-devicetree


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git