[PATCH 0/7] MIPS: ralink: add CPU clock detection and clock gate driver for MT7621

Chuanhong Guo gch981213 at gmail.com
Fri Nov 13 00:40:09 UTC 2020


On Thu, Nov 12, 2020 at 1:23 PM Sergio Paracuellos
<sergio.paracuellos at gmail.com> wrote:
>
> To avoid weird behaviour because of some drivers are
> not using properly clocks we have the CLK_IGNORED_UNUSED, which as you
> can see is currently being used in my code. Using that all seems to
> work as expected as it is now.

The whole point of having a clock gate driver is to gate unused
clocks to save (maybe a tiny bit of) power. It's other peripheral
drivers' fault that it doesn't enable clocks properly and we shouldn't
just work-around the problem in the clock driver by disallowing auto
clock gating.

-- 
Regards,
Chuanhong Guo


More information about the devel mailing list