[U-Boot] [PATCH v3 1/2] dm: core: add clocks node scan

Simon Glass sjg at chromium.org
Sat Sep 9 04:55:06 UTC 2017


On 4 September 2017 at 06:55,  <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> 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 at st.com>
> ---
>
> v3:     _ rename dm_extended_scan_dt() to dm_extended_scan_fdt() to insure
>           function naming consistency
>         _ update dm_extended_scan_fdt() description
>
>  drivers/core/root.c | 34 ++++++++++++++++++++++++++++++++--
>  include/dm/root.h   | 14 ++++++++++++++
>  2 files changed, 46 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list