public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Stefan Popa <stefan.popa@analog.com>,
	Michael Hennerich <Michael.Hennerich@analog.com>,
	linux-iio@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Alexandru Ardelean <alexandru.Ardelean@analog.com>,
	kernel@pengutronix.de
Subject: Re: [PATCH v4 1/3] iio: adc: ltc2496: provide device tree binding document
Date: Mon, 23 Dec 2019 17:58:54 +0000	[thread overview]
Message-ID: <20191223175854.600c7254@archlinux> (raw)
In-Reply-To: <20191216083736.lzmborv33w6odlaj@pengutronix.de>

On Mon, 16 Dec 2019 09:37:36 +0100
Uwe Kleine-König         <u.kleine-koenig@pengutronix.de> wrote:

> Hello Jonathan,
> 
> On Sun, Dec 15, 2019 at 11:49:58AM +0000, Jonathan Cameron wrote:
> > On Mon,  9 Dec 2019 21:32:46 +0100
> > Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> >   
> > > The ADC only requires the standard stuff for spi devices and a reference
> > > voltage.
> > > 
> > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>  
> > Thanks for figuring out what was wrong and fixing it up.  
> 
> It wasn't done primarily to do you a favour :-)
> 
> > > +  spi-max-frequency:
> > > +    description: maximal spi bus frequency supported by the chip  
> > 
> > dropped the "by the chip" as this is also about the wiring on the board.  If it
> > were just the chip, it could be put in the driver.  The unknown bit is
> > if there is some other reason why it might need to be set lower than the maximum.  
> 
> fine for me.
> 
> > > +required:
> > > +  - compatible
> > > +  - vref-supply
> > > +  - reg
> > > +
> > > +examples:
> > > +  - |
> > > +    spi {
> > > +        #address-cells = <1>;
> > > +        #size-cells = <0>;
> > > +
> > > +        adc@0 {
> > > +        	compatible = "lltc,ltc2496";  
> > You can't easily see it here, but this is a mixture of spaces
> > and tabs.  Should be all spaces.  I've tidied that up.  
> 
> I did that on purpose, spaces to have the needed indention for the yaml
> syntax and then tabs for dts indention (as done in the dts itself, too).
> I thought this to be the right mix, but this was my first yaml binding,
> so you're probably right.

I'll be honest, I'm far from sure on this.

I usually rely on Rob moaning about it if it's wrong :)

Oh well. What's there builds. If we get a 'fix' later then so be it.

Thanks,

Jonathan

> 
> Best regards and thanks
> Uwe
> 


  reply	other threads:[~2019-12-23 17:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-09 20:32 [PATCH v4 0/3] iio: adc: add support for ltc2496 Uwe Kleine-König
2019-12-09 20:32 ` [PATCH v4 1/3] iio: adc: ltc2496: provide device tree binding document Uwe Kleine-König
2019-12-15 11:49   ` Jonathan Cameron
2019-12-16  8:37     ` Uwe Kleine-König
2019-12-23 17:58       ` Jonathan Cameron [this message]
2020-01-09 20:59         ` Uwe Kleine-König
2020-01-10 10:01           ` Jonathan Cameron
2020-01-10 10:24             ` Uwe Kleine-König
2019-12-09 20:32 ` [PATCH v4 2/3] iio: adc: ltc2497: split protocol independent part in a separate module Uwe Kleine-König
2019-12-15 11:55   ` Jonathan Cameron
2019-12-09 20:32 ` [PATCH v4 3/3] iio: adc: new driver to support Linear technology's ltc2496 Uwe Kleine-König
2019-12-15 12:16   ` Jonathan Cameron
2019-12-16  8:40     ` Uwe Kleine-König

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=20191223175854.600c7254@archlinux \
    --to=jic23@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=alexandru.Ardelean@analog.com \
    --cc=kernel@pengutronix.de \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pmeerw@pmeerw.net \
    --cc=robh+dt@kernel.org \
    --cc=stefan.popa@analog.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /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