[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 10 Oct 2019 23:31:29 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Rob Herring <robh@...nel.org>
Cc: Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Mark Rutland <mark.rutland@....com>,
devicetree@...r.kernel.org, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>
Subject: Re: [PATCH v3 8/8] dt-bindings: Add max12xx SPI ADC series as
trivial devices
Hi Rob,
Rob Herring <robh@...nel.org> wrote on Thu, 10 Oct 2019 15:47:51 -0500:
> On Mon, Oct 07, 2019 at 03:26:57PM +0200, Miquel Raynal wrote:
> > Update the compatible list with three Maxim ADCs compatibles.
> >
> > Signed-off-by: Miquel Raynal <miquel.raynal@...tlin.com>
> > ---
> > .../bindings/iio/adc/max1027-adc.txt | 28 +++++++++++++++++++
> > .../devicetree/bindings/trivial-devices.yaml | 6 ++++
> > 2 files changed, 34 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/iio/adc/max1027-adc.txt
>
> Devices are supposed to be documented in one place or the other. So
> either make max1027-adc.txt a schema or drop it.
>
> I'm fine either way. Obviously, trivial-devices.yaml is trivial to add
> to, but it does leave some ambiguities. Like is an interrupt required,
> optional or non-existent? What about power supplies? Or what are allowed
> values for spi-max-frequency.
Rhaaa... I obviously wanted to drop the *txt file, just forgot to do
it. As the interrupts are optional I found the trivial device
description accurate enough.
Thanks,
Miquèl
Powered by blists - more mailing lists