OSDN Git Service

clk: add accuracy support for fixed clock
authorBoris BREZILLON <b.brezillon@overkiz.com>
Sat, 21 Dec 2013 09:34:48 +0000 (10:34 +0100)
committerMike Turquette <mturquette@linaro.org>
Mon, 23 Dec 2013 07:14:28 +0000 (23:14 -0800)
commit0903ea60173fab226a867ceb080b2e0269a6c975
tree426e65588ada203d419495126323d0a009dcdee0
parent5279fc402ae59361a224d641d5823b21b4206232
clk: add accuracy support for fixed clock

This patch adds support for accuracy retrieval on fixed clocks.
It also adds a new dt property called 'clock-accuracy' to define the clock
accuracy.

This can be usefull for oscillator (RC, crystal, ...) definitions which are
always given an accuracy characteristic.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/fixed-clock.txt
drivers/clk/clk-fixed-rate.c
include/linux/clk-provider.h