devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Kaustabh Chakraborty <kauschluss@disroot.org>
Cc: linux-iio@vger.kernel.org, jic23@kernel.org, denis.ciocca@st.com,
	devicetree@vger.kernel.org, linus.walleij@linaro.org,
	robh+dt@kernel.org
Subject: Re: [PATCH v3] iio: accel: st_accel: add LIS2DS12
Date: Sat, 1 Jun 2024 20:49:25 +0100	[thread overview]
Message-ID: <20240601-spouse-hurler-e7b93ac26f86@spud> (raw)
In-Reply-To: <20240601192914.141906-1-kauschluss@disroot.org>

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

On Sun, Jun 02, 2024 at 12:56:41AM +0530, Kaustabh Chakraborty wrote:
> diff --git a/drivers/iio/accel/st_accel_i2c.c b/drivers/iio/accel/st_accel_i2c.c
> index fd3749871121..329a4d6fb2ec 100644
> --- a/drivers/iio/accel/st_accel_i2c.c
> +++ b/drivers/iio/accel/st_accel_i2c.c
> @@ -102,6 +102,10 @@ static const struct of_device_id st_accel_of_match[] = {
>  		.compatible = "st,lis2de12",
>  		.data = LIS2DE12_ACCEL_DEV_NAME,
>  	},
> +	{
> +		.compatible = "st,lis2ds12",
> +		.data = LIS2DS12_ACCEL_DEV_NAME,
> +	},
>  	{
>  		.compatible = "st,lis2hh12",
>  		.data = LIS2HH12_ACCEL_DEV_NAME,

> diff --git a/drivers/iio/accel/st_accel_spi.c b/drivers/iio/accel/st_accel_spi.c
> index f72a24f45322..825adab37105 100644
> --- a/drivers/iio/accel/st_accel_spi.c
> +++ b/drivers/iio/accel/st_accel_spi.c
> @@ -64,6 +64,10 @@ static const struct of_device_id st_accel_of_match[] = {
>  		.compatible = "st,lis2dh12-accel",
>  		.data = LIS2DH12_ACCEL_DEV_NAME,
>  	},
> +	{
> +		.compatible = "st,lis2ds12",
> +		.data = LIS2DS12_ACCEL_DEV_NAME,
> +	},
>  	{
>  		.compatible = "st,lis3l02dq",
>  		.data = LIS3L02DQ_ACCEL_DEV_NAME,

Any new compatibles need to be documented in st,st-sensors.yaml

Thanks,
Conor.


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2024-06-01 19:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-01 19:26 [PATCH v3] iio: accel: st_accel: add LIS2DS12 Kaustabh Chakraborty
2024-06-01 19:49 ` Conor Dooley [this message]
2024-06-02  8:54   ` Jonathan Cameron
2024-06-04 17:52     ` Conor Dooley
2024-06-06 10:12     ` kauschluss
2024-06-06 20:05       ` Jonathan Cameron
  -- strict thread matches above, loose matches on Subject: below --
2024-06-10 16:02 Kaustabh Chakraborty

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=20240601-spouse-hurler-e7b93ac26f86@spud \
    --to=conor@kernel.org \
    --cc=denis.ciocca@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=kauschluss@disroot.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /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).