[PATCH 1/6] dt-bindings: timers: sp-804: Convert to json-schema

Rob Herring robh+dt at kernel.org
Wed Aug 26 17:36:56 EDT 2020


On Wed, Aug 26, 2020 at 12:38 PM Andre Przywara <andre.przywara at arm.com> wrote:
>
> This converts the DT binding documentation for the ARM SP-804 timer IP
> over to json-schema.
> Most properties are just carried over, the clocks property requirement
> (either one or three clocks) is now formalised and enforced.
> As the former binding didn't specify clock-names, and there is no
> common name used by the existing DTs, I refrained from adding them.
> The requirement for the APB clock is enforced by the primecell binding
> already.

At least add 'clock-names: true' so you can add 'additionalProperties:
false'. Otherwise, looks good to me.

Rob



More information about the linux-arm-kernel mailing list