All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: mmc dev
@ 2022-03-29 14:01 ` Patrick Delaunay
  2022-03-29 14:27   ` Aswath Govindraju
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Patrick Delaunay @ 2022-03-29 14:01 UTC (permalink / raw)
  To: u-boot
  Cc: Patrick Delaunay, Aswath Govindraju, Bin Meng,
	Heinrich Schuchardt, Jaehoon Chung, Reuben Dowle, U-Boot STM32

Provide human readable descriptions of the speed nodes instead of the name
of constants from the code as it is already done for 'mmc rescan'
command in commit 212f078496e4 ("doc: mmc rescan speed mode").

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

 doc/usage/mmc.rst | 36 ++++++++++++++++++++----------------
 1 file changed, 20 insertions(+), 16 deletions(-)

diff --git a/doc/usage/mmc.rst b/doc/usage/mmc.rst
index 02b5d7b1c7..55e3f9cf98 100644
--- a/doc/usage/mmc.rst
+++ b/doc/usage/mmc.rst
@@ -85,22 +85,26 @@ The 'mmc dev' command shows or set current mmc device.
 
    mode
        speed mode to set.
-       CONFIG_MMC_SPEED_MODE_SET should be enabled. The required speed mode is
-       passed as the index from the following list.
-
-       0   - MMC_LEGACY
-       1   - MMC_HS
-       2   - SD_HS
-       3   - MMC_HS_52
-       4   - MMC_DDR_52
-       5   - UHS_SDR12
-       6   - UHS_SDR25
-       7   - UHS_SDR50
-       8   - UHS_DDR50
-       9   - UHS_SDR104
-       10  - MMC_HS_200
-       11  - MMC_HS_400
-       12  - MMC_HS_400_ES
+       CONFIG_MMC_SPEED_MODE_SET should be enabled. The requested speed mode is
+       passed as a decimal number according to the following table:
+
+       ========== ==========================
+       Speed mode Description
+       ========== ==========================
+           0      MMC legacy
+           1      MMC High Speed (26MHz)
+           2      SD High Speed (50MHz)
+           3      MMC High Speed (52MHz)
+           4      MMC DDR52 (52MHz)
+           5      UHS SDR12 (25MHz)
+           6      UHS SDR25 (50MHz)
+           7      UHS SDR50 (100MHz)
+           8      UHS DDR50 (50MHz)
+           9      UHS SDR104 (208MHz)
+          10      HS200 (200MHz)
+          11      HS400 (200MHz)
+          12      HS400ES (200MHz)
+       ========== ==========================
 
        A speed mode can be set only if it has already been enabled in the device tree
 
-- 
2.25.1


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

* Re: [PATCH] doc: mmc dev
  2022-03-29 14:01 ` [PATCH] doc: mmc dev Patrick Delaunay
@ 2022-03-29 14:27   ` Aswath Govindraju
  2022-03-29 16:12   ` Bin Meng
  2022-03-30  0:13   ` Jaehoon Chung
  2 siblings, 0 replies; 4+ messages in thread
From: Aswath Govindraju @ 2022-03-29 14:27 UTC (permalink / raw)
  To: Patrick Delaunay, u-boot
  Cc: Bin Meng, Heinrich Schuchardt, Jaehoon Chung, Reuben Dowle, U-Boot STM32

Hi Patrick,

On 29/03/22 19:31, Patrick Delaunay wrote:
> Provide human readable descriptions of the speed nodes instead of the name
> of constants from the code as it is already done for 'mmc rescan'
> command in commit 212f078496e4 ("doc: mmc rescan speed mode").
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Reviewed-by: Aswath Govindraju <a-govindraju@ti.com>

Thanks,
Aswath

> ---
> 
>  doc/usage/mmc.rst | 36 ++++++++++++++++++++----------------
>  1 file changed, 20 insertions(+), 16 deletions(-)
> 
> diff --git a/doc/usage/mmc.rst b/doc/usage/mmc.rst
> index 02b5d7b1c7..55e3f9cf98 100644
> --- a/doc/usage/mmc.rst
> +++ b/doc/usage/mmc.rst
> @@ -85,22 +85,26 @@ The 'mmc dev' command shows or set current mmc device.
>  
>     mode
>         speed mode to set.
> -       CONFIG_MMC_SPEED_MODE_SET should be enabled. The required speed mode is
> -       passed as the index from the following list.
> -
> -       0   - MMC_LEGACY
> -       1   - MMC_HS
> -       2   - SD_HS
> -       3   - MMC_HS_52
> -       4   - MMC_DDR_52
> -       5   - UHS_SDR12
> -       6   - UHS_SDR25
> -       7   - UHS_SDR50
> -       8   - UHS_DDR50
> -       9   - UHS_SDR104
> -       10  - MMC_HS_200
> -       11  - MMC_HS_400
> -       12  - MMC_HS_400_ES
> +       CONFIG_MMC_SPEED_MODE_SET should be enabled. The requested speed mode is
> +       passed as a decimal number according to the following table:
> +
> +       ========== ==========================
> +       Speed mode Description
> +       ========== ==========================
> +           0      MMC legacy
> +           1      MMC High Speed (26MHz)
> +           2      SD High Speed (50MHz)
> +           3      MMC High Speed (52MHz)
> +           4      MMC DDR52 (52MHz)
> +           5      UHS SDR12 (25MHz)
> +           6      UHS SDR25 (50MHz)
> +           7      UHS SDR50 (100MHz)
> +           8      UHS DDR50 (50MHz)
> +           9      UHS SDR104 (208MHz)
> +          10      HS200 (200MHz)
> +          11      HS400 (200MHz)
> +          12      HS400ES (200MHz)
> +       ========== ==========================
>  
>         A speed mode can be set only if it has already been enabled in the device tree
>  

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

* Re: [PATCH] doc: mmc dev
  2022-03-29 14:01 ` [PATCH] doc: mmc dev Patrick Delaunay
  2022-03-29 14:27   ` Aswath Govindraju
@ 2022-03-29 16:12   ` Bin Meng
  2022-03-30  0:13   ` Jaehoon Chung
  2 siblings, 0 replies; 4+ messages in thread
From: Bin Meng @ 2022-03-29 16:12 UTC (permalink / raw)
  To: Patrick Delaunay
  Cc: U-Boot Mailing List, Aswath Govindraju, Heinrich Schuchardt,
	Jaehoon Chung, Reuben Dowle, U-Boot STM32

On Tue, Mar 29, 2022 at 10:01 PM Patrick Delaunay
<patrick.delaunay@foss.st.com> wrote:
>
> Provide human readable descriptions of the speed nodes instead of the name
> of constants from the code as it is already done for 'mmc rescan'
> command in commit 212f078496e4 ("doc: mmc rescan speed mode").
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
>
>  doc/usage/mmc.rst | 36 ++++++++++++++++++++----------------
>  1 file changed, 20 insertions(+), 16 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

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

* Re: [PATCH] doc: mmc dev
  2022-03-29 14:01 ` [PATCH] doc: mmc dev Patrick Delaunay
  2022-03-29 14:27   ` Aswath Govindraju
  2022-03-29 16:12   ` Bin Meng
@ 2022-03-30  0:13   ` Jaehoon Chung
  2 siblings, 0 replies; 4+ messages in thread
From: Jaehoon Chung @ 2022-03-30  0:13 UTC (permalink / raw)
  To: Patrick Delaunay, u-boot
  Cc: Aswath Govindraju, Bin Meng, Heinrich Schuchardt, Reuben Dowle,
	U-Boot STM32

On 3/29/22 23:01, Patrick Delaunay wrote:
> Provide human readable descriptions of the speed nodes instead of the name
> of constants from the code as it is already done for 'mmc rescan'
> command in commit 212f078496e4 ("doc: mmc rescan speed mode").
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>

Best Regards,
Jaehoon Chung

> ---
> 
>  doc/usage/mmc.rst | 36 ++++++++++++++++++++----------------
>  1 file changed, 20 insertions(+), 16 deletions(-)
> 
> diff --git a/doc/usage/mmc.rst b/doc/usage/mmc.rst
> index 02b5d7b1c7..55e3f9cf98 100644
> --- a/doc/usage/mmc.rst
> +++ b/doc/usage/mmc.rst
> @@ -85,22 +85,26 @@ The 'mmc dev' command shows or set current mmc device.
>  
>     mode
>         speed mode to set.
> -       CONFIG_MMC_SPEED_MODE_SET should be enabled. The required speed mode is
> -       passed as the index from the following list.
> -
> -       0   - MMC_LEGACY
> -       1   - MMC_HS
> -       2   - SD_HS
> -       3   - MMC_HS_52
> -       4   - MMC_DDR_52
> -       5   - UHS_SDR12
> -       6   - UHS_SDR25
> -       7   - UHS_SDR50
> -       8   - UHS_DDR50
> -       9   - UHS_SDR104
> -       10  - MMC_HS_200
> -       11  - MMC_HS_400
> -       12  - MMC_HS_400_ES
> +       CONFIG_MMC_SPEED_MODE_SET should be enabled. The requested speed mode is
> +       passed as a decimal number according to the following table:
> +
> +       ========== ==========================
> +       Speed mode Description
> +       ========== ==========================
> +           0      MMC legacy
> +           1      MMC High Speed (26MHz)
> +           2      SD High Speed (50MHz)
> +           3      MMC High Speed (52MHz)
> +           4      MMC DDR52 (52MHz)
> +           5      UHS SDR12 (25MHz)
> +           6      UHS SDR25 (50MHz)
> +           7      UHS SDR50 (100MHz)
> +           8      UHS DDR50 (50MHz)
> +           9      UHS SDR104 (208MHz)
> +          10      HS200 (200MHz)
> +          11      HS400 (200MHz)
> +          12      HS400ES (200MHz)
> +       ========== ==========================
>  
>         A speed mode can be set only if it has already been enabled in the device tree
>  


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

end of thread, other threads:[~2022-03-30  0:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20220329140125epcas1p2b8a01db5c7295761d20cb51ebf85d0bb@epcas1p2.samsung.com>
2022-03-29 14:01 ` [PATCH] doc: mmc dev Patrick Delaunay
2022-03-29 14:27   ` Aswath Govindraju
2022-03-29 16:12   ` Bin Meng
2022-03-30  0:13   ` Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.