Re: [PATCH v1 0/6] dt-bindings: riscv: cpus: switch to unevaluatedProperties: false

From: Rob Herring
Date: Thu Jun 15 2023 - 13:47:44 EST


On Sat, Jun 10, 2023 at 06:24:47PM +0100, Conor Dooley wrote:
> From: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
>
> Do the various bits needed to drop the additionalProperties: true that
> we currently have in riscv/cpu.yaml, to permit actually enforcing what
> people put in cpus nodes.

Arm needs pretty much all the same properties. I started on adding them
to cpu.yaml a while back. Let me finish that up.

>
> CC: Rob Herring <robh+dt@xxxxxxxxxx>
> CC: Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>
> CC: Paul Walmsley <paul.walmsley@xxxxxxxxxx>
> CC: Palmer Dabbelt <palmer@xxxxxxxxxxx>
> CC: linux-riscv@xxxxxxxxxxxxxxxxxxx
> CC: devicetree@xxxxxxxxxxxxxxx
> CC: linux-kernel@xxxxxxxxxxxxxxx
>
> Conor Dooley (6):
> dt-bindings: riscv: cpus: add a ref the common cpu schema
> dt-bindings: riscv: cpus: allow clocks property

I just have 'clocks: true', so if you want to keep this setting it to 1
clock that's fine. But I imagine that it's just a matter of time until
someone wants more clocks.

> dt-bindings: riscv: cpus: add a ref to thermal-cooling-cells
> dt-bindings: riscv: cpus: permit operating-points-v2
> dt-bindings: riscv: cpus: document cpu-supply
> dt-bindings: riscv: cpus: switch to unevaluatedProperties: false
>
> .../devicetree/bindings/riscv/cpus.yaml | 17 ++++++++++++++++-
> 1 file changed, 16 insertions(+), 1 deletion(-)
>
> --
> 2.39.2
>