diff mbox

[v3,1/2] Documentation: mmc: addtional description for post-power-on-delay-ms

Message ID 1525741460-109455-1-git-send-email-shawn.lin@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

Shawn Lin May 8, 2018, 1:04 a.m. UTC
post-power-on-delay-ms woule be reused to substitute the hard-coded 10ms
delay waiting for power supply to be stable, specificed by individual
platform/board. Default to 10ms as before, if no available.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

---

Changes in v3:
- reused post-power-on-delay-ms suggested by Rob

Changes in v2: None

 Documentation/devicetree/bindings/mmc/mmc.txt | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Rob Herring May 8, 2018, 3:38 p.m. UTC | #1
On Tue, May 08, 2018 at 09:04:19AM +0800, Shawn Lin wrote:
> post-power-on-delay-ms woule be reused to substitute the hard-coded 10ms
> delay waiting for power supply to be stable, specificed by individual
> platform/board. Default to 10ms as before, if no available.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> 
> ---
> 
> Changes in v3:
> - reused post-power-on-delay-ms suggested by Rob
> 
> Changes in v2: None
> 
>  Documentation/devicetree/bindings/mmc/mmc.txt | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Rob Herring <robh@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ulf Hansson May 21, 2018, 11:35 a.m. UTC | #2
On 8 May 2018 at 03:04, Shawn Lin <shawn.lin@rock-chips.com> wrote:
> post-power-on-delay-ms woule be reused to substitute the hard-coded 10ms
> delay waiting for power supply to be stable, specificed by individual
> platform/board. Default to 10ms as before, if no available.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Thanks, applied for next!

Kind regards
Uffe

>
> ---
>
> Changes in v3:
> - reused post-power-on-delay-ms suggested by Rob
>
> Changes in v2: None
>
>  Documentation/devicetree/bindings/mmc/mmc.txt | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt
> index 467cd7b..a1d0cf4 100644
> --- a/Documentation/devicetree/bindings/mmc/mmc.txt
> +++ b/Documentation/devicetree/bindings/mmc/mmc.txt
> @@ -56,6 +56,10 @@ Optional properties:
>  - fixed-emmc-driver-type: for non-removable eMMC, enforce this driver type.
>    The value <n> is the driver type as specified in the eMMC specification
>    (table 206 in spec version 5.1).
> +- post-power-on-delay-ms : It was invented for MMC pwrseq-simple which could
> +  be referred to mmc-pwrseq-simple.txt. But now it's reused as a tunable delay
> +  waiting for I/O signalling and card power supply to be stable, regardless of
> +  whether pwrseq-simple is used. Default to 10ms if no available.
>
>  *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line
>  polarity properties, we have to fix the meaning of the "normal" and "inverted"
> --
> 1.9.1
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt
index 467cd7b..a1d0cf4 100644
--- a/Documentation/devicetree/bindings/mmc/mmc.txt
+++ b/Documentation/devicetree/bindings/mmc/mmc.txt
@@ -56,6 +56,10 @@  Optional properties:
 - fixed-emmc-driver-type: for non-removable eMMC, enforce this driver type.
   The value <n> is the driver type as specified in the eMMC specification
   (table 206 in spec version 5.1).
+- post-power-on-delay-ms : It was invented for MMC pwrseq-simple which could
+  be referred to mmc-pwrseq-simple.txt. But now it's reused as a tunable delay
+  waiting for I/O signalling and card power supply to be stable, regardless of
+  whether pwrseq-simple is used. Default to 10ms if no available.
 
 *NOTE* on CD and WP polarity. To use common for all SD/MMC host controllers line
 polarity properties, we have to fix the meaning of the "normal" and "inverted"