Skip to content

Commit

Permalink
Add '-kBps' property unit suffix
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
robherring committed Feb 11, 2021
1 parent a630df5 commit 9be4deb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion meta-schemas/vendor-props.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ patternProperties:
'^linux,.*$': true
'-(gpio|gpios)$': true
'-supply$': true
'-(bits|percent|mhz|hz|sec|ms|us|ns|ps|mm)$': true
'-(bits|-kBps|percent|mhz|hz|sec|ms|us|ns|ps|mm)$': true
'-(microamp|microamp-hours|ohms|micro-ohms|microwatt-hours)$': true
'-(microvolt|(femto|pico)farads|celsius|millicelsius|kpascal)$': true

Expand Down
4 changes: 4 additions & 0 deletions schemas/property-units.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ patternProperties:
$ref: "types.yaml#/definitions/uint32-array"
description: Number of bits

"-kBps$":
$ref: "types.yaml#/definitions/uint32-array"
description: Kilobytes per second

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

0 comments on commit 9be4deb

Please sign in to comment.