msm: clock-8974: Create voter clocks for clients of the CXO clock

To better track the voters of the CXO clock resource,
create a voter clock for each user of the CXO clock.
This will make it easier to track down drivers that
are blocking XO shutdown.

Before this patch, the suspend-path clock debug output
looks like:

cxo_clk_src:8:8 [19200000]
cxo_clk_src:8:8 [19200000]
cxo_clk_src:8:8 [19200000]
cxo_clk_src:8:8 [19200000]
cxo_clk_src:8:8 [19200000]

After this patch, the suspend-path clock debug output looks
like this:

cxo_otg_clk:1:1 [1000] -> cxo_clk_src:8:8 [19200000]
cxo_pil_lpass_clk:1:1 [1000] -> cxo_clk_src:8:8 [19200000]
cxo_pil_mss_clk:2:2 [1000] -> cxo_clk_src:8:8 [19200000]
cxo_wlan_clk:1:1 [1000] -> cxo_clk_src:8:8 [19200000]
cxo_pil_pronto_clk:1:1 [1000] -> cxo_clk_src:8:8 [19200000]

This lets users know which clock is voting for CXO
without additional debugging effort.

Change-Id: I69efbafcde25255089dfddd305cea23d4e23dd69
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
1 file changed