Re: [PATCH V4 4/5] dt-bindings: iio: adc: Convert ad7124 documentation to YAML

From: Jonathan Cameron
Date: Wed Jun 26 2019 - 15:34:57 EST


On Wed, 26 Jun 2019 08:44:36 -0600
Rob Herring <robh+dt@xxxxxxxxxx> wrote:

> On Tue, Jun 25, 2019 at 2:12 AM Mircea Caprioru
> <mircea.caprioru@xxxxxxxxxx> wrote:
> >
> > Convert AD7124 bindings documentation to YAML format.
> >
> > Signed-off-by: Mircea Caprioru <mircea.caprioru@xxxxxxxxxx>
> > ---
> >
> > Changelog v2:
> > - modified SPDX license to GPL-2.0 OR BSD-2-Clause
> > - added regex for a range from 0 to 15
> > - added minimum and maximum constraints for reg property
> > - set type and range of values for adi,reference-select property
> > - used items for diff-channels property
> > - set bipolar, adi,buffered-positive and negative to type: boolean
> >
> > Changelog v3:
> > - moved adi,buffered-positive and negative properties to own commit
> >
> > Changelog v4:
> > - removed old txt dt-binding
> >
> > .../bindings/iio/adc/adi,ad7124.txt | 75 ---------
> > .../bindings/iio/adc/adi,ad7124.yaml | 144 ++++++++++++++++++
> > 2 files changed, 144 insertions(+), 75 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.txt
> > create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad7124.yaml
>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
Something a bit odd happened when trying to apply this, so I ended up doing
it rather manually.

error: cannot convert from y to UTF-8
fatal: could not parse patch

Anyhow, I think it's fine now, but would welcome any suggestion on what causes
that one? Patch was perfectly happy with it.

Jonathan