clk: ti: clkctrl: support multiple clkctrl nodes under a cm node
authorTero Kristo <t-kristo@ti.com>
Fri, 10 Aug 2018 08:29:09 +0000 (11:29 +0300)
committerTero Kristo <t-kristo@ti.com>
Wed, 3 Oct 2018 12:02:26 +0000 (15:02 +0300)
commit47b00dcf141172c4c1c583701ec91923672cec39
treed2d3c08353b5862268aff20f577f7e143119a53d
parent8fa45095791813b0438c2604567e7e213804e66c
clk: ti: clkctrl: support multiple clkctrl nodes under a cm node

Currently, only one clkctrl node can be added under a specific CM node
due to limitation with the implementation. Modify the code to pick-up
clockdomain name from the clkctrl node instead of CM node if provided.
Also, add a new flag to the TI clock driver so that both modes can
be supported simultaneously.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
drivers/clk/ti/clk.c
drivers/clk/ti/clkctrl.c
drivers/clk/ti/clock.h
include/linux/clk/ti.h