Each controller node in a phandle-array may set the number of cells in a specifier as any nonnegative integer. Currently, we don't allow this in edtlib in the case where there are multiple controllers in a phandle-array property all of which have 0 cells in the relevant specifier, which is not correct. Fix this, add a regression test, and improve the error message while we are here. Fixes: #28709 Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
8 lines
158 B
YAML
8 lines
158 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
description: Controller with zero data values
|
|
|
|
compatible: "phandle-array-controller-0"
|
|
|
|
phandle-array-foo-cells: []
|