All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v12 0/2] i2c: designware: add I2C SLAVE support
@ 2017-06-22 10:17 ` Luis Oliveira
  0 siblings, 0 replies; 11+ messages in thread
From: Luis Oliveira @ 2017-06-22 10:17 UTC (permalink / raw)
  To: wsa, robh+dt, mark.rutland, jarkko.nikula, andriy.shevchenko,
	mika.westerberg, linux-i2c, devicetree, linux-kernel
  Cc: Luis.Oliveira, Ramiro.Oliveira, Joao.Pinto, CARLOS.PALMINHA

This patches follows the merged patchset that refactors I2C Designware and
enables it to have I2C support.

The patch 1 adds the necessary functions to give the ability to be a SLAVE
to the controller and for that changes also had to be made in the 
Makefile and Kconfig.
The patch 2 enables the SLAVE mode to be detected by the platform module.

The functionality was tested using the hardware independent slave-eeprom
driver based on top of i2c/for-next. The tree I used can be found here:

https://git.kernel.org/cgit/linux/kernel/git/wsa/linux.git/log/?h=i2c/for-next

Luis Oliveira (2):
  i2c: designware: add SLAVE mode functions
  i2c: designware: enable SLAVE in platform module

 drivers/i2c/busses/Kconfig                  |  14 +-
 drivers/i2c/busses/Makefile                 |   3 +
 drivers/i2c/busses/i2c-designware-common.c  |   6 +
 drivers/i2c/busses/i2c-designware-core.h    |   4 +
 drivers/i2c/busses/i2c-designware-platdrv.c |  41 ++-
 drivers/i2c/busses/i2c-designware-slave.c   | 395 ++++++++++++++++++++++++++++
 6 files changed, 457 insertions(+), 6 deletions(-)
 create mode 100644 drivers/i2c/busses/i2c-designware-slave.c

-- 
2.13.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-06-27 21:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-22 10:17 [PATCH v12 0/2] i2c: designware: add I2C SLAVE support Luis Oliveira
2017-06-22 10:17 ` Luis Oliveira
2017-06-22 10:17 ` [PATCH v12 1/2] i2c: designware: add SLAVE mode functions Luis Oliveira
2017-06-27 14:22   ` Andy Shevchenko
2017-06-27 14:22   ` Jarkko Nikula
2017-06-27 14:22     ` Jarkko Nikula
2017-06-27 21:35   ` Wolfram Sang
2017-06-27 21:35     ` Wolfram Sang
2017-06-22 10:17 ` [PATCH v12 2/2] i2c: designware: enable SLAVE in platform module Luis Oliveira
2017-06-27 14:11   ` Jarkko Nikula
2017-06-27 21:35   ` Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.