RE: [RFC 0/6] mmc: sdhi: add basic r8a7795 support

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

 



Hi Dirk-san, Wolfram-san,

> > And third, from reading the r8a7795 manual I think the manual talks about
> >
> > https://github.com/dirkbehme/linux-renesas-rcar-gen3/commit/f2a727c859916d59dca85dbb72c1b61da3fd6da0
> >
> > But testing this it doesn't work. So either the manual is wrong, or I missed
> > anything else.
> 
> I have seen this patch and my gut feeling is that it won't make a
> difference? SCLKDIVEN is like CBUSY plus some more cycles AFAIU. But I
> am not working on DMA issues now, this has to wait.

I'm not sure we have to use CBSY bit instead of SCLKDIVEN on r8a7795.
However, I could use the CBSY bit if I used the following code.

	while (--timeout && (sd_ctrl_read16(host, CTL_STATUS2) & (1 << 14)))

If we use the CBSY bit, I think we have to wait while the CBSY bit is set to 1.
(In other words, the behavior of CBSY bit is different from the SCLKDIVEN bit if my understanding is correct.)

Best regards,
Yoshihiro Shimoda




[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