lkml.org 
[lkml]   [2014]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] i2c: designware: deduce speed mode from device tree setting
    On Tue, Aug 19, 2014 at 03:18:49PM -0500, atull@opensource.altera.com wrote:
    > From: Alan Tull <atull@opensource.altera.com>
    >
    > Use the documented, but unimplemented "clock-frequency"
    > Device Tree setting as a guide on whether to set the speed
    > mode bits in DW_IC_CON to standard or fast i2c mode.
    >
    > Previously, the driver was hardwired to fast mode. Default
    > to fast mode if the "clock-frequency" property is not present
    > for backwards compatiblity.
    >
    > Signed-off-by: Alan Tull <atull@opensource.altera.com>

    I don't know much about the Device Tree bindings but the patch looks
    good to me,

    Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>


    \
     
     \ /
      Last update: 2014-08-20 10:21    [W:5.364 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site