summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev
diff options
context:
space:
mode:
authorUjwal Patel <ujwalp@codeaurora.org>2013-03-12 15:06:45 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:15:19 -0700
commit76398b8c901b1a8a5d3fbd72dfb65639093b206c (patch)
tree0ce21e3714917a251aa10282a8d72d5cca173f91 /drivers/video/fbdev
parent125cb004856c1de1b33e832c518e3dd4b7b96d4b (diff)
msm: mdss: hdmi: add hdmi debugfs support
Register HDMI Core's address space with mdss debugfs for run-time debug. Change-Id: I5230a48024eaa732fb2bd526c56e28489bbb87ec Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
-rw-r--r--drivers/video/fbdev/msm/mdss_hdmi_tx.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_hdmi_tx.c b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
index 580e2ce10b72..60f875fee0d6 100644
--- a/drivers/video/fbdev/msm/mdss_hdmi_tx.c
+++ b/drivers/video/fbdev/msm/mdss_hdmi_tx.c
@@ -24,6 +24,7 @@
#define REG_DUMP 0
+#include "mdss_debug.h"
#include "mdss_fb.h"
#include "mdss_hdmi_tx.h"
#include "mdss_hdmi_edid.h"
@@ -3178,6 +3179,11 @@ static int hdmi_tx_probe(struct platform_device *pdev)
DEV_DBG("%s: Add child devices.\n", __func__);
}
+ if (mdss_debug_register_base("hdmi",
+ hdmi_ctrl->pdata.io[HDMI_TX_CORE_IO].base,
+ hdmi_ctrl->pdata.io[HDMI_TX_CORE_IO].len))
+ DEV_WARN("%s: hdmi_tx debugfs register failed\n", __func__);
+
return rc;
failed_init_features: