linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] iio: bmg160: Add SPI connection
@ 2015-08-19 12:12 Markus Pargmann
  2015-08-19 12:12 ` [PATCH v4 1/2] iio: bmg160: Separate i2c and core driver Markus Pargmann
  2015-08-19 12:12 ` [PATCH v4 2/2] iio: bmg160: Add SPI driver Markus Pargmann
  0 siblings, 2 replies; 6+ messages in thread
From: Markus Pargmann @ 2015-08-19 12:12 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Srinivas Pandruvada, Irina Tirdea, Vlad Dogaru, linux-iio,
	linux-kernel, kernel, Markus Pargmann

Hi,

These are the remaining two patches for the bmg160 driver. These split core
driver from the I2C part and add the SPI regmap setup as separate driver.

Changes in v4:
- Fixed include of bmg160 header
- Changed Kconfig/Makefile setup to automatically select I2C and SPI drivers
  dependending on the configurations state of the subsystems. The core driver
  is compiled once and can be a module now.

Best regards,

Markus


Markus Pargmann (2):
  iio: bmg160: Separate i2c and core driver
  iio: bmg160: Add SPI driver

 drivers/iio/gyro/Kconfig                     | 20 +++++--
 drivers/iio/gyro/Makefile                    |  4 +-
 drivers/iio/gyro/bmg160.h                    | 10 ++++
 drivers/iio/gyro/{bmg160.c => bmg160_core.c} | 79 +++++-----------------------
 drivers/iio/gyro/bmg160_i2c.c                | 71 +++++++++++++++++++++++++
 drivers/iio/gyro/bmg160_spi.c                | 57 ++++++++++++++++++++
 6 files changed, 170 insertions(+), 71 deletions(-)
 create mode 100644 drivers/iio/gyro/bmg160.h
 rename drivers/iio/gyro/{bmg160.c => bmg160_core.c} (94%)
 create mode 100644 drivers/iio/gyro/bmg160_i2c.c
 create mode 100644 drivers/iio/gyro/bmg160_spi.c

-- 
2.4.6


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

end of thread, other threads:[~2015-09-14 14:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-19 12:12 [PATCH v4 0/2] iio: bmg160: Add SPI connection Markus Pargmann
2015-08-19 12:12 ` [PATCH v4 1/2] iio: bmg160: Separate i2c and core driver Markus Pargmann
2015-08-31 16:05   ` Jonathan Cameron
2015-09-14 14:26     ` Markus Pargmann
2015-08-19 12:12 ` [PATCH v4 2/2] iio: bmg160: Add SPI driver Markus Pargmann
2015-08-31 16:06   ` 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).