디바이스 드라이버
LINUX clock tree 확인 방법
세월의돌
2013. 2. 25. 16:55
CONFIG_COMMON_CLK_DEBUG 옵션을 켜 주면,
즉 CONFIG_COMMON_CLK_DEBUG=y 를 kernel config에 추가 해 주면,
clock tree를 확인할 수 있다.
Menu: System Type/Common Clock Framework
"DebugFS representation of clock tree"
Selects: DEBUG_FS,
Help Text
Creates a directory hierchy in debugfs for visualizing the clk tree structure. Each directory contains read-only members that export information specific to that clk node: clk_rate, clk_flags, clk_prepare_count, clk_enable_count & clk_notifier_count.
File: drivers/clk/Kconfig line 26
Linux Versions: 3.6.11, 3.7