clk: keystone: sci-clk: add support for dynamically probing clocks
authorTero Kristo <t-kristo@ti.com>
Tue, 12 Dec 2017 08:31:15 +0000 (10:31 +0200)
committerTero Kristo <t-kristo@ti.com>
Thu, 8 Mar 2018 09:43:15 +0000 (11:43 +0200)
commit3c13933c60338ce6fb2369bd0e93f91e52ddc17d
tree55b95d08e4b51641297f5eb89e19a835df6dbd1b
parentee2fc3c5ca8dad3906dd1d578e72d5272083220c
clk: keystone: sci-clk: add support for dynamically probing clocks

Currently, the driver contains a large hints table for clocks that exist
on a device, however, it is possible to probe the clocks from the firmware
also. Add support for this, and drop the clock hints table support from
the driver completely. This causes the driver to send a few extra sci-clk
messages during boot, basically one extra for each device that exists on
the SoC; on K2G this is approx 80.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
drivers/clk/keystone/sci-clk.c