[U-Boot] Introduce clk framework

Hi,
Since we are moving towards to use dtb and driver model, we still lack of a clk framework.
I just have an idea to introduce linux clk framework to u-boot, then in driver code, we can do as linux "clk_enable/clk_disable/clk_set_freq".
I'd like to hear more voice on clk framework before I began porting the clk framework from kernel to U-Boot. Or redesign a simple one, if the kernel one is too complicated?
Thanks, Peng.

+Masahiro
Hi Peng,
On 28 April 2016 at 07:13, Peng Fan van.freenix@gmail.com wrote:
Hi,
Since we are moving towards to use dtb and driver model, we still lack of a clk framework.
I just have an idea to introduce linux clk framework to u-boot, then in driver code, we can do as linux "clk_enable/clk_disable/clk_set_freq".
I'd like to hear more voice on clk framework before I began porting the clk framework from kernel to U-Boot. Or redesign a simple one, if the kernel one is too complicated?
There is one already although it is not comprehensive and the uclass itself has very little functionality. It would be great to see more work in this area.
Thanks, Peng.
Regards, Simon
participants (2)
-
Peng Fan
-
Simon Glass