How to confirm "clock provider" and "clock id"?

in the following article:
[Clocks — Jetson Linux<br/>Developer Guide 34.1 documentation]

To change the mttcan node to select PLLAON as parent, add "pllaon" to the list in clock-names , and add an entry for 0x4 0x5e to the list in clocks :

The entry implies “0x4 0x5e”, but the actual value is “0x14f 0x5e” which is used in “clocks-init” and looks like for “pllaon”.

Which one should I add the entry to “mttcan@c310000” section, “0x4 0x5e” or “0x14f 0x5e”?
What does the difference mean? How to research for that? I can not find it out. Should I download the kernel source code ?

clocks-init {
compatible = “nvidia,clocks-config”;
status = “okay”;

  disable {
  	clocks = <0x14f 0x5e 0x4 0x9 0x4 0xb>;
  };

};

hello ShimaT,

the quickest way is checking… # cat /sys/kernel/debug/clk/clk_summary

Thank you for the reply!

I checked your suggestion, but it includes… clock(name), enable_cnt, prepare_cnt, rate, req_rate, accuracy, and phase.
Which column is the value equaled to “0x14f 0x5e”? No value matches it in Hex.

I wanted to know the ground of which is correct for PLLAON’s value “0x4 0x5e”, “0x14f 0x5e”, or others.

hello ShimaT,

don’t it show the parent of the clock, which is the naming of the specific clock.
please also attach your results for reference, thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.