Re: [RFC v1] clk: Add debugfs nodes for enable/disable/set-rate/set-parent
From: Holger Schurig
Date: Fri Feb 26 2016 - 03:22:37 EST
Pankaj DEV <pankaj.dev@xxxxxx> writes:
> The prime motive for clk_set_rate is to set new rate for a clock,
> since the 'clk_rate' currently available, allows only reading.
> To provide reading rate from 'clk_set_rate' is just additional feature.
Sure.
But my point is to combine things.
After your patch:
- read via clk_rate
- read via clk_set_rate
- write via clk_set_rate
My proposal:
- read via clk_rate
- write via clk_rate