Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1210485
| From | Markus Pargmann <mpa@pengutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/4] iio: bmc150 regmap and SPI |
| Date | 2015-08-20 15:00 +0200 |
| Message-ID | <pZxBM-5jT-23@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi,
this series converts the bmc150 driver to use regmap and adds an SPI interface.
In v1 this was part of the series "Regmap max_raw_io and bmc150 SPI support".
It now depends on "regmap: i2c block support".
Changes in v2:
- Removed default values for regmap_config fields.
- Redesigned the fifo_transfer function to avoid running in errors first.
- Dropped irq checks patch as it is already mainline
- Core can now be built as module with autoselection of i2c and spi parts
As my hardware is missing an interrupt line from the SPI connected bmc150 I am
not able to test the iio buffer code path and the i2c code path. Tests would be
appreciated.
Best regards,
Markus
Markus Pargmann (4):
iio: bmc150: Use i2c regmap
iio: bcm150: Remove i2c_client from private data
iio: bmc150: Split the driver into core and i2c
iio: bmc150: Add SPI driver
drivers/iio/accel/Kconfig | 14 +-
drivers/iio/accel/Makefile | 4 +-
.../accel/{bmc150-accel.c => bmc150-accel-core.c} | 398 ++++++++-------------
drivers/iio/accel/bmc150-accel-i2c.c | 99 +++++
drivers/iio/accel/bmc150-accel-spi.c | 83 +++++
drivers/iio/accel/bmc150-accel.h | 21 ++
6 files changed, 367 insertions(+), 252 deletions(-)
rename drivers/iio/accel/{bmc150-accel.c => bmc150-accel-core.c} (81%)
create mode 100644 drivers/iio/accel/bmc150-accel-i2c.c
create mode 100644 drivers/iio/accel/bmc150-accel-spi.c
create mode 100644 drivers/iio/accel/bmc150-accel.h
--
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 v2 0/4] iio: bmc150 regmap and SPI Markus Pargmann <mpa@pengutronix.de> - 2015-08-20 15:00 +0200
[PATCH v2 3/4] iio: bmc150: Split the driver into core and i2c Markus Pargmann <mpa@pengutronix.de> - 2015-08-20 15:00 +0200
Re: [PATCH v2 3/4] iio: bmc150: Split the driver into core and i2c Jonathan Cameron <jic23@kernel.org> - 2015-08-31 18:20 +0200
Re: [PATCH v2 3/4] iio: bmc150: Split the driver into core and i2c Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2015-09-01 16:10 +0200
[PATCH v2 1/4] iio: bmc150: Use i2c regmap Markus Pargmann <mpa@pengutronix.de> - 2015-08-20 15:00 +0200
Re: [PATCH v2 1/4] iio: bmc150: Use i2c regmap Jonathan Cameron <jic23@kernel.org> - 2015-08-31 18:20 +0200
Re: [PATCH v2 1/4] iio: bmc150: Use i2c regmap Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2015-08-31 21:40 +0200
Re: [PATCH v2 1/4] iio: bmc150: Use i2c regmap Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2015-09-01 16:00 +0200
[PATCH v2 4/4] iio: bmc150: Add SPI driver Markus Pargmann <mpa@pengutronix.de> - 2015-08-20 15:00 +0200
Re: [PATCH v2 4/4] iio: bmc150: Add SPI driver Jonathan Cameron <jic23@kernel.org> - 2015-08-31 18:20 +0200
Re: [PATCH v2 4/4] iio: bmc150: Add SPI driver Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2015-09-01 16:20 +0200
csiph-web