Messages in this thread | | | Date | Wed, 20 Aug 2014 10:52:22 +0300 | From | Mika Westerberg <> | Subject | Re: [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>
| |