[PATCH] mmc: Parse new binding for eMMC fixed driver type

s-tokumoto at fujitsu.com s-tokumoto at fujitsu.com
Fri Oct 30 03:49:25 CET 2020



> From: Peng Fan <peng.fan at nxp.com>
> Sent: Tuesday, July 14, 2020 4:52 PM
> To: Tokumoto, Shunsuke/徳本 俊介 <s-tokumoto at fujitsu.com>
> Cc: u-boot at lists.denx.de; Iida, Yasushi/飯田 康志
> <yasushi.iida at fujitsu.com>
> Subject: RE: [PATCH] mmc: Parse new binding for eMMC fixed driver type
> 
> > Subject: [PATCH] mmc: Parse new binding for eMMC fixed driver type
> >
> > Parse the new binding and store it in the mmc config struct after
> > doing some sanity checks. The code is designed to support fixed mmc
> > driver type if we ever need that.
> >
> > Signed-off-by: Shunsuke Tokumoto <s-tokumoto at fujitsu.com>
> > Signed-off-by: Yasushi Iida <yasushi.iida at fujitsu.com>
> > ---
> >  drivers/mmc/mmc-uclass.c | 30
> ++++++++++++++++++++++++++++++
> >  drivers/mmc/mmc.c        |  8 ++++++++
> >  include/mmc.h            |  3 +++
> >  3 files changed, 41 insertions(+)
> >
> > diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c
> index
> > c5b7872900..e67aae451f 100644
> > --- a/drivers/mmc/mmc-uclass.c
> > +++ b/drivers/mmc/mmc-uclass.c
> > @@ -162,6 +162,36 @@ int dm_mmc_deferred_probe(struct udevice *dev)
> >  	if (ops->deferred_probe)
> >  		return ops->deferred_probe(dev);
> >
> > +	/* Check eMMC driver type selection */
> > +	val = dev_read_u32_default(dev, "fixed-emmc-driver-type", 0);
> 
> Has the bindings been accepted by Linux Kernel?
> 

The bindings "fixed-emmc-driver-type" has already included in the Linux Kernel.
The others, "fixed-emmc-driver-type-hs200" and "fixed-emmc-driver-type-hs400" are 
not included in the Linux Kernel.

> Regards,
> Peng.

Best regards
Shunsuke


More information about the U-Boot mailing list