[lkml]   [2012]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v5 3/4] clk: introduce the common clock framework
    On Fri, Mar 16, 2012 at 08:23:57PM -0700, Saravana Kannan wrote:
    > On 03/07/2012 01:20 PM, Turquette, Mike wrote:
    > >Admittedly I think that the OMAP code could migrate some of these bits
    > >to a lazy-registration model, specifically the hwmod object instances,
    > >but that requires an awful lot of refactoring for a fairly large stack
    > >of platform code. This might be something to achieve in the future
    > >but for now we *need* initialisation to be fully static.
    > When we work on moving clocks to device tree, wouldn't you face the
    > same problem? You will have to dynamically create most of the clocks
    > in that case too.
    From what I heard from Mike[1], Omap will not have most of the clocks
    encoded in device tree.

    Although my original preference was to have all the clocks represented
    in device tree and dynamically registered to clk framework, I've heard
    people including Grant incline to only have oscillator and leaf modules
    clocks in device tree. I somehow agree with that now, because having
    all the clocks in there will bloat device tree dramatically, considering
    there will be 3 clks, clk_gate, clk_divider and clk_mux backing one
    clock in general.

    Assuming we would agree to have most SoC internal clocks registered
    from clock driver rather than device tree, I would like to hear about
    how we should have these clock registered from clock driver, static
    initialization or using register function?



     \ /
      Last update: 2012-03-19 08:43    [W:0.022 / U:0.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site