aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_compile_commands.py
diff options
context:
space:
mode:
authorZhen Lei <[email protected]>2020-10-14 00:08:42 +0800
committerRob Herring <[email protected]>2020-10-14 08:40:20 -0500
commitfaaa30dd1f4bb6ec5eeea751ebde8076375b916c (patch)
treecd1ff3695e16fd49f840daba99cadd6ef02e4ace /scripts/gen_compile_commands.py
parent441848282c59038b6e9a57b233ac6a9449430648 (diff)
spi: dt-bindings: spi-controller: explicitly require #address-cells=<0> for slave mode
scripts/dtc/checks.c: if (get_property(node, "spi-slave")) spi_addr_cells = 0; if (node_addr_cells(node) != spi_addr_cells) FAIL(c, dti, node, "incorrect #address-cells for SPI bus"); if (node_size_cells(node) != 0) FAIL(c, dti, node, "incorrect #size-cells for SPI bus"); The above code in check_spi_bus_bridge() require that the number of address cells must be 0. So we should explicitly declare "#address-cells = <0>". Signed-off-by: Zhen Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions