Hi everyone,
I am a beginner of DM8168, now I want a high frequency clock, which can be programmed and interupted within 1 milliseconds.
The precision of usleep seems not so high to do this work.
So, I think maybe I should use the timer hardware on the board to implement this work.
I found in the kernel, a 27Mhz clock was registed in clock816x_data.c
------------------------------------------------------
static struct clk sys_clkin_ck = {
.name = "sys_clkin_ck",
.ops = &clkops_null,
.rate = 27000000,
.flags = RATE_IN_TI816X,
};
------------------------------------------------------
But how to use it? Is there any example about how to set the timer ?
Thank you.
Best wishes,
lei