]> asedeno.scripts.mit.edu Git - linux.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)
commit9063ea469c406fae7c60d2ea4d80f1101dd401eb
tree9b3c7bfa058dd40b8f10a95727ae108a4f6ae844
parent25999e6172a3ec6bb4b1f5a77471532c209937cc
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