On 12/4/2018 10:21 AM, Jeffrey Hugo wrote:
On 12/4/2018 10:11 AM, Marc Gonzalez wrote:
On 04/12/2018 18:05, Jeffrey Hugo wrote:
mount -t debugfs none /sys/kernel/debug
Doh!
# cat /sys/kernel/debug/clk/clk_summary
enable prepare
protect duty
clock count count count
rate accuracy phase cycle
---------------------------------------------------------------------------------------------
gcc_usb_phy_cfg_ahb2phy_clk 0 0 0
0 0 0 50000
gcc_usb3_phy_pipe_clk 0 0 0
0 0 0 50000
gcc_usb30_sleep_clk 0 0 0
0 0 0 50000
gcc_ufs_unipro_core_clk 0 0 0
0 0 0 50000
Yeah, this clock has no parent, and is one of the ones that is a delta
from the downsteam per your logs.
From what I can tell from the documentation, this is sourced from
ufs_unipro_core_clk_src, which is inturn sourced from gpll0_out_main.
I'm guessing gcc-msm8998.c needs to be updated to reflect this. It
would also be good to check this against the downstream kernel.
Let me know if you want me to have a look at any other specific clocks.
--
Jeffrey Hugo
Qualcomm Datacenter Technologies as an affiliate of Qualcomm
Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.