Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379849 > unrolled thread

[PATCH 0/2] Introduce SPI support for BMC150 chip

Started byDaniel Baluta <daniel.baluta@intel.com>
First post2016-04-15 16:20 +0200
Last post2016-04-15 16:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] Introduce SPI support for BMC150 chip Daniel Baluta <daniel.baluta@intel.com> - 2016-04-15 16:20 +0200

#1379849 — [PATCH 0/2] Introduce SPI support for BMC150 chip

FromDaniel Baluta <daniel.baluta@intel.com>
Date2016-04-15 16:20 +0200
Subject[PATCH 0/2] Introduce SPI support for BMC150 chip
Message-ID<rocLg-4gd-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web