mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-06 21:25:05 -05:00
checks: add string list check
Add a check for string list properties with compatible being the first check. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
6c57308196
commit
8fe94fd6f1
3 changed files with 40 additions and 1 deletions
|
|
@ -5,4 +5,9 @@
|
|||
model = <0xdeadbeef>;
|
||||
status = <0xdeadbeef>;
|
||||
label = <0xdeadbeef>;
|
||||
|
||||
|
||||
node {
|
||||
compatible = "good", <0xdeadbeef>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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 label_is_string
|
||||
check_tests bad-string-props.dts device_type_is_string model_is_string status_is_string label_is_string compatible_is_string_list
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue