devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Lubomir Rintel <lkundrak@v3.sk>
Cc: Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: iio: accel: use a generic node name for lis302
Date: Sat, 8 Dec 2018 11:09:17 +0000	[thread overview]
Message-ID: <20181208110917.2dfc438f@archlinux> (raw)
In-Reply-To: <20181203114740.637091-1-lkundrak@v3.sk>

On Mon,  3 Dec 2018 12:47:40 +0100
Lubomir Rintel <lkundrak@v3.sk> wrote:

> The example should follow the practice or using a generic node name
> instead of the precise programming model, as recommended by the DTSpec.
> 
> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Applied to the togreg branch of iio.git and pushed out as testing
to be largely ignored.

Thanks,

Jonathan

> ---
>  Documentation/devicetree/bindings/iio/accel/lis302.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/accel/lis302.txt b/Documentation/devicetree/bindings/iio/accel/lis302.txt
> index dfdce67826ba..764e28ec1a0a 100644
> --- a/Documentation/devicetree/bindings/iio/accel/lis302.txt
> +++ b/Documentation/devicetree/bindings/iio/accel/lis302.txt
> @@ -64,7 +64,7 @@ Optional properties for all bus drivers:
>  
>  Example for a SPI device node:
>  
> -	lis302@0 {
> +	accelerometer@0 {
>  		compatible = "st,lis302dl-spi";
>  		reg = <0>;
>  		spi-max-frequency = <1000000>;
> @@ -89,7 +89,7 @@ Example for a SPI device node:
>  
>  Example for a I2C device node:
>  
> -	lis331dlh: lis331dlh@18 {
> +	lis331dlh: accelerometer@18 {
>  		compatible = "st,lis331dlh", "st,lis3lv02d";
>  		reg = <0x18>;
>  		Vdd-supply = <&lis3_reg>;

      reply	other threads:[~2018-12-08 11:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-03 11:47 [PATCH] dt-bindings: iio: accel: use a generic node name for lis302 Lubomir Rintel
2018-12-08 11:09 ` Jonathan Cameron [this message]

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=20181208110917.2dfc438f@archlinux \
    --to=jic23@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkundrak@v3.sk \
    --cc=mark.rutland@arm.com \
    --cc=pmeerw@pmeerw.net \
    --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).