]> git.dujemihanovic.xyz Git - linux.git/commitdiff
Merge patch series "dt-bindings: riscv: cpus: switch to unevaluatedProperties: false"
authorPalmer Dabbelt <palmer@rivosinc.com>
Thu, 22 Jun 2023 21:23:56 +0000 (14:23 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 23 Jun 2023 17:06:23 +0000 (10:06 -0700)
Conor Dooley <conor@kernel.org> says:

From: Conor Dooley <conor.dooley@microchip.com>

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.

* b4-shazam-merge:
  dt-bindings: riscv: cpus: switch to unevaluatedProperties: false
  dt-bindings: riscv: cpus: add a ref the common cpu schema

Link: https://lore.kernel.org/r/20230615-creamer-emu-ade0fa0bdb68@spud
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1  2 
Documentation/devicetree/bindings/riscv/cpus.yaml

index c2ed979c942899e8ed81918549762f3cb1372fa4,144da86718c1f555a9268faf28ea5301b49bf766..67bd239ead0b6b71346c5d859832b9887a50b55c
@@@ -94,10 -97,13 +97,13 @@@ properties
  
        While the isa strings in ISA specification are case
        insensitive, letters in the riscv,isa string must be all
 -      lowercase to simplify parsing.
 -    $ref: "/schemas/types.yaml#/definitions/string"
 +      lowercase.
 +    $ref: /schemas/types.yaml#/definitions/string
      pattern: ^rv(?:64|32)imaf?d?q?c?b?k?j?p?v?h?(?:[hsxz](?:[a-z])+)?(?:_[hsxz](?:[a-z])+)*$
  
+   # RISC-V has multiple properties for cache op block sizes as the sizes
+   # differ between individual CBO extensions
+   cache-op-block-size: false
    # RISC-V requires 'timebase-frequency' in /cpus, so disallow it here
    timebase-frequency: false