All of lore.kernel.org
 help / color / mirror / Atom feed
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 1/3] iio: gyro: st_gyro: add SPI-3wire support to st_gyro framework
Date: Tue, 10 Oct 2017 20:34:02 +0100	[thread overview]
Message-ID: <20171010203402.27bd0666@archlinux> (raw)
In-Reply-To: <20170917152047.12631-2-lorenzo.bianconi@st.com>

On Sun, 17 Sep 2017 17:20:45 +0200
Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> wrote:

> Add SPI Serial Interface Mode (SIM) register information
> to STM gyroscope 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/gyro/st_gyro_core.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/drivers/iio/gyro/st_gyro_core.c b/drivers/iio/gyro/st_gyro_core.c
> index 46991f7131d1..b31064ba37b9 100644
> --- a/drivers/iio/gyro/st_gyro_core.c
> +++ b/drivers/iio/gyro/st_gyro_core.c
> @@ -125,6 +125,10 @@ static const struct st_sensor_settings st_gyro_sensors_settings[] = {
>  				.mask = 0x07,
>  			},
>  		},
> +		.sim = {
> +			.addr = 0x23,
> +			.value = BIT(0),
> +		},
>  		.multi_read_bit = true,
>  		.bootime = 2,
>  	},
> @@ -200,6 +204,10 @@ static const struct st_sensor_settings st_gyro_sensors_settings[] = {
>  				.mask = 0x07,
>  			},
>  		},
> +		.sim = {
> +			.addr = 0x23,
> +			.value = BIT(0),
> +		},
>  		.multi_read_bit = true,
>  		.bootime = 2,
>  	},
> @@ -270,6 +278,10 @@ static const struct st_sensor_settings st_gyro_sensors_settings[] = {
>  				.mask = 0x07,
>  			},
>  		},
> +		.sim = {
> +			.addr = 0x23,
> +			.value = BIT(0),
> +		},
>  		.multi_read_bit = true,
>  		.bootime = 2,
>  	},


  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 [this message]
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

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=20171010203402.27bd0666@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.