Thread (17 messages) 17 messages, 3 authors, 2017-03-17

Re: [RESEND PATCH v6 2/6] i2c: designware: refactoring of the i2c-designware

From: Jarkko Nikula <hidden>
Date: 2017-03-02 13:55:16
Also in: linux-i2c, lkml

On 03/01/17 17:59, Luis Oliveira wrote:
- Factor out all _master() part of code from i2c-designware-core
  and i2c-designware-platdrv to separate functions.
- Standardize all code related with MASTER mode.
- I have to take off DW_IC_INTR_TX_EMPTY from DW_IC_INTR_DEFAULT_MASK
  because it is master specific.

The purpose of this is to prepare the controller to have is I2C MASTER
flow in a separate driver. To do this first all the
functions/definitions related to the MASTER flow were identified.

Signed-off-by: Luis Oliveira <redacted>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
V5->v6
- Removed the __func__ of dev_dbg prints
- Fix i2c_dw_configure_master() to accept dw_i2c_dev *

 drivers/i2c/busses/i2c-designware-core.c    | 56 +++++++++++++++++------------
 drivers/i2c/busses/i2c-designware-platdrv.c | 31 +++++++++-------
 2 files changed, 52 insertions(+), 35 deletions(-)
Acked-by: Jarkko Nikula <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help