]> git.baikalelectronics.ru Git - kernel.git/commit
clk: bcm2835: Mark the CM SDRAM clock's parent as critical
authorEric Anholt <eric@anholt.net>
Wed, 1 Jun 2016 19:05:35 +0000 (12:05 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 7 Sep 2016 15:57:35 +0000 (08:57 -0700)
commitbd7d075102d8b3665b25c18821c748a0e515b250
treec47c237bebbf70d1cf67fab3f689e43da1bb5513
parent32ba89d928bae71c2f073495af6e09817c32757a
clk: bcm2835: Mark the CM SDRAM clock's parent as critical

While the SDRAM is being driven by its dedicated PLL most of the time,
there is a little loop running in the firmware that periodically turns
on the CM SDRAM clock (using its pre-initialized parent) and switches
SDRAM to using the CM clock to do PVT recalibration.

This avoids system hangs if we choose SDRAM's parent for some other
clock, then disable that clock.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/bcm/clk-bcm2835.c