Re: [PATCH v2] dt-bindings: timer: renesas: tmu: Convert to json-schema

From: Geert Uytterhoeven
Date: Wed May 13 2020 - 09:37:25 EST


On Tue, May 5, 2020 at 5:50 PM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:
> Convert the Renesas R-Mobile/R-Car Timer Unit (TMU) Device Tree binding
> documentation to json-schema.
>
> Document missing properties.
> Update the example to match reality.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>

> --- /dev/null
> +++ b/Documentation/devicetree/bindings/timer/renesas,tmu.yaml

> + '#renesas,channels':
> + allOf:
> + - $ref: /schemas/types.yaml#/definitions/uint32
> + - enum: [ 2, 3 ]
> + - default: 3

The "allOf" is no longer needed. Will remove for v3.

> + description:
> + Number of channels implemented by the timer.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds