From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Han Xu <han.xu@nxp.com>, Jonathan Cameron <jic23@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: "Lars-Peter Clausen" <lars@metafoo.de>,
"Sean Nyekjaer" <sean@geanix.com>, "Nuno Sá" <nuno.sa@analog.com>,
"Matti Vaittinen" <mazziesaccount@gmail.com>,
"Haibo Chen" <haibo.chen@nxp.com>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Clark Wang" <xiaoning.wang@nxp.com>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
imx@lists.linux.dev
Subject: Re: [PATCH v3 3/4] dt-bindings: iio: accel: fxls8962af: add new compatible string
Date: Tue, 13 Dec 2022 19:54:21 +0100 [thread overview]
Message-ID: <f47c1135-9c72-d21e-327e-511f7bf71a23@linaro.org> (raw)
In-Reply-To: <20221213171536.1880089-5-han.xu@nxp.com>
On 13/12/2022 18:15, Han Xu wrote:
> Add new compatible string for the NXP FXLS8967AF accelerometer sensor.
>
> Signed-off-by: Han Xu <han.xu@nxp.com>
>
> ---
> changes in v3
> - Start commit message in capital
> - Describe all these chips are compatible
> ---
> .../devicetree/bindings/iio/accel/nxp,fxls8962af.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml b/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml
> index 65ce8ea14b52..8f07ade21abb 100644
> --- a/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml
> @@ -14,12 +14,16 @@ description: |
> SPI and I2C interface.
> https://www.nxp.com/docs/en/data-sheet/FXLS8962AF.pdf
> https://www.nxp.com/docs/en/data-sheet/FXLS8964AF.pdf
> + https://www.nxp.com/docs/en/data-sheet/FXLS8967AF.pdf
>
> properties:
> compatible:
> + description:
> + These chips are compatible with each other, just have different IDs.
That's not what I meant.
Compatibility is expressed (check DT spec) by following specific
compatible with a more generic one (fallback), so in DTS:
compatible = "nxp,fxls8967af", "nxp,fxls8964af";
Your driver changes partially suggested that (and driver changes should
be probably skipped in such case), but now I wonder how it is in reality....
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-12-13 18:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-13 17:15 [PATCH v3 0/4] FXLS8967AF and FXLS8974CF support Han Xu
2022-12-13 17:15 ` [PATCH v3 1/4] iio: accel: add fxls8974cf support Han Xu
2022-12-23 17:27 ` Jonathan Cameron
2022-12-13 17:15 ` [PATCH v3 2/4] iio: accel: add the new entry in driver for fxls8967af Han Xu
2022-12-13 18:53 ` Krzysztof Kozlowski
2022-12-14 9:32 ` Jonathan Cameron
2022-12-14 9:54 ` Krzysztof Kozlowski
2022-12-23 17:31 ` Jonathan Cameron
2022-12-23 17:28 ` Jonathan Cameron
2022-12-13 17:15 ` [PATCH 2/4] iio: accel: add the new entry in driver for FXLS8967AF Han Xu
2022-12-13 18:51 ` Krzysztof Kozlowski
2022-12-13 17:15 ` [PATCH v3 3/4] dt-bindings: iio: accel: fxls8962af: add new compatible string Han Xu
2022-12-13 18:54 ` Krzysztof Kozlowski [this message]
2022-12-14 9:54 ` Krzysztof Kozlowski
2022-12-19 9:39 ` Jonathan Cameron
2022-12-13 17:15 ` [PATCH v3 4/4] dt-bindings: iio: accel: fxls8974cf: " Han Xu
2022-12-14 9:54 ` Krzysztof Kozlowski
2022-12-13 18:50 ` [PATCH v3 0/4] FXLS8967AF and FXLS8974CF support 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=f47c1135-9c72-d21e-327e-511f7bf71a23@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=haibo.chen@nxp.com \
--cc=han.xu@nxp.com \
--cc=imx@lists.linux.dev \
--cc=jic23@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=mazziesaccount@gmail.com \
--cc=miquel.raynal@bootlin.com \
--cc=nuno.sa@analog.com \
--cc=robh+dt@kernel.org \
--cc=sean@geanix.com \
--cc=xiaoning.wang@nxp.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