linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] iio: bmg160: Add SPI connection
@ 2015-07-29 13:46 Markus Pargmann
  2015-07-29 13:46 ` [PATCH 1/7] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required Markus Pargmann
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Markus Pargmann @ 2015-07-29 13:46 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Srinivas Pandruvada, Vlad Dogaru, linux-iio, linux-kernel, kernel,
	Markus Pargmann

Hi,

bmg160 and bmi055 can be used via I2C and SPI. This series converts the driver
to regmap and splits core driver and I2C/SPI.

I only have a board which has a bmi055 connected via SPI. I am not able to test
the I2C part. Would be great if someone could test that the I2C driver is still
working.

Best regards,

Markus


Markus Pargmann (7):
  iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required
  iio: bmg160: Use i2c regmap instead of direct i2c access
  iio: bmg160: Remove i2c_client from data struct
  iio: bmg160: Use generic dev_drvdata
  iio: bmg160: Remove remaining uses of i2c_client
  iio: bmg160: Separate i2c and core driver
  iio: bmg160: Add SPI driver

 drivers/iio/gyro/Kconfig                     |  32 ++-
 drivers/iio/gyro/Makefile                    |   4 +-
 drivers/iio/gyro/bmg160.h                    |  10 +
 drivers/iio/gyro/{bmg160.c => bmg160_core.c} | 356 +++++++++++----------------
 drivers/iio/gyro/bmg160_i2c.c                |  73 ++++++
 drivers/iio/gyro/bmg160_spi.c                |  59 +++++
 6 files changed, 312 insertions(+), 222 deletions(-)
 create mode 100644 drivers/iio/gyro/bmg160.h
 rename drivers/iio/gyro/{bmg160.c => bmg160_core.c} (74%)
 create mode 100644 drivers/iio/gyro/bmg160_i2c.c
 create mode 100644 drivers/iio/gyro/bmg160_spi.c

-- 
2.1.4


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

end of thread, other threads:[~2015-08-03 10:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-29 13:46 [PATCH 0/7] iio: bmg160: Add SPI connection Markus Pargmann
2015-07-29 13:46 ` [PATCH 1/7] iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required Markus Pargmann
2015-07-31 19:20   ` Srinivas Pandruvada
2015-08-02 18:30     ` Jonathan Cameron
2015-07-29 13:46 ` [PATCH 2/7] iio: bmg160: Use i2c regmap instead of direct i2c access Markus Pargmann
2015-07-29 18:37   ` Markus Pargmann
2015-07-30 10:49     ` Paul Bolle
2015-07-30 11:44       ` Markus Pargmann
2015-07-31 19:29   ` Srinivas Pandruvada
2015-08-02 17:33     ` Markus Pargmann
2015-07-29 13:46 ` [PATCH 3/7] iio: bmg160: Remove i2c_client from data struct Markus Pargmann
2015-07-29 13:46 ` [PATCH 4/7] iio: bmg160: Use generic dev_drvdata Markus Pargmann
2015-07-29 13:46 ` [PATCH 5/7] iio: bmg160: Remove remaining uses of i2c_client Markus Pargmann
2015-07-29 13:46 ` [PATCH 6/7] iio: bmg160: Separate i2c and core driver Markus Pargmann
2015-07-29 13:46 ` [PATCH 7/7] iio: bmg160: Add SPI driver Markus Pargmann
2015-08-03 10:07   ` Markus Pargmann

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).