]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb971f50ca7369d9be99dd465d39bb2999158ca3
treed2d3c08353b5862268aff20f577f7e143119a53d
parentba2b8338759ee6f777ab1f575495424175755061
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