clk: bcm2835: expose raw clock-registers via debugfs
authorMartin Sperl <kernel@martin.sperl.org>
Mon, 29 Feb 2016 14:20:15 +0000 (14:20 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 17 Mar 2016 17:42:17 +0000 (10:42 -0700)
commit96bf9c69d5729781018a00f08e2ae395ec3346b4
treea792fed5889ce480e97175507ec431b03258703a
parent6e1e60dacee7b32aef1468ea461b02e4c7a90a45
clk: bcm2835: expose raw clock-registers via debugfs

For debugging purposes under some circumstance
it helps to be able to see the actual clock registers.

E.g: when looking at the clock divider it is helpful to
see what the actual clock divider is.

This patch exposes all the clock registers specific to each
clock/pll/pll-divider via debugfs.

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