All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Vlad Dogaru <vlad.dogaru@intel.com>,
	irina.tirdea@intel.com, linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/2] iio: magn: bmc150: add support for bmc156
Date: Sun, 21 Jun 2015 14:57:40 +0100	[thread overview]
Message-ID: <5586C2D4.9090009@kernel.org> (raw)
In-Reply-To: <1434097899-13984-3-git-send-email-vlad.dogaru@intel.com>

On 12/06/15 09:31, Vlad Dogaru wrote:
> The BMC156 is a slightly less capable version of BMC150 which lacks
> support for magnetometer thresholds.  Since this driver does not support
> those anyway, adding support is trivial.
> 
> Datasheet is available at
> https://ae-bst.resource.bosch.com/media/products/dokumente/bmc156_1/BST-BMC156-DS000-01.pdf
> 
> Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
Applied,

Thanks,

Jonathan
> ---
>  drivers/iio/magnetometer/bmc150_magn.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/iio/magnetometer/bmc150_magn.c b/drivers/iio/magnetometer/bmc150_magn.c
> index a0e64f1..cd00271 100644
> --- a/drivers/iio/magnetometer/bmc150_magn.c
> +++ b/drivers/iio/magnetometer/bmc150_magn.c
> @@ -1089,12 +1089,14 @@ static const struct dev_pm_ops bmc150_magn_pm_ops = {
>  
>  static const struct acpi_device_id bmc150_magn_acpi_match[] = {
>  	{"BMC150B", 0},
> +	{"BMC156B", 0},
>  	{},
>  };
>  MODULE_DEVICE_TABLE(acpi, bmc150_magn_acpi_match);
>  
>  static const struct i2c_device_id bmc150_magn_id[] = {
>  	{"bmc150_magn", 0},
> +	{"bmc156_magn", 0},
>  	{},
>  };
>  MODULE_DEVICE_TABLE(i2c, bmc150_magn_id);
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in

      reply	other threads:[~2015-06-21 13:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12  8:31 [PATCH 0/2] iio: bmc150: buffer cleanup and support for a new chip Vlad Dogaru
2015-06-12  8:31 ` [PATCH 1/2] iio: magn: bmc150: decouple buffer and trigger Vlad Dogaru
2015-06-13 18:04   ` Jonathan Cameron
2015-06-23 14:18     ` Tirdea, Irina
2015-06-21 13:57   ` Jonathan Cameron
2015-06-12  8:31 ` [PATCH 2/2] iio: magn: bmc150: add support for bmc156 Vlad Dogaru
2015-06-21 13:57   ` Jonathan Cameron [this message]

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=5586C2D4.9090009@kernel.org \
    --to=jic23@kernel.org \
    --cc=irina.tirdea@intel.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=vlad.dogaru@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.