From: Jonathan Cameron <jic23@kernel.org>
To: Darius Berghe <darius.berghe@analog.com>
Cc: <robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<corbet@lwn.net>, <lars@metafoo.de>,
<Michael.Hennerich@analog.com>, <linux-iio@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-doc@vger.kernel.org>
Subject: Re: [PATCH v1 2/2] dt-bindings: iio: adxl367: add support for adxl366
Date: Sat, 14 Dec 2024 13:45:06 +0000 [thread overview]
Message-ID: <20241214134506.3c09d9a2@jic23-huawei> (raw)
In-Reply-To: <20241213095201.1218145-3-darius.berghe@analog.com>
On Fri, 13 Dec 2024 11:52:01 +0200
Darius Berghe <darius.berghe@analog.com> wrote:
> Add support for adxl366 Micropower, 3-Axis, +-/2g, +/-4g, +/-8g
> Digital Output MEMS Accelerometer into the existing adxl367 iio
> subsystem driver.
>
> adxl366 supports all the features of adxl367 but has a few
> additional features for which support is added in this patch:
> - built-in step counting (pedometer)
> - non-linearity compensation for Z axis
That description makes it sound like you could use a fallback
compatible. Would it 'work' with those features missing using
the adxl367 compatible?
>
> Signed-off-by: Darius Berghe <darius.berghe@analog.com>
> ---
> Documentation/devicetree/bindings/iio/accel/adi,adxl367.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl367.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl367.yaml
> index f10d98d34cb8..272be616e979 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl367.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl367.yaml
> @@ -27,6 +27,7 @@ description: |
> properties:
> compatible:
> enum:
> + - adi,adxl366
> - adi,adxl367
>
> reg:
next prev parent reply other threads:[~2024-12-14 13:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-13 9:51 [PATCH v1 0/2] iio: accel: adxl367: add support for adxl366 Darius Berghe
2024-12-13 9:52 ` [PATCH v1 1/2] " Darius Berghe
2024-12-14 14:10 ` Jonathan Cameron
2024-12-13 9:52 ` [PATCH v1 2/2] dt-bindings: iio: " Darius Berghe
2024-12-14 13:45 ` Jonathan Cameron [this message]
2024-12-17 7:23 ` Krzysztof Kozlowski
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=20241214134506.3c09d9a2@jic23-huawei \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=darius.berghe@analog.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-doc@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@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