From: Jonathan Cameron <jic23@kernel.org>
To: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Cc: linux-iio@vger.kernel.org, lorenzo.bianconi@st.com
Subject: Re: [PATCH 2/3] iio: magnetometer: st_magn: add SPI-3wire support to LIS3MDL
Date: Tue, 10 Oct 2017 20:43:48 +0100 [thread overview]
Message-ID: <20171010204348.2cd8c826@archlinux> (raw)
In-Reply-To: <20170917152047.12631-3-lorenzo.bianconi@st.com>
On Sun, 17 Sep 2017 17:20:46 +0200
Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> wrote:
> Add SPI Serial Interface Mode (SIM) register information to
> LIS3MDL magn sensor
>
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Applied.
> ---
> drivers/iio/magnetometer/st_magn_core.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/iio/magnetometer/st_magn_core.c b/drivers/iio/magnetometer/st_magn_core.c
> index 8745686f233c..72f6d1335a04 100644
> --- a/drivers/iio/magnetometer/st_magn_core.c
> +++ b/drivers/iio/magnetometer/st_magn_core.c
> @@ -322,6 +322,10 @@ static const struct st_sensor_settings st_magn_sensors_settings[] = {
> .mask = 0x07,
> },
> },
> + .sim = {
> + .addr = 0x22,
> + .value = BIT(2),
> + },
> .multi_read_bit = true,
> .bootime = 2,
> },
next prev parent reply other threads:[~2017-10-10 19:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-17 15:20 [PATCH 0/3] add SPI-3wire support to ST gyro/magn/pressure framework Lorenzo Bianconi
2017-09-17 15:20 ` [PATCH 1/3] iio: gyro: st_gyro: add SPI-3wire support to st_gyro framework Lorenzo Bianconi
2017-10-10 19:34 ` Jonathan Cameron
2017-09-17 15:20 ` [PATCH 2/3] iio: magnetometer: st_magn: add SPI-3wire support to LIS3MDL Lorenzo Bianconi
2017-10-10 19:43 ` Jonathan Cameron [this message]
2017-09-17 15:20 ` [PATCH 3/3] iio: pressure: st_pressure: add SPI-3wire support to st_pressure framework Lorenzo Bianconi
2017-10-10 19:38 ` Jonathan Cameron
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=20171010204348.2cd8c826@archlinux \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=lorenzo.bianconi83@gmail.com \
--cc=lorenzo.bianconi@st.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.