Skip to content

Commit 534d813

Browse files
ConchuODAlexandre Ghiti
authored andcommitted
dt-bindings: riscv: d requires f
Per the specifications, the d extension for double-precision floating point operations depends on the f extension for single-precision floating point. Add that requirement to the bindings. This differs from the Linux implementation, where single-precious only is not supported. Reviewed-by: Clément Léger <cleger@rivosinc.com> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20250312-perpetual-daunting-ad489c9a857a@spud Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
1 parent 12e7fbb commit 534d813

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/devicetree/bindings/riscv/extensions.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,12 @@ properties:
639639
https://github.com/T-head-Semi/thead-extension-spec/blob/95358cb2cca9489361c61d335e03d3134b14133f/xtheadvector.adoc.
640640

641641
allOf:
642+
- if:
643+
contains:
644+
const: d
645+
then:
646+
contains:
647+
const: f
642648
# Zcb depends on Zca
643649
- if:
644650
contains:

0 commit comments

Comments
 (0)