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

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

 



Hi Dirk,

On Mon, Jan 25, 2016 at 5:25 PM, Dirk Behme <dirk.behme@xxxxxxxxx> wrote:
>> I've been thinking about implementing a "delay callback", which waits
>> for bit 13 on previous SoCs and for bit 14 for r8a7795.
>
> Thinking about this, is there a runtime detection of r8a7795 vs. previous
> SoCs? Anything like a function or macro e.g. is_system_gen3() or similar?

The proper way to handle this is to make the driver match against
"renesas,sdhi-r8a7795", cfr. sh_mobile_sdhi_of_match[].

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds



[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