aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/Kconfig
diff options
context:
space:
mode:
authorChandrabhanu Mahapatra <cmahapatra@ti.com>2012-09-29 01:55:42 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-10-12 07:15:30 -0400
commit1b3bcb33fb9faeab29e5c734fa000f6c7746ea1c (patch)
tree6fb7167e1184e317bbe656a73cc1dc4b7712f1d8 /drivers/video/omap2/dss/Kconfig
parent7ad6623a4980caa053eb9eb3207e0c3ba7d4ed4d (diff)
OMAPDSS: Create new debug config options
The config option CONFIG_OMAP2_DSS_DEBUG_SUPPORT has been removed and replaced with CONFIG_OMAP2_DSS_DEBUG and CONFIG_OMAP2_DSS_DEBUGFS. CONFIG_OMAP2_DSS_DEBUG enables DEBUG flag and CONFIG_OMAP2_DSS_DEBUGFS enables creation of debugfs for OMAPDSS. Both the config options are disabled by default and can be enabled independently of one another as per convenience. Signed-off-by: Chandrabhanu Mahapatra <cmahapatra@ti.com> Reviewed-by: Sumit Semwal <sumit.semwal@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/Kconfig')
-rw-r--r--drivers/video/omap2/dss/Kconfig22
1 files changed, 16 insertions, 6 deletions
diff --git a/drivers/video/omap2/dss/Kconfig b/drivers/video/omap2/dss/Kconfig
index 80f5390aa136..7052487495cd 100644
--- a/drivers/video/omap2/dss/Kconfig
+++ b/drivers/video/omap2/dss/Kconfig
@@ -18,16 +18,26 @@ config OMAP2_VRAM_SIZE
18 You can also set this with "vram=<bytes>" kernel argument, or 18 You can also set this with "vram=<bytes>" kernel argument, or
19 in the board file. 19 in the board file.
20 20
21config OMAP2_DSS_DEBUG_SUPPORT 21config OMAP2_DSS_DEBUG
22 bool "Debug support" 22 bool "Debug support"
23 default y 23 default n
24 help
25 This enables printing of debug messages. Alternatively, debug messages
26 can also be enabled by setting CONFIG_DYNAMIC_DEBUG and then setting
27 appropriate flags in <debugfs>/dynamic_debug/control.
28
29config OMAP2_DSS_DEBUGFS
30 bool "Debugfs filesystem support"
31 depends on DEBUG_FS
32 default n
24 help 33 help
25 This enables debug messages. You need to enable printing 34 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
26 with 'debug' module parameter. 35 querying about clock configuration and register configuration of dss,
36 dispc, dsi, hdmi and rfbi.
27 37
28config OMAP2_DSS_COLLECT_IRQ_STATS 38config OMAP2_DSS_COLLECT_IRQ_STATS
29 bool "Collect DSS IRQ statistics" 39 bool "Collect DSS IRQ statistics"
30 depends on OMAP2_DSS_DEBUG_SUPPORT 40 depends on OMAP2_DSS_DEBUGFS
31 default n 41 default n
32 help 42 help
33 Collect DSS IRQ statistics, printable via debugfs. 43 Collect DSS IRQ statistics, printable via debugfs.