Skip to content

Commit

Permalink
dt-bindings: example-schema: Standard unit should be microvolt not mi…
Browse files Browse the repository at this point in the history
…crovolts

Even the DT maintainer gets confused. The schema in dt-schema was wrong
too, so this was passing validation until trying to add some common
incorrect patterns to check.

Fixes: 58fbe99 ("dt-bindings: example-schema: Add some additional examples and commentary")
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Rob Herring committed Nov 11, 2019
1 parent 6aec975 commit 2fa0a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/example-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ properties:
- enum: [ foo, bar ]
- enum: [ baz, boo ]

vendor,property-in-standard-units-microvolts:
vendor,property-in-standard-units-microvolt:
description: Vendor specific properties having a standard unit suffix
don't need a type.
enum: [ 100, 200, 300 ]
Expand Down

0 comments on commit 2fa0a53

Please sign in to comment.