Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1209804
| From | Markus Pargmann <mpa@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 0/2] iio: bmg160: Add SPI connection |
| Date | 2015-08-19 14:20 +0200 |
| Message-ID | <pZavw-5CZ-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v4 0/2] iio: bmg160: Add SPI connection Markus Pargmann <mpa@pengutronix.de> - 2015-08-19 14:20 +0200
[PATCH v4 2/2] iio: bmg160: Add SPI driver Markus Pargmann <mpa@pengutronix.de> - 2015-08-19 14:20 +0200
Re: [PATCH v4 2/2] iio: bmg160: Add SPI driver Jonathan Cameron <jic23@kernel.org> - 2015-08-31 18:10 +0200
[PATCH v4 1/2] iio: bmg160: Separate i2c and core driver Markus Pargmann <mpa@pengutronix.de> - 2015-08-19 14:20 +0200
Re: [PATCH v4 1/2] iio: bmg160: Separate i2c and core driver Jonathan Cameron <jic23@kernel.org> - 2015-08-31 18:10 +0200
csiph-web