u-boot/drivers/core
Jean-Jacques Hiblot fd1ba29652 drivers: clk: Fix using assigned-clocks in the node of the clock it sets up
This fixes the case where assigned-clocks is used to define a clock
defaults inside this same clock's node. This is used sometimes to setup a
default parents and/or rate for a clock.

example:
muxed_clock: muxed_clock {
	clocks = <&clk_provider 0>, <&clk_provider 1>;
	#clock-cells = <0>;
	assigned-clocks = <&muxed_clock>;
	assigned-clock-parents = <&clk_provider 1>;
};

It doesn't work in u-boot because the assigned-clocks are setup *before*
the clock is probed. (clk_set_parent() will likely crash or fail if called
before the device probe function)
Making it work by handling "assigned-clocks" in 2 steps: first before the
clk device is probed, and then after the clk device is probed.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
2019-10-22 16:14:05 +02:00
..
device-remove.c dm: core: device: switch off power domain after device removal 2019-10-15 08:40:03 -06:00
device.c drivers: clk: Fix using assigned-clocks in the node of the clock it sets up 2019-10-22 16:14:05 +02:00
devres.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dump.c dm: Tidy up dump output when there are many devices 2019-10-15 08:40:03 -06:00
fdtaddr.c dm: core: Drop fdtdec_get_pci_addr() 2019-10-08 13:57:47 +08:00
Kconfig Kconfig: Varios: Fix more SPL, TPL dependencies 2019-08-26 11:46:29 -04:00
lists.c dm: core: Use U-Boot logging instead of pr_debug() 2019-10-08 13:57:37 +08:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
of_access.c dm: core: Add of_alias_get_highest_id() 2019-02-08 06:24:57 +01:00
of_addr.c dm: core: Introduce xxx_translate_dma_address() 2019-07-22 09:21:28 +02:00
of_extra.c dm: core: Update ofnode to read binman-style flash entry 2018-10-09 04:40:27 -06:00
ofnode.c dm: core: Correct bad cast in ofnode_get_addr_size_index() 2019-10-03 21:10:53 +08:00
read.c dm: pci: Add a function to read a PCI BAR 2019-10-08 13:57:43 +08:00
read_extra.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
regmap.c regmap: Add API regmap_init_mem_index() 2019-07-17 11:12:08 -04:00
root.c dm: core: Decouple DM from DT 2019-09-02 17:38:42 +02:00
simple-bus.c simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver 2019-04-23 20:26:43 -06:00
syscon-uclass.c syscon: update syscon_regmap_lookup_by_phandle 2019-04-11 20:10:05 -06:00
uclass.c dm: device: Request next sequence number 2019-10-15 08:40:02 -06:00
util.c dm: core: Decouple DM from DT 2019-09-02 17:38:42 +02:00