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>
Sat, 31 Mar 2018 14:45:25 +0000 (15:45 +0100)
commitdaf94a9f359e58aad9f7360a89572dbf99f38de2
treeb9e43ef4bec94ed470a4e6562f24e56d5e09ee57
parentdfec97ab0fc7cb32f5bfcad7ce42df957395f817
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