All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mmc: Parse HS400 DT properties
Date: Wed, 14 Nov 2018 06:05:19 +0000	[thread overview]
Message-ID: <AM0PR04MB44814098169D3DD3FCCA630488C30@AM0PR04MB4481.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20181113233913.7492-1-marek.vasut+renesas@gmail.com>



> -----Original Message-----
> From: Marek Vasut [mailto:marek.vasut at gmail.com]
> Sent: 2018年11月14日 7:39
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marek.vasut+renesas@gmail.com>; Tom Rini
> <trini@konsulko.com>; Jaehoon Chung <jh80.chung@samsung.com>;
> Jean-Jacques Hiblot <jjhiblot@ti.com>; Kishon Vijay Abraham I
> <kishon@ti.com>; Peng Fan <peng.fan@nxp.com>; Simon Glass
> <sjg@chromium.org>
> Subject: [PATCH] mmc: Parse HS400 DT properties
> 
> Add HS400 properties parsing support to mmc_of_parse().
> 
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Jaehoon Chung <jh80.chung@samsung.com>
> Cc: Jean-Jacques Hiblot <jjhiblot@ti.com>
> Cc: Kishon Vijay Abraham I <kishon@ti.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Simon Glass <sjg@chromium.org>
> ---
>  drivers/mmc/mmc-uclass.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c index
> f73f07254b..76225b7939 100644
> --- a/drivers/mmc/mmc-uclass.c
> +++ b/drivers/mmc/mmc-uclass.c
> @@ -166,6 +166,10 @@ int mmc_of_parse(struct udevice *dev, struct
> mmc_config *cfg)
>  		cfg->host_caps |= MMC_CAP(MMC_HS_200);
>  	if (dev_read_bool(dev, "mmc-hs200-1_2v"))
>  		cfg->host_caps |= MMC_CAP(MMC_HS_200);
> +	if (dev_read_bool(dev, "mmc-hs400-1_8v"))
> +		cfg->host_caps |= MMC_CAP(MMC_HS_400);
> +	if (dev_read_bool(dev, "mmc-hs400-1_2v"))
> +		cfg->host_caps |= MMC_CAP(MMC_HS_400);
> 
>  	return 0;
>  }

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> --
> 2.18.0

  reply	other threads:[~2018-11-14  6:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-13 23:39 [U-Boot] [PATCH] mmc: Parse HS400 DT properties Marek Vasut
2018-11-14  6:05 ` Peng Fan [this message]
2018-11-16  0:07 ` Simon Glass
  -- strict thread matches above, loose matches on Subject: below --
2018-06-19  4:23 Marek Vasut
2018-06-19  5:48 ` Peng Fan
2018-06-19  7:05 ` Jean-Jacques Hiblot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM0PR04MB44814098169D3DD3FCCA630488C30@AM0PR04MB4481.eurprd04.prod.outlook.com \
    --to=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.