xref: /linux/drivers/dpll/Kconfig (revision 37a93dd5c49b5fda807fd204edf2547c3493319c)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Generic DPLL drivers configuration
4#
5
6menu "DPLL device support"
7
8config DPLL
9	bool
10
11config DPLL_REFCNT_TRACKER
12	bool "DPLL reference count tracking"
13	depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && DPLL
14	select REF_TRACKER
15	help
16	  Enable reference count tracking for DPLL devices and pins.
17	  This helps debugging reference leaks and use-after-free bugs
18	  by recording stack traces for each get/put operation.
19
20	  The tracking information is exposed via debugfs at:
21	    /sys/kernel/debug/ref_tracker/dpll_device_*
22	    /sys/kernel/debug/ref_tracker/dpll_pin_*
23
24	  If unsure, say N.
25
26source "drivers/dpll/zl3073x/Kconfig"
27
28endmenu
29