diff -drupN a/drivers/clk/Kconfig b/drivers/clk/Kconfig --- a/drivers/clk/Kconfig 2018-08-06 17:23:04.000000000 +0300 +++ b/drivers/clk/Kconfig 2022-06-12 05:28:14.000000000 +0300 @@ -22,6 +22,17 @@ config COMMON_CLK menu "Common Clock Framework" depends on COMMON_CLK +config COMMON_CLK_DEBUG + bool "DebugFS representation of clock tree" + select DEBUG_FS + default y + ---help--- + 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. + config COMMON_CLK_WM831X tristate "Clock driver for WM831x/2x PMICs" depends on MFD_WM831X