linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Bakker <xc-racer2@live.ca>
To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de,
	pmeerw@pmeerw.net, robh+dt@kernel.org, linus.walleij@linaro.org,
	kstewart@linuxfoundation.org, tglx@linutronix.de,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Jonathan Bakker <xc-racer2@live.ca>
Subject: [PATCH v2 2/7] iio: accel: Make bma180 conflict with input's bma150
Date: Thu, 14 May 2020 13:48:56 -0700	[thread overview]
Message-ID: <BN6PR04MB0660FE5CCD136539A328B29EA3BC0@BN6PR04MB0660.namprd04.prod.outlook.com> (raw)
In-Reply-To: <20200514204901.3199-1-xc-racer2@live.ca>

The bma180 IIO driver is being extended for support for the chips
support by input's bma150 driver (bma023, bma150, smb380). Don't
allow both drivers to be enabled simultaneously as they're for the
same hardware.

Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
---
 drivers/iio/accel/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index 5d91a6dda894..09e8c51f854a 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -90,7 +90,7 @@ config ADXL372_I2C
 
 config BMA180
 	tristate "Bosch BMA180/BMA25x 3-Axis Accelerometer Driver"
-	depends on I2C
+	depends on I2C && INPUT_BMA150=n
 	select IIO_BUFFER
 	select IIO_TRIGGERED_BUFFER
 	help
-- 
2.20.1


  parent reply	other threads:[~2020-05-14 20:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200514204901.3199-1-xc-racer2@live.ca>
2020-05-14 20:48 ` [PATCH v2 1/7] iio: accel: bma180: Prepare for different reset values Jonathan Bakker
2020-05-14 20:48 ` Jonathan Bakker [this message]
2020-05-15 11:46   ` [PATCH v2 2/7] iio: accel: Make bma180 conflict with input's bma150 Linus Walleij
2020-05-14 20:48 ` [PATCH v2 3/7] dt-bindings: iio: accel: Add bma150 family compatibles to bma180 Jonathan Bakker
2020-05-14 20:48 ` [PATCH v2 4/7] dt-bindings: iio: accel: Add required regulators " Jonathan Bakker
2020-05-16 15:03   ` Jonathan Cameron
2020-05-14 20:48 ` [PATCH v2 5/7] iio: accel: bma180: Add support for bma023 Jonathan Bakker
2020-05-14 20:49 ` [PATCH v2 6/7] iio: accel: bma180: Rename center_temp to temp_offset Jonathan Bakker
2020-05-15 11:47   ` Linus Walleij
2020-05-14 20:49 ` [PATCH v2 7/7] iio: accel: Add bma150/smb380 support to bma180 Jonathan Bakker
2020-05-15 11:48   ` Linus Walleij
2020-05-15 11:49     ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN6PR04MB0660FE5CCD136539A328B29EA3BC0@BN6PR04MB0660.namprd04.prod.outlook.com \
    --to=xc-racer2@live.ca \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=kstewart@linuxfoundation.org \
    --cc=lars@metafoo.de \
    --cc=linus.walleij@linaro.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    --cc=robh+dt@kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).