]> git.baikalelectronics.ru Git - uboot.git/commit
dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 4 Sep 2017 12:55:57 +0000 (14:55 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Sep 2017 03:43:58 +0000 (21:43 -0600)
commit21d891ad51e9d3fb7e503ce243ab7c5ac3b90edd
treece0d2844b5c88642a08c907dffeda8f8d70b978f
parente3dc7b2b76c2fa0a3690c32b87cedba496b7f672
dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test

This allows to scan the DT including all "clocks" node's sub-nodes
in which fixed-clock are defined.
All fixed-clock should be defined inside a clocks node which collect all
external oscillators. Until now, all clocks sub-nodes can't be binded except
if the "simple-bus" compatible string is added which is a hack.

Update test.dts by moving clk_fixed node inside clocks.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
test/dm/test-main.c