From: Jaehoon Chung <jh80.chung@samsung.com>
To: Ulf Hansson <ulf.hansson@linaro.org>,
linux-mmc@vger.kernel.org, Chris Ball <chris@printf.net>
Cc: Jaehoon Chung <jh80.chung@samsung.com>, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/3] mmc: core: Add DT bindings for SD card's UHS bus speed modes
Date: Mon, 17 Feb 2014 15:55:54 +0900 [thread overview]
Message-ID: <5301B27A.5080005@samsung.com> (raw)
In-Reply-To: <1392380829-8473-1-git-send-email-ulf.hansson@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Best Regards,
Jaehoon Chung
On 02/14/2014 09:27 PM, Ulf Hansson wrote:
> Provide the option to configure these speed modes per host, for those
> host driver's that can't distinguish this in runtime.
>
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
> ---
> Documentation/devicetree/bindings/mmc/mmc.txt | 5 +++++
> drivers/mmc/core/host.c | 10 ++++++++++
> 2 files changed, 15 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt b/Documentation/devicetree/bindings/mmc/mmc.txt
> index 458b57f..bd2ce67 100644
> --- a/Documentation/devicetree/bindings/mmc/mmc.txt
> +++ b/Documentation/devicetree/bindings/mmc/mmc.txt
> @@ -26,6 +26,11 @@ Optional properties:
> this system, even if the controller claims it is.
> - cap-sd-highspeed: SD high-speed timing is supported
> - cap-mmc-highspeed: MMC high-speed timing is supported
> +- sd-uhs-sdr12: SD UHS SDR12 speed is supported
> +- sd-uhs-sdr25: SD UHS SDR25 speed is supported
> +- sd-uhs-sdr50: SD UHS SDR50 speed is supported
> +- sd-uhs-sdr104: SD UHS SDR104 speed is supported
> +- sd-uhs-ddr50: SD UHS DDR50 speed is supported
> - cap-power-off-card: powering off the card is safe
> - cap-sdio-irq: enable SDIO IRQ signalling on this interface
> - full-pwr-cycle: full power cycle of the card is supported
> diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
> index 49bc403..2644d91 100644
> --- a/drivers/mmc/core/host.c
> +++ b/drivers/mmc/core/host.c
> @@ -419,6 +419,16 @@ int mmc_of_parse(struct mmc_host *host)
> host->caps |= MMC_CAP_SD_HIGHSPEED;
> if (of_find_property(np, "cap-mmc-highspeed", &len))
> host->caps |= MMC_CAP_MMC_HIGHSPEED;
> + if (of_find_property(np, "sd-uhs-sdr12", &len))
> + host->caps |= MMC_CAP_UHS_SDR12;
> + if (of_find_property(np, "sd-uhs-sdr25", &len))
> + host->caps |= MMC_CAP_UHS_SDR25;
> + if (of_find_property(np, "sd-uhs-sdr50", &len))
> + host->caps |= MMC_CAP_UHS_SDR50;
> + if (of_find_property(np, "sd-uhs-sdr104", &len))
> + host->caps |= MMC_CAP_UHS_SDR104;
> + if (of_find_property(np, "sd-uhs-ddr50", &len))
> + host->caps |= MMC_CAP_UHS_DDR50;
> if (of_find_property(np, "cap-power-off-card", &len))
> host->caps |= MMC_CAP_POWER_OFF_CARD;
> if (of_find_property(np, "cap-sdio-irq", &len))
>
next prev parent reply other threads:[~2014-02-17 6:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-14 12:27 [PATCH 1/3] mmc: core: Add DT bindings for SD card's UHS bus speed modes Ulf Hansson
2014-02-14 12:27 ` [PATCH 2/3] mmc: core: Add DT bindings for eMMC high-speed DDR 1.8/1.2V Ulf Hansson
2014-02-17 6:56 ` Jaehoon Chung
2014-02-14 12:27 ` [PATCH 3/3] mmc: core: Add DT bindings for eMMC HS200 1.8/1.2V Ulf Hansson
2014-02-17 6:55 ` Jaehoon Chung [this message]
2014-02-22 18:52 ` [PATCH 1/3] mmc: core: Add DT bindings for SD card's UHS bus speed modes Chris Ball
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=5301B27A.5080005@samsung.com \
--to=jh80.chung@samsung.com \
--cc=chris@printf.net \
--cc=devicetree@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
/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.