We need a way to specify a) Hardware can support clock gating setting the clock to 0 in the call to set_ios (with hardware clock gating enabled) becomes a no-op so some care is needed which is why I suggested another field in the ios structure. When clock gating is enabled with SDIO cards we have seen a) Missed Interrupts b) Transactions not completed We think this is because some SDIO cards need n clocks after the xfer completes from the host point of view to be in a state to handle clocks off. n clocks should be 8 for SD 3.0 but in sometimes the cards need more. We have seen SDIO cards work with no clocks needed and some needing more then 12 clocks. This is completely understandable considering that clock gating is a new feature. b) hardware doing clock gating with SDIO is BAD -- we see the same issues that s/w clock gating patch see's .. The sdio cards do not work correctly. c) The quirk is needed to tell the core/ layer that h/w support is available. On Nov 6, 2010, at 10:24 AM, Ohad Ben-Cohen wrote: > Hi Phillip, > > On Sat, Nov 6, 2010 at 1:38 AM, Philip Rakity <prakity@xxxxxxxxxxx> wrote: >> d) keep sdio clock gating OFF -- need this from our experience. > > I'm really interested to hear more about that one - what issues did you see ? > Can you please elaborate ? > > Thanks, > Ohad. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html