[PATCH 3/9] clk: sunxi: Add prcm mod0 clock driver
Hans de Goede
hdegoede at redhat.com
Tue Nov 25 00:37:13 PST 2014
On 11/25/2014 09:29 AM, Hans de Goede wrote:
> Well one reasons why clocks are instantiated the way they are is to have
> them available as early as possible, which is really convenient and works
> really well.
> You are asking for a whole lot of stuff to be changed, arguably in a way
> which makes it worse, just to save 47 lines of code...
Thinking more about this one alternative which should work is to just put the
clocks in the prcm in the clocks node, then they get their own reg property,
rather then being part of the prcm reg range, and the standard of_clk mod0
driver we have will just work.
More information about the linux-arm-kernel