mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
deaa514651
This patch adds debugfs support to OPP layer to export OPPs and their properties for all the devices. This creates a top level directory: /sys/kernel/debug/opp and then device specific directories (based on device names) inside it. For example: 'cpu0', 'cpu1', etc.. If multiple devices share the OPP table, then the real directory is created only for the first device. For all others, links are created to the real directory. Inside the device specific directory, a separate directory is created for each OPP. And within that files per opp property. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
4 lines
104 B
Makefile
4 lines
104 B
Makefile
ccflags-$(CONFIG_DEBUG_DRIVER) := -DDEBUG
|
|
obj-y += core.o cpu.o
|
|
obj-$(CONFIG_DEBUG_FS) += debugfs.o
|