clk: bcm2835: Add leaf clock measurement support, disabled by default
authorEric Anholt <eric@anholt.net>
Tue, 17 Jan 2017 20:31:57 +0000 (07:31 +1100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 20:31:37 +0000 (20:31 +0000)
commit841013f071a72f6dff611d2252f08ebcedeb87f6
tree0bdd8dafde5e0fad1dbfc58b5be7315575b84abb
parent9995a0dfd379cfb98d126a50c7da4af750deddeb
clk: bcm2835: Add leaf clock measurement support, disabled by default

This proved incredibly useful during debugging of the DSI driver, to
see if our clocks were running at rate we requested.  Let's leave it
here for the next person interacting with clocks on the platform (and
so that hopefully we can just hook it up to debugfs some day).

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
(cherry picked from commit 3f9195811d8d829556c4cd88d3f9e56a80d5ba60)
drivers/clk/bcm/clk-bcm2835.c