clk: JSON debugfs clock tree summary
authorPrashant Gaikwad <pgaikwad@nvidia.com>
Wed, 26 Dec 2012 13:46:23 +0000 (19:16 +0530)
committerMike Turquette <mturquette@linaro.org>
Sat, 12 Jan 2013 03:49:23 +0000 (19:49 -0800)
Clock information is dumped in JSON format which is easy
for machines to parse.

Each clock is represented as an object which has same name as
clock and following properties
- enable_count
- prepare_count
- rate

Output is verified using online JSON editor.

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk.c

Simple merge