Messages in this thread | | | Date | Wed, 29 Jan 2020 19:55:34 +0000 | From | Jonathan Cameron <> | Subject | Re: [PATCH v3] dt-bindings: iio: adc: stm32-adc: convert bindings to json-schema |
| |
On Tue, 21 Jan 2020 17:13:09 -0600 Rob Herring <robh@kernel.org> 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@st.com> > > --- > > 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@kernel.org>
Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
Thanks,
Jonathan
| |