Files
linux/Documentation
Zhen Lei faaa30dd1f 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 <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20201013160845.1772-4-thunder.leizhen@huawei.com
Signed-off-by: Rob Herring <robh@kernel.org>
2020-10-14 08:40:20 -05:00
..
2020-07-13 11:26:37 -06:00
2020-07-31 11:09:09 -06:00
2020-05-08 00:12:42 +02:00
2020-10-13 13:33:16 -05:00
2020-10-13 13:33:16 -05:00
2020-10-13 13:33:16 -05:00
2020-10-13 13:33:16 -05:00
2020-07-23 14:13:23 -06:00