linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce SPI support for BMC150 chip
@ 2016-04-15 14:13 Daniel Baluta
  2016-04-15 14:13 ` [PATCH 1/2] iio: magn: Split bmc150 driver in common/i2c parts Daniel Baluta
  2016-04-15 14:13 ` [PATCH 2/2] iio: magn: bmc150: Introduce SPI support Daniel Baluta
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Baluta @ 2016-04-15 14:13 UTC (permalink / raw)
  To: jic23, irina.tirdea
  Cc: knaack.h, lars, pmeerw, daniel.baluta, geert, vlad.dogaru,
	octavian.purdila, linux-kernel, linux-iio

First patch splits the current architecture into a common part
and a bus specific part. Second patch adds SPI support.

We will have 3 modules:

* bmc150_magn.ko - exposes core functionality
* bmc150_magn_i2c.ko - instantiates I2C regmap and uses core
* bmc150_magn_spi.ko - instantiates SPI regmap and uses core

Daniel Baluta (2):
  iio: magn: Split bmc150 driver in common/i2c parts
  iio: magn: bmc150: Introduce SPI support

 drivers/iio/magnetometer/Kconfig           |  31 ++++--
 drivers/iio/magnetometer/Makefile          |   3 +
 drivers/iio/magnetometer/bmc150_magn.c     | 155 ++++++++++++-----------------
 drivers/iio/magnetometer/bmc150_magn.h     |  11 ++
 drivers/iio/magnetometer/bmc150_magn_i2c.c |  77 ++++++++++++++
 drivers/iio/magnetometer/bmc150_magn_spi.c |  68 +++++++++++++
 6 files changed, 247 insertions(+), 98 deletions(-)
 create mode 100644 drivers/iio/magnetometer/bmc150_magn.h
 create mode 100644 drivers/iio/magnetometer/bmc150_magn_i2c.c
 create mode 100644 drivers/iio/magnetometer/bmc150_magn_spi.c

-- 
2.5.0


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

end of thread, other threads:[~2016-04-18 19:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 14:13 [PATCH 0/2] Introduce SPI support for BMC150 chip Daniel Baluta
2016-04-15 14:13 ` [PATCH 1/2] iio: magn: Split bmc150 driver in common/i2c parts Daniel Baluta
2016-04-17 10:02   ` Jonathan Cameron
2016-04-18 11:24     ` Tirdea, Irina
2016-04-18 19:44       ` Jonathan Cameron
2016-04-15 14:13 ` [PATCH 2/2] iio: magn: bmc150: Introduce SPI support Daniel Baluta
2016-04-17 10:04   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).