Thread (1 message) 1 message, 1 author, 2016-11-28

Re: [PATCH 1/2] mmc: core: add DT binding for CMD23

From: Jaehoon Chung <hidden>
Date: 2016-11-28 09:40:28
Also in: linux-mmc

On 11/25/2016 05:19 PM, Ulf Hansson wrote:
On 25 November 2016 at 07:52, Jaehoon Chung [off-list ref] wrote:
quoted
Provide the option to configure one type of multiple block read/wrte
transatction (CMD23 - it's optional.)

Signed-off-by: Jaehoon Chung <redacted>
---
 drivers/mmc/core/host.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
index 98f25ff..9bdc369 100644
--- a/drivers/mmc/core/host.c
+++ b/drivers/mmc/core/host.c
@@ -321,6 +321,8 @@ int mmc_of_parse(struct mmc_host *host)
                host->caps2 |= MMC_CAP2_NO_SD;
        if (of_property_read_bool(np, "no-mmc"))
                host->caps2 |= MMC_CAP2_NO_MMC;
+       if (of_property_read_bool(np, "cap-mmc-cmd23"))
+               host->caps |= MMC_CAP_CMD23;

        host->dsr_req = !of_property_read_u32(np, "dsr", &host->dsr);
        if (host->dsr_req && (host->dsr & ~0xffff)) {
--
2.10.1
I don't think this as HW configuration, but more a SW configuration.
Thus we don't need a DT binding for it, right?
Got it. Then discard these patches.

Best Regards,
Jaehoon Chung
Kind regards
Uffe
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help