Re: [PATCH] mmc: agressive clocking framework v9

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

 



Philip Rakity wrote:

> One case that I do not see handled is support of hardware clock gating.
> SD 3.0 has this as well as our v2.0 controller.

> a) add a quirk that the driver can set to indicate h/w support for clock gating is available

Right now there is a Kconfig option, that compiles out all of the
software clock gating. This sounds more like we shouldn't do
it that way: instead always compile it in and then use a new
host flag to indicate whether to activate it or not.

Is this what you mean?

> b) add a new field to ios that indicates if hardware clock gating to be enabled / disabled
> c) clock gating is set to disabled until final speed negotiation during card detection after which it may be enabled.

This seems like orthogonal, but realated stuff that can be
added on top.

> d) keep sdio clock gating OFF -- need this from our experience.

This was added already in the v8 variant of this patchset, for
the SW-controlled gating.

> I can try to add this to your patch if you like or perhaps you
> can do this in the next submission

OK, seems like a good idea.

I can't test it with your hardware anyway.

But base your work on the v8 patch, this v9 using runtime PM is
not going to work. v10 will move back to the v8 approach.

Yours,
Linus Walleij
--
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


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux