]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ti: dra7xx: Drop idlest polling from IPU & DSP clkctrl clocks
authorTero Kristo <t-kristo@ti.com>
Thu, 12 Sep 2019 13:26:09 +0000 (16:26 +0300)
committerTero Kristo <t-kristo@ti.com>
Thu, 31 Oct 2019 13:18:28 +0000 (15:18 +0200)
commit6f5310d62e2441fb9679821b8942a64042905105
tree9b3c7bfa058dd40b8f10a95727ae108a4f6ae844
parenta29d69d772abfe3fda0f61e5896b14db9a2a09d2
clk: ti: dra7xx: Drop idlest polling from IPU & DSP clkctrl clocks

The IPU and DSP remote processor cores and their corresponding MMUs on
DRA7 SoCs have hardreset lines associated with them and are controlled
by a PRCM reset line each. Any clkctrl enable/disable operations cannot
be checked for module enabled/disabled status independent of the reset
operation, and this causes some unwanted timeouts in the kernel and
unbalanced states for these clocks. These details should be handled by
the driver integration code itself.

Add the CLKF_NO_IDLEST flag to both the IPU and DSP clkctrl clocks so
that these module status checks are skipped.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/clk/ti/clk-7xx.c