Thread (14 messages) 14 messages, 6 authors, 2014-06-03

RE: [PATCHv3 3/4] mmc: dw_mmc: remove the "supports-highspeed" property.

From: Seungwon Jeon <hidden>
Date: 2014-05-30 12:51:56
Also in: linux-mmc, linux-samsung-soc

On Fri, May 30, 2014, Jaehoon Chung wrote:
Hi, Ulf.

On 05/30/2014 05:01 PM, Ulf Hansson wrote:
quoted
On 28 May 2014 07:35, Jaehoon Chung [off-list ref] wrote:
quoted
Removed the parser for "supports-highspeed".
It can be parsed with "cap-mmc-highsped" or "cap-sd-highspeed" at
mmc_of_parse().

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 drivers/mmc/host/dw_mmc.c |    3 ---
 1 file changed, 3 deletions(-)
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 3285bdd..34b5210 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -2281,9 +2281,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
                        return ERR_PTR(ret);
        }

-       if (of_find_property(np, "supports-highspeed", NULL))
-               pdata->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
-
According to DT guys, normally we shouldn't remove DT bindings. Thus,
you need to keep this, unless you can get some of the DT guys to ack
it.
As you mentioned, this patch didn't need, right?
quoted
Though, you still want to move the DTs to use common mmc bindings. And
you could mark the documentation of the above binding as deprecated.
I added the comment for deprecated into dw-mmc dt-binding doc file.
"[PATCHv3,4/4] ARM: dts: replace the slot property into slot sub-node for dwmmc."

I think this patch can be discarded. then everything is ok.!? :)
Once decided to turn common mmc bindings instead of driver-specific,
host driver shall not need old one.
I think we can remove it.

Thanks,
Seungwon Jeon
If i'm wrong, let me know, plz.

Thank you for sharing the information.

Best Regards,
Jaehoon Chung
quoted
Kind regards
Ulf Hansson
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help