diff options
author | Mythri P K <mythripk@ti.com> | 2011-09-22 04:07:45 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-30 09:17:32 -0400 |
commit | 162874d5f5fa8aac7ff406825f152abb22d3c6c2 (patch) | |
tree | efbbfe47e3307eb9a2aeb425e04dcc04e19a18c7 /drivers/video/omap2/dss/ti_hdmi.h | |
parent | 81302a75389d8c5b85cbaafba359c9b132704eb6 (diff) |
OMAPDSS: HDMI: Add support to dump registers through debugfs
Add support to dump the HDMI wrapper, core, PLL and PHY registers
through debugfs.
Signed-off-by: Mythri P K <mythripk@ti.com>
[tomi.valkeinen@ti.com: updated the description]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/ti_hdmi.h')
-rw-r--r-- | drivers/video/omap2/dss/ti_hdmi.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/ti_hdmi.h b/drivers/video/omap2/dss/ti_hdmi.h index d48603c8e23d..2c3443dabb14 100644 --- a/drivers/video/omap2/dss/ti_hdmi.h +++ b/drivers/video/omap2/dss/ti_hdmi.h | |||
@@ -101,6 +101,15 @@ struct ti_hdmi_ip_ops { | |||
101 | void (*pll_disable)(struct hdmi_ip_data *ip_data); | 101 | void (*pll_disable)(struct hdmi_ip_data *ip_data); |
102 | 102 | ||
103 | void (*video_enable)(struct hdmi_ip_data *ip_data, bool start); | 103 | void (*video_enable)(struct hdmi_ip_data *ip_data, bool start); |
104 | |||
105 | void (*dump_wrapper)(struct hdmi_ip_data *ip_data, struct seq_file *s); | ||
106 | |||
107 | void (*dump_core)(struct hdmi_ip_data *ip_data, struct seq_file *s); | ||
108 | |||
109 | void (*dump_pll)(struct hdmi_ip_data *ip_data, struct seq_file *s); | ||
110 | |||
111 | void (*dump_phy)(struct hdmi_ip_data *ip_data, struct seq_file *s); | ||
112 | |||
104 | }; | 113 | }; |
105 | 114 | ||
106 | struct hdmi_ip_data { | 115 | struct hdmi_ip_data { |
@@ -121,4 +130,9 @@ void ti_hdmi_4xxx_wp_video_start(struct hdmi_ip_data *ip_data, bool start); | |||
121 | int ti_hdmi_4xxx_pll_enable(struct hdmi_ip_data *ip_data); | 130 | int ti_hdmi_4xxx_pll_enable(struct hdmi_ip_data *ip_data); |
122 | void ti_hdmi_4xxx_pll_disable(struct hdmi_ip_data *ip_data); | 131 | void ti_hdmi_4xxx_pll_disable(struct hdmi_ip_data *ip_data); |
123 | void ti_hdmi_4xxx_basic_configure(struct hdmi_ip_data *ip_data); | 132 | void ti_hdmi_4xxx_basic_configure(struct hdmi_ip_data *ip_data); |
133 | void ti_hdmi_4xxx_wp_dump(struct hdmi_ip_data *ip_data, struct seq_file *s); | ||
134 | void ti_hdmi_4xxx_pll_dump(struct hdmi_ip_data *ip_data, struct seq_file *s); | ||
135 | void ti_hdmi_4xxx_core_dump(struct hdmi_ip_data *ip_data, struct seq_file *s); | ||
136 | void ti_hdmi_4xxx_phy_dump(struct hdmi_ip_data *ip_data, struct seq_file *s); | ||
137 | |||
124 | #endif | 138 | #endif |