devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Samuel Holland <samuel@sholland.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>,
	Denis Ciocca <denis.ciocca@st.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/3] dt-bindings: iio: st: Add Silan SC7A20 accelerometer
Date: Sun, 30 Jan 2022 14:12:11 +0000	[thread overview]
Message-ID: <20220130141211.19a61569@jic23-huawei> (raw)
In-Reply-To: <20220130034441.15474-3-samuel@sholland.org>

On Sat, 29 Jan 2022 21:44:40 -0600
Samuel Holland <samuel@sholland.org> wrote:

> This chip appears to be a clone of the LIS2DH, as the register bit
> definitions match exactly.
> 
> Signed-off-by: Samuel Holland <samuel@sholland.org>
> ---
> 
>  Documentation/devicetree/bindings/iio/st,st-sensors.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
> index 71de5631ebae..70f755041d8a 100644
> --- a/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
> +++ b/Documentation/devicetree/bindings/iio/st,st-sensors.yaml
> @@ -24,6 +24,7 @@ properties:
>      oneOf:
>        - description: STMicroelectronics Accelerometers

It's not an STMicroelectronics part, so add a new block for silan ones.

Thanks,

Jonathan


>          enum:
> +          - silan,sc7a20
>            - st,h3lis331dl-accel
>            - st,lis2de12
>            - st,lis2dw12


  reply	other threads:[~2022-01-30 14:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-30  3:44 [PATCH 0/3] iio: Silan SC7A20 accelerometer support Samuel Holland
2022-01-30  3:44 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add silan vendor prefix Samuel Holland
2022-01-30  3:44 ` [PATCH 2/3] dt-bindings: iio: st: Add Silan SC7A20 accelerometer Samuel Holland
2022-01-30 14:12   ` Jonathan Cameron [this message]
2022-01-30  3:44 ` [PATCH 3/3] iio: accel: st_accel: Add support for Silan SC7A20 Samuel Holland
2022-01-30 14:10   ` Jonathan Cameron
2022-01-31 11:23     ` Linus Walleij

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=20220130141211.19a61569@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=denis.ciocca@st.com \
    --cc=devicetree@vger.kernel.org \
    --cc=lars@metafoo.de \
    --cc=linus.walleij@linaro.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=samuel@sholland.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).