Re: [PATCH v3] dt-bindings: iio: adc: stm32-adc: convert bindings to json-schema
From: Rob Herring <robh@kernel.org>
Date: 2020-01-21 23:13:13
Also in:
linux-devicetree, linux-iio, lkml
From: Rob Herring <robh@kernel.org>
Date: 2020-01-21 23:13:13
Also in:
linux-devicetree, linux-iio, lkml
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 <redacted> --- 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> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel