Skip to content

Commit

Permalink
schemas: property-units: Allow negative values for % units
Browse files Browse the repository at this point in the history
Some hardware has negative percentage adjustments. Allow it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
  • Loading branch information
konradybcio authored and robherring committed Jun 27, 2023
1 parent 90ce246 commit 992aa87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dtschema/schemas/property-units.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ patternProperties:
description: kilobytes per second

"-percent$":
$ref: types.yaml#/definitions/uint32-array
$ref: types.yaml#/definitions/int32-array
description: percentage

"-bp$":
$ref: types.yaml#/definitions/uint32-array
$ref: types.yaml#/definitions/int32-array
description: basis points (1/100 of a percent)

# Time/Frequency
Expand Down

0 comments on commit 992aa87

Please sign in to comment.