Obtain the clock accuracy in ppb (parts per billion) for a clock source.
long clk_get_accuracy(struct clk * clk);
clk
clock source
This gets the clock source accuracy expressed in ppb. A perfect clock returns 0.