]> git.ipfire.org Git - people/ms/u-boot.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)
commitee87a097b0f66158ce2985940a5f28ba15a3552d
treece0d2844b5c88642a08c907dffeda8f8d70b978f
parente81c98649b7a67d43c5baae407430a242d3b26b9
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