]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ti: am33xx: drop idlest polling from pruss clkctrl clock
authorTero Kristo <t-kristo@ti.com>
Thu, 12 Sep 2019 13:26:13 +0000 (16:26 +0300)
committerTero Kristo <t-kristo@ti.com>
Thu, 31 Oct 2019 13:18:29 +0000 (15:18 +0200)
commitede6233731f849de02d738b01fbeed07fd65b4fb
treee903a654fe0c83a31376c837ed51a4cf156019fe
parent1dc6e2ce0a51ec25ea40e3886671561ca1c16c53
clk: ti: am33xx: drop idlest polling from pruss clkctrl clock

The PRUSS module on AM33xx SoCs has a hardreset line and is controlled
by a PRCM reset line. 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 the PRUSS clocks. These details should be handled
by the driver integration code itself.

Add the CLKF_NO_IDLEST flag to the PRUSS clkctrl clock so that these
module status checks are skipped.

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