Re: [PATCH/RFT 2/3] mmc: renesas_sdhi: Add r8a77965 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 02, 2018 at 07:32:19AM +0200, Wolfram Sang wrote:
> 
> > > +	{ .compatible = "renesas,sdhi-r8a77965", .data = &of_rcar_gen3_compatible, },
> 
> Do we need this line...
> 
> > >  	{ .compatible = "renesas,rcar-gen3-sdhi", .data = &of_rcar_gen3_compatible, },
> 
> ... with this generic fallback in place?

Sorry, I missed that in my review.
I agree that the renesas,sdhi-r8a77965 is not needed.

> 
> > > @@ -276,6 +277,7 @@ static void renesas_sdhi_internal_dmac_complete_tasklet_fn(unsigned long arg)
> > >  	/* generic ones */
> > >  	{ .soc_id = "r8a7795" },
> > >  	{ .soc_id = "r8a7796" },
> > > +	{ .soc_id = "r8a77965", .revision = "ES1.0" },
> > 
> > I think we can drop .revision = "ES1.0"
> > 
> > to be in keeping with 349936fcdaf8 ("mmc: renesas_sdhi_internal_dmac: use
> > more generic whitelisting").
> 
> Ack.

One more consideration.

With the current state of the driver this patch should be fine,
modulo the changes suggested above. But once HS400 support is merged
some logic will be required to disable that feature for the r8a77965
until HS400 support for that SoC is explicitly added.

Or conversely, perhaps when HS400 is added it should only be enabled
in the driver for SoCs that are known to work: r8a7796 and r8a7795. In the
case of the latter perhaps only ES2.0.

Wolfram, what do you think?



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux