[RFC v1] clk: Add debugfs nodes for enable/disable/set-rate/set-parent

Holger Schurig holgerschurig at gmail.com
Fri Feb 26 00:22:29 PST 2016


Pankaj DEV <pankaj.dev at st.com> 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



More information about the linux-arm-kernel mailing list