Re: [PATCH v2] dt-bindings: hwlock: Convert stm32 hwspinlock bindings to json-schema

From: Rob Herring
Date: Fri Oct 11 2019 - 14:35:09 EST


On Fri, Oct 11, 2019 at 8:10 AM Benjamin Gaignard
<benjamin.gaignard@xxxxxx> wrote:
>
> Convert the STM32 hwspinlock binding to DT schema format using json-schema
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@xxxxxx>
> ---
> change in v2:
> - use BSD-2-Clause license

I asked for dual license: (GPL-2.0-only OR BSD-2-Clause)

> - use const for #hwlock-cells
> - add additionalProperties: false
>
> .../bindings/hwlock/st,stm32-hwspinlock.txt | 23 ----------
> .../bindings/hwlock/st,stm32-hwspinlock.yaml | 50 ++++++++++++++++++++++
> 2 files changed, 50 insertions(+), 23 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt
> create mode 100644 Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.yaml