* [PATCH] mmc: dw_mmc: k3: add MMC_CAP_CMD23 @ 2016-06-01 12:39 ` Jerome Forissier 2016-06-01 12:46 ` Jaehoon Chung 0 siblings, 1 reply; 2+ messages in thread From: Jerome Forissier @ 2016-06-01 12:39 UTC (permalink / raw) To: Jaehoon Chung, Ulf Hansson, linux-mmc, linux-kernel; +Cc: Jerome Forissier Enables RPMB support for the on-board eMMC of the HiKey board as well as for eMMC modules connected to the microSD slot. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> --- drivers/mmc/host/dw_mmc-k3.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c index 63c2e2e..8e9d886 100644 --- a/drivers/mmc/host/dw_mmc-k3.c +++ b/drivers/mmc/host/dw_mmc-k3.c @@ -32,6 +32,12 @@ struct k3_priv { struct regmap *reg; }; +static unsigned long dw_mci_hi6220_caps[] = { + MMC_CAP_CMD23, + MMC_CAP_CMD23, + 0 +}; + static void dw_mci_k3_set_ios(struct dw_mci *host, struct mmc_ios *ios) { int ret; @@ -126,6 +132,7 @@ static void dw_mci_hi6220_set_ios(struct dw_mci *host, struct mmc_ios *ios) } static const struct dw_mci_drv_data hi6220_data = { + .caps = dw_mci_hi6220_caps, .switch_voltage = dw_mci_hi6220_switch_voltage, .set_ios = dw_mci_hi6220_set_ios, .parse_dt = dw_mci_hi6220_parse_dt, -- 2.7.4 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: dw_mmc: k3: add MMC_CAP_CMD23 2016-06-01 12:39 ` [PATCH] mmc: dw_mmc: k3: add MMC_CAP_CMD23 Jerome Forissier @ 2016-06-01 12:46 ` Jaehoon Chung 0 siblings, 0 replies; 2+ messages in thread From: Jaehoon Chung @ 2016-06-01 12:46 UTC (permalink / raw) To: Jerome Forissier, Ulf Hansson, linux-mmc, linux-kernel Hi Jerome, On 06/01/2016 09:39 PM, Jerome Forissier wrote: > Enables RPMB support for the on-board eMMC of the HiKey board as well > as for eMMC modules connected to the microSD slot. Thanks! I will pick on my repository. If we needs to use the MMC_CAP_CMD23, i will consider for using by default. Best Regards, Jaehoon Chung > > Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> > --- > drivers/mmc/host/dw_mmc-k3.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c > index 63c2e2e..8e9d886 100644 > --- a/drivers/mmc/host/dw_mmc-k3.c > +++ b/drivers/mmc/host/dw_mmc-k3.c > @@ -32,6 +32,12 @@ struct k3_priv { > struct regmap *reg; > }; > > +static unsigned long dw_mci_hi6220_caps[] = { > + MMC_CAP_CMD23, > + MMC_CAP_CMD23, > + 0 > +}; > + > static void dw_mci_k3_set_ios(struct dw_mci *host, struct mmc_ios *ios) > { > int ret; > @@ -126,6 +132,7 @@ static void dw_mci_hi6220_set_ios(struct dw_mci *host, struct mmc_ios *ios) > } > > static const struct dw_mci_drv_data hi6220_data = { > + .caps = dw_mci_hi6220_caps, > .switch_voltage = dw_mci_hi6220_switch_voltage, > .set_ios = dw_mci_hi6220_set_ios, > .parse_dt = dw_mci_hi6220_parse_dt, > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-01 12:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20160601124153epcas1p277b5dd6a7b72de21e4dc71d456960170@epcas1p2.samsung.com>
2016-06-01 12:39 ` [PATCH] mmc: dw_mmc: k3: add MMC_CAP_CMD23 Jerome Forissier
2016-06-01 12:46 ` Jaehoon Chung
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox