On common struct clock in clock framework.

mind entropy mindentropy at gmail.com
Sun Jun 30 17:12:39 EDT 2013


Hi,

   I am reading through mini2440 code and understanding the clocking
code. I am getting confused as to whether it uses the common clocking
framework. In https://github.com/torvalds/linux/blob/master/arch/arm/plat-samsung/include/plat/clock.h#L42
they define a struct clk. Even in OMAP
(http://processors.wiki.ti.com/index.php/Clock_Framework_User_Guide#Software_Implementation)
they have a separate struct clk definition. In the common clocking
framework shouldn't they be using the common struct clk rather than
have their own versions of struct clk?

Thanks in advance.



More information about the Kernelnewbies mailing list