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)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:00:11 +0000 (01:00 +0000)
commitb6ea97a245e93c059afdd97460b83c7b50bd20e2
treea6482a0e16234c89cb9100364a13447a08fbb58d
parent434fa4aa102740ee55fdaa291199f5081e6e6139
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