Re: [PATCH v3] dt-bindings: iio: adc: stm32-adc: convert bindings to json-schema
From: Jonathan Cameron
Date: Wed Jan 29 2020 - 14:55:44 EST
On Tue, 21 Jan 2020 17:13:09 -0600
Rob Herring <robh@xxxxxxxxxx> wrote:
> On Wed, 15 Jan 2020 14:45:41 +0100, Fabrice Gasnier wrote:
> > Convert the STM32 ADC binding to DT schema format using json-schema
> >
> > Signed-off-by: Fabrice Gasnier <fabrice.gasnier@xxxxxx>
> > ---
> > Changes in V3:
> > - Fix minimum and maximum syntax for uint32-array properties as pointed
> > out by Rob.
> > - update example to better show this syntax e.g. st,adc-channels = <0 1>;
> >
> > Changes in V2:
> > - Take almost all of Rob suggestions (removed reg generic description,
> > added minItems, maxItems, st,max-clk-rate-hz range, drop some pipes,
> > simplify clock-names, remove unneeded allOfs)
> > - For now, keep all in one file despite there are lots of if/thens in the
> > bindings
> > ---
> > .../devicetree/bindings/iio/adc/st,stm32-adc.txt | 149 -------
> > .../devicetree/bindings/iio/adc/st,stm32-adc.yaml | 458 +++++++++++++++++++++
> > 2 files changed, 458 insertions(+), 149 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt
> > create mode 100644 Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml
> >
>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to play with it.
Thanks,
Jonathan