]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: core: add clocks node scan
authorPatrice Chotard <patrice.chotard@st.com>
Mon, 4 Sep 2017 12:55:56 +0000 (14:55 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Sep 2017 03:43:58 +0000 (21:43 -0600)
commite81c98649b7a67d43c5baae407430a242d3b26b9
tree73ab35cdd73c575d1b74d815af14d6508f4de0f5
parente11aa602abd3e8007dfd3ed23ebb829101abcfec
dm: core: add clocks node scan

Currently, all fixed-clock declared in "clocks" node in device tree
can be binded by clk_fixed_rate.c driver only if each of them have
the "simple-bus" compatible string.
This constraint has been invoked here [1].

This patch offers a solution to avoid adding "simple-bus" compatible
string to nodes that are not busses.

[1] https://patchwork.ozlabs.org/patch/558837/

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c
include/dm/root.h