diff options
author | Rob Herring <robh@kernel.org> | 2017-12-12 16:46:24 -0600 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-12-13 20:18:30 +1100 |
commit | 6c573081960442dbec11a9ae96daedc75a9d84a7 (patch) | |
tree | d7ec6f5d98319d6146040a764cebeaa61d7a1340 /tests | |
parent | a384191eba095164e986215a71a44023610dc0c9 (diff) | |
download | dtc-6c573081960442dbec11a9ae96daedc75a9d84a7.zip dtc-6c573081960442dbec11a9ae96daedc75a9d84a7.tar.gz dtc-6c573081960442dbec11a9ae96daedc75a9d84a7.tar.bz2 |
checks: add a string check for 'label' property
Add a string property check for 'label' property. 'label' is a human
readable string typically used to identify connectors or ports on devices.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bad-string-props.dts | 1 | ||||
-rwxr-xr-x | tests/run_tests.sh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/bad-string-props.dts b/tests/bad-string-props.dts index 396f820..04194da 100644 --- a/tests/bad-string-props.dts +++ b/tests/bad-string-props.dts @@ -4,4 +4,5 @@ device_type = <0xdeadbeef>; model = <0xdeadbeef>; status = <0xdeadbeef>; + label = <0xdeadbeef>; }; diff --git a/tests/run_tests.sh b/tests/run_tests.sh index 850bc16..e750525 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -546,7 +546,7 @@ dtc_tests () { check_tests bad-name-property.dts name_properties check_tests bad-ncells.dts address_cells_is_cell size_cells_is_cell interrupt_cells_is_cell - check_tests bad-string-props.dts device_type_is_string model_is_string status_is_string + check_tests bad-string-props.dts device_type_is_string model_is_string status_is_string label_is_string check_tests bad-reg-ranges.dts reg_format ranges_format check_tests bad-empty-ranges.dts ranges_format check_tests reg-ranges-root.dts reg_format ranges_format |