[PATCH v2 0/4] iio: accel: bmc150: Add support for INT2 and BMC156

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series makes it possible to set up interrupts with the BMC150 driver
on boards where only the INT2 pin is connected (and not INT1). This is
particularly always the case for BMC156 since for some reason it only
has the INT2 pin and not the INT1 pin.

These changes were already partially discussed here:
https://lore.kernel.org/linux-iio/YMOphuXSoODIVX06@xxxxxxxxxxx/

Changes in v2:
  - PATCH 1/4: Clarify order of "interrupts" with "interrupt-names"
  - PATCH 4/4: Wrap a long line, clarify BOSCH_UNKNOWN with a comment

v1: https://lore.kernel.org/linux-iio/20210719112156.27087-1-stephan@xxxxxxxxxxx/

Stephan Gerhold (4):
  dt-bindings: iio: accel: bma255: Add interrupt-names
  dt-bindings: iio: accel: bma255: Add bosch,bmc156_accel
  iio: accel: bmc150: Make it possible to configure INT2 instead of INT1
  iio: accel: bmc150: Add support for BMC156

 .../bindings/iio/accel/bosch,bma255.yaml      | 34 +++++++-
 drivers/iio/accel/Kconfig                     |  5 +-
 drivers/iio/accel/bmc150-accel-core.c         | 78 +++++++++++++++----
 drivers/iio/accel/bmc150-accel-i2c.c          | 10 ++-
 drivers/iio/accel/bmc150-accel-spi.c          | 10 ++-
 drivers/iio/accel/bmc150-accel.h              | 20 ++++-
 6 files changed, 134 insertions(+), 23 deletions(-)

-- 
2.32.0




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux