diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2020-07-28 09:13:33 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-08-22 07:58:39 -0600 |
commit | 1f0d5885dbbd669400e5d8cfdb3998c7945e0a7a (patch) | |
tree | 580524762e103486e52d945d518322f404b641a3 /arch | |
parent | cfa3ed4390c158b527bdb2ceceacf7eabae1b01e (diff) |
sandbox: dts: Add compatible string for bind-test node
Usage of lists_bind_fdt() in bind command imposes to add
a compatible string for bind-test node.
Others impacts are:
- bind-test node is binded at sandbox start, so no need to bind it
in test_bind_unbind_with_node() test.
- As explained just above, after sandbox start, now a phy exist.
In test/dm/phy.c, it was verified that a third phy didn't exist,
now we must verified that a fourth phy doesn't exist.
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/dts/test.dts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 692c3775dd..1d8956abbe 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -149,6 +149,7 @@ }; bind-test { + compatible = "simple-bus"; bind-test-child1 { compatible = "sandbox,phy"; #phy-cells = <1>; |