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 3/3] iio: pressure: st_pressure: add SPI-3wire support to st_pressure framework
Date: Tue, 10 Oct 2017 20:38:15 +0100 [thread overview]
Message-ID: <20171010203815.751cc2e2@archlinux> (raw)
In-Reply-To: <20170917152047.12631-4-lorenzo.bianconi@st.com>
On Sun, 17 Sep 2017 17:20:47 +0200
Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> wrote:
> Add SPI Serial Interface Mode (SIM) register information
> to STM pressure framework
>
> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to play with it.
Thanks,
Jonathan
> ---
> drivers/iio/pressure/st_pressure_core.c | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/drivers/iio/pressure/st_pressure_core.c b/drivers/iio/pressure/st_pressure_core.c
> index b8890e37a2d2..15ad6054d9f6 100644
> --- a/drivers/iio/pressure/st_pressure_core.c
> +++ b/drivers/iio/pressure/st_pressure_core.c
> @@ -297,6 +297,10 @@ static const struct st_sensor_settings st_press_sensors_settings[] = {
> .mask = 0x03,
> },
> },
> + .sim = {
> + .addr = 0x20,
> + .value = BIT(0),
> + },
> .multi_read_bit = true,
> .bootime = 2,
> },
> @@ -343,6 +347,10 @@ static const struct st_sensor_settings st_press_sensors_settings[] = {
> .addr = 0x20,
> .mask = 0x04,
> },
> + .sim = {
> + .addr = 0x20,
> + .value = BIT(0),
> + },
> .multi_read_bit = true,
> .bootime = 2,
> },
> @@ -406,6 +414,10 @@ static const struct st_sensor_settings st_press_sensors_settings[] = {
> .mask = 0x03,
> },
> },
> + .sim = {
> + .addr = 0x20,
> + .value = BIT(0),
> + },
> .multi_read_bit = true,
> .bootime = 2,
> },
> @@ -471,6 +483,10 @@ static const struct st_sensor_settings st_press_sensors_settings[] = {
> .mask = 0x03,
> },
> },
> + .sim = {
> + .addr = 0x10,
> + .value = BIT(0),
> + },
> .multi_read_bit = false,
> .bootime = 2,
> },
prev parent reply other threads:[~2017-10-10 19:42 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
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 [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=20171010203815.751cc2e2@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 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).