lkml.org 
[lkml]   [2016]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc
    Date
    David,

    Am Donnerstag, 14. April 2016, 20:48:48 schrieb Wolfram Sang:
    > > + - input-clk-rate : frequency rate of function clock used(in Hz). If
    > > omitted, + the default clock rate is used. It is just used at rk3399 soc.
    >
    > Why is this needed? Why don't we simply use the default or calculate the
    > best value somehow?

    if you need to _get_ the clock-rate, clk_get_rate is the abvious choice and if
    you need to _set_ some specific rate, I guess it should be done via the
    assigned-clocks mechanism in the devicetree - see veyron dts files that already
    do this for some other parts.


    \
     
     \ /
      Last update: 2016-04-15 09:41    [W:6.259 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site